diff options
author | Griff Hazen <griff@google.com> | 2014-05-29 15:17:26 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2014-05-29 15:17:26 +0000 |
commit | 6326ef4dd5fd6e03b13bf0d0f3b49aeca7580f14 (patch) | |
tree | 9a51792bdccd71d75e7fe7ad09f7fc88dccdeb26 | |
parent | 33051471cf98e74d1b986d0d7c48806be29cc400 (diff) | |
parent | ca48d35423bbcf9da93a9157347f1de09cd2513f (diff) | |
download | frameworks_base-6326ef4dd5fd6e03b13bf0d0f3b49aeca7580f14.zip frameworks_base-6326ef4dd5fd6e03b13bf0d0f3b49aeca7580f14.tar.gz frameworks_base-6326ef4dd5fd6e03b13bf0d0f3b49aeca7580f14.tar.bz2 |
Merge "DO NOT MERGE Cherry-pick: Additional doc fixes for WearableExtender" into lmp-preview-dev
-rw-r--r-- | core/java/android/app/Notification.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index 25f24b1..90aeaae 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -3716,7 +3716,7 @@ public class Notification implements Parcelable * this notification. This action will no longer display separately from the * notification's content. * - * <p>For notifications with multiple pages, child pages can also have content action's + * <p>For notifications with multiple pages, child pages can also have content actions * set, although the list of available actions comes from the main notification and not * from the child page's notification. * @@ -3731,16 +3731,18 @@ public class Notification implements Parcelable } /** - * Get the action index from this notification's actions to be clickable with the - * content of this notification. This action will no longer display separately + * Get the index of the notification action, if any, that was specified as being clickable + * with the content of this notification. This action will no longer display separately * from the notification's content. * - * <p>For notifications with multiple pages, child pages can also have content action's + * <p>For notifications with multiple pages, child pages can also have content actions * set, although the list of available actions comes from the main notification and not * from the child page's notification. * * <p>If wearable specific actions were added to the main notification, this index will * apply to that list, otherwise it will apply to the regular actions list. + * + * @return the action index or {@link #UNSET_ACTION_INDEX} if no action was selected. */ public int getContentAction() { return mContentActionIndex; |