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

Commit 62406157 authored by Wenhao Wang's avatar Wenhao Wang
Browse files

Correct the REASON_LOCKDOWN value

make it as 23.

Bug: 173721373
Test: atest NotificationManagerServiceTest
Test: atest NotificationListenersTest
Ignore-AOSP-First: pending fix for a security issue.
Change-Id: I5947e4a3fea888693405923f439a70035c3bb970
parent 2c936946
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -39069,7 +39069,7 @@ package android.service.notification {
    field public static final int REASON_GROUP_SUMMARY_CANCELED = 12; // 0xc
    field public static final int REASON_LISTENER_CANCEL = 10; // 0xa
    field public static final int REASON_LISTENER_CANCEL_ALL = 11; // 0xb
    field public static final int REASON_LOCKDOWN = 22; // 0x16
    field public static final int REASON_LOCKDOWN = 23; // 0x17
    field public static final int REASON_PACKAGE_BANNED = 7; // 0x7
    field public static final int REASON_PACKAGE_CHANGED = 5; // 0x5
    field public static final int REASON_PACKAGE_SUSPENDED = 14; // 0xe
+1 −1
Original line number Diff line number Diff line
@@ -259,7 +259,7 @@ public abstract class NotificationListenerService extends Service {
    /** Notification was canceled due to an assistant adjustment update. */
    public static final int REASON_ASSISTANT_CANCEL = 22;
    /** Notification was canceled when lockdown mode is enabled. */
    public static final int REASON_LOCKDOWN = 22;
    public static final int REASON_LOCKDOWN = 23;

    /**
     * @hide