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

Commit 33b8572a authored by Alex Johnston's avatar Alex Johnston
Browse files

Clarify EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS documentation

Bug: 326435084
Test: NA
Flag: EXEMPT documentation update
Change-Id: I856b246977833a068b3eade519e07025b3674bf1
parent 0d34d228
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -4025,9 +4025,13 @@ public class DevicePolicyManager {
    public static final int EXEMPT_FROM_SUSPENSION =  0;
    /**
     * Prevent an app from dismissible notifications. Starting from Android U, notifications with
     * the ongoing parameter can be dismissed by a user on an unlocked device. An app with
     * this exemption can create non-dismissible notifications.
     * Allows an app to create non-dismissible notifications. Starting from Android U, notifications
     * with the {@link android.app.Notification.Builder#setOngoing(boolean)} parameter can be
     * dismissed by a user on an unlocked device. An app with this exemption can create
     * non-dismissible notifications.
     *
     * <p>In spite of the name, this exemption only affects non-dismissible notifications,
     * and has no impact on dismissible notifications.
     *
     * @hide
     */