diff options
Diffstat (limited to 'core/java/android')
| -rw-r--r-- | core/java/android/service/notification/NotificationListenerService.java | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/java/android/service/notification/NotificationListenerService.java b/core/java/android/service/notification/NotificationListenerService.java index 5d34c476a4a6..a1e4c39b70c1 100644 --- a/core/java/android/service/notification/NotificationListenerService.java +++ b/core/java/android/service/notification/NotificationListenerService.java @@ -1864,8 +1864,9 @@ public abstract class NotificationListenerService extends Service { } /** - * Returns whether this notification is a conversation notification. - * @hide + * Returns whether this notification is a conversation notification, and would appear + * in the conversation section of the notification shade, on devices that separate that + * type of notification. */ public boolean isConversation() { return mIsConversation; @@ -1880,7 +1881,10 @@ public abstract class NotificationListenerService extends Service { } /** - * @hide + * Returns the shortcut information associated with this notification, if it is a + * {@link #isConversation() conversation notification}. + * <p>This might be null even if the notification is a conversation notification, if + * the posting app hasn't opted into the full conversation feature set yet.</p> */ public @Nullable ShortcutInfo getShortcutInfo() { return mShortcutInfo; |
