code: private void adaptPositiveButton() {
          if (positiveButton != null) {
              positiveButton.setText(positiveButtonText != null ?
                      positiveButtonText.toString().toUpperCase(Locale.getDefault()) : null);
              OnClickListenerWrapper onClickListener =
                      new OnClickListenerWrapper(positiveButtonListener, true, getDialog(),
                              DialogInterface.BUTTON_POSITIVE);
              positiveButton.setOnClickListener(onClickListener);
              positiveButton.setVisibility(
                      !TextUtils.isEmpty(positiveButtonText) ? View.VISIBLE : View.GONE);
              adaptButtonBarContainerVisibility();
          }
      }
docs: Adapts the dialog's positive button.