summaryrefslogtreecommitdiffstats
path: root/docs/html/guide
diff options
context:
space:
mode:
authorDavid Friedman <dmail@google.com>2013-09-26 14:28:51 -0700
committerDavid Friedman <dmail@google.com>2013-09-26 14:28:51 -0700
commit2e7c8e952cbc30fbef083c154662e7c3b6fa253a (patch)
tree2554344b4b2fce53c1188d8a699945b08d2d508c /docs/html/guide
parent4c9ed63cc66c5558e3b0330b17df92e99290eaf7 (diff)
downloadframeworks_base-2e7c8e952cbc30fbef083c154662e7c3b6fa253a.zip
frameworks_base-2e7c8e952cbc30fbef083c154662e7c3b6fa253a.tar.gz
frameworks_base-2e7c8e952cbc30fbef083c154662e7c3b6fa253a.tar.bz2
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
Diffstat (limited to 'docs/html/guide')
-rw-r--r--docs/html/guide/topics/ui/dialogs.jd2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/html/guide/topics/ui/dialogs.jd b/docs/html/guide/topics/ui/dialogs.jd
index 09767bf..d934c4b 100644
--- a/docs/html/guide/topics/ui/dialogs.jd
+++ b/docs/html/guide/topics/ui/dialogs.jd
@@ -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();