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:
David Friedman
2013-09-26 14:28:51 -07:00
parent 4c9ed63cc6
commit 2e7c8e952c

View File

@@ -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();