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

Commit 33edb43f authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Remove preinstalled from SYSTEM_ALERT_WINDOW

Preinstalled apps have to use the appOp.

Bug: 159616727
Bug: 176476754
Test: atest PermissionPolicyTest
Change-Id: I2451d51f4ab42a852992505c5e1919a3c01525d0
parent f949e8ae
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2676,11 +2676,11 @@
         The app can check whether it has this authorization by calling
         {@link android.provider.Settings#canDrawOverlays
         Settings.canDrawOverlays()}.
         <p>Protection level: signature|preinstalled|appop|pre23|development -->
         <p>Protection level: signature|appop|installer|pre23|development -->
    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
        android:label="@string/permlab_systemAlertWindow"
        android:description="@string/permdesc_systemAlertWindow"
        android:protectionLevel="signature|preinstalled|appop|pre23|development" />
        android:protectionLevel="signature|appop|installer|pre23|development" />

    <!-- @deprecated Use {@link android.Manifest.permission#REQUEST_COMPANION_RUN_IN_BACKGROUND}
         @hide