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

Commit d070c75f authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Fix issue with non-dismissibility" into main

parents 4b9f3fab 56534fb8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -7745,6 +7745,9 @@ public class NotificationManagerService extends SystemService {
            return true;
        }
        // Check if an app has been given system exemption
        if (ai.uid == Process.SYSTEM_UID) {
            return false;
        }
        return mAppOps.checkOpNoThrow(
                AppOpsManager.OP_SYSTEM_EXEMPT_FROM_DISMISSIBLE_NOTIFICATIONS, ai.uid,
                ai.packageName) == MODE_ALLOWED;