Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fc3922d4 authored by Griff Hazen's avatar Griff Hazen Committed by Dan Sandler
Browse files

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
parent 9580f6c6
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -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;

    /**