diff options
| author | Adam Powell <adamp@google.com> | 2012-08-27 14:04:29 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2012-08-27 14:04:29 -0700 |
| commit | ac137b3211818f9e72f9ffbaf541ad8a1ef27eb1 (patch) | |
| tree | 95bc7a0b0c61b5edff032a43d5531cbd00b62099 /core/java/android/app/Dialog.java | |
| parent | 116ee10b95ffff658618be42544ce80971ce28e8 (diff) | |
| parent | 7f02dc5c9c48a01bec459b71ac73a6ad37b9e12c (diff) | |
| download | frameworks_base-ac137b3211818f9e72f9ffbaf541ad8a1ef27eb1.zip frameworks_base-ac137b3211818f9e72f9ffbaf541ad8a1ef27eb1.tar.gz frameworks_base-ac137b3211818f9e72f9ffbaf541ad8a1ef27eb1.tar.bz2 | |
Merge "Add setOnDismissListener to AlertDialog.Builder" into jb-mr1-dev
Diffstat (limited to 'core/java/android/app/Dialog.java')
| -rw-r--r-- | core/java/android/app/Dialog.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/java/android/app/Dialog.java b/core/java/android/app/Dialog.java index 2cc3b02..16112cb 100644 --- a/core/java/android/app/Dialog.java +++ b/core/java/android/app/Dialog.java @@ -1106,10 +1106,12 @@ public class Dialog implements DialogInterface, Window.Callback, /** * Set a listener to be invoked when the dialog is canceled. - * <p> - * This will only be invoked when the dialog is canceled, if the creator - * needs to know when it is dismissed in general, use - * {@link #setOnDismissListener}. + * + * <p>This will only be invoked when the dialog is canceled. + * Cancel events alone will not capture all ways that + * the dialog might be dismissed. If the creator needs + * to know when a dialog is dismissed in general, use + * {@link #setOnDismissListener}.</p> * * @param listener The {@link DialogInterface.OnCancelListener} to use. */ |
