Docs: Changed
// Send the negative button event back to the host activity mListener.onDialogPositiveClick(NoticeDialogFragment.this); to // Send the negative button event back to the host activity mListener.onDialogNegativeClick(NoticeDialogFragment.this); Bug: 10641712 Change-Id: Ib6af3318928c56cf9d12adbffbd7edff23f116db
This commit is contained in:
@@ -593,7 +593,7 @@ public class NoticeDialogFragment extends DialogFragment {
|
||||
.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
// Send the negative button event back to the host activity
|
||||
mListener.onDialogPositiveClick(NoticeDialogFragment.this);
|
||||
mListener.onDialogNegativeClick(NoticeDialogFragment.this);
|
||||
}
|
||||
});
|
||||
return builder.create();
|
||||
|
||||
Reference in New Issue
Block a user