car/src/main/java/androidx/car/app/CarAlertDialog.java
private void onNegativeButtonClick() {
        if (mNegativeButtonListener != null) {
            mNegativeButtonListener.onClick(/* dialog= */ this, BUTTON_NEGATIVE);
        } else {
            dismiss();
        }
    }
/** Delegates to a listener on the negative button if it exists or dismisses the dialog. */
Delegates to a listener on the negative button if it exists or dismisses the dialog.
Delegates to a listener on the negative button if it exists or dismisses the dialog .
private void onNegativeButtonClick() {
        if (mNegativeButtonListener != null) {
            mNegativeButtonListener.onClick(/* dialog= */ this, BUTTON_NEGATIVE);
        } else {
            dismiss();
        }
    }
private void onNegativeButtonClick ( ) { if ( mNegativeButtonListener != null ) { mNegativeButtonListener . onClick ( /* dialog= */ this , BUTTON_NEGATIVE ) ; } else { dismiss ( ) ; } }
Delegates to a listener on the negative button if it exists or dismisses the dialog.
Delegates to a listener on the negative button if it exists or dismisses the dialog .