From fc3922d49b20f52a12c7557b8c37bb022030e6f2 Mon Sep 17 00:00:00 2001 From: Griff Hazen Date: Wed, 20 Aug 2014 11:56:44 -0700 Subject: [PATCH] Copy visibility docs from support version to base Notification. (Noticed the difference in a javadoc diff between Notification and NotificationCompat) Bug: 17424399 Change-Id: I639a46c429ffebf8ca47118b2ea80f40ccdc1286 --- core/java/android/app/Notification.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index c831c25ae4a8a..2476c4b6841fa 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -545,8 +545,26 @@ public class Notification implements Parcelable */ public int visibility; + /** + * Notification visibility: Show this notification in its entirety on all lockscreens. + * + * {@see #visibility} + */ public static final int VISIBILITY_PUBLIC = 1; + + /** + * Notification visibility: Show this notification on all lockscreens, but conceal sensitive or + * private information on secure lockscreens. + * + * {@see #visibility} + */ public static final int VISIBILITY_PRIVATE = 0; + + /** + * Notification visibility: Do not reveal any part of this notification on a secure lockscreen. + * + * {@see #visibility} + */ public static final int VISIBILITY_SECRET = -1; /**