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

Commit aaff193a authored by Alex Johnston's avatar Alex Johnston Committed by Android (Google) Code Review
Browse files

Merge "Clarify EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS documentation" into main

parents d8977076 33b8572a
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
     */