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

Commit c49bdb48 authored by Thiébaud Weksteen's avatar Thiébaud Weksteen Committed by Android (Google) Code Review
Browse files

Merge "Change default mode for ACCESS_NOTIFICATIONS" into main

parents 7e386d9b 842df25e
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -2685,8 +2685,7 @@ public class AppOpsManager {
            .setDefaultMode(getSystemAlertWindowDefault()).build(),
        new AppOpInfo.Builder(OP_ACCESS_NOTIFICATIONS, OPSTR_ACCESS_NOTIFICATIONS,
                "ACCESS_NOTIFICATIONS")
            .setPermission(android.Manifest.permission.ACCESS_NOTIFICATIONS)
            .setDefaultMode(AppOpsManager.MODE_ALLOWED).build(),
            .setPermission(android.Manifest.permission.ACCESS_NOTIFICATIONS).build(),
        new AppOpInfo.Builder(OP_CAMERA, OPSTR_CAMERA, "CAMERA")
            .setPermission(android.Manifest.permission.CAMERA)
            .setRestriction(UserManager.DISALLOW_CAMERA)