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

Commit 875c30c5 authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Remove preinstalled from SYSTEM_ALERT_WINDOW

Adding installer, recents and appPredictor as they each currently have
critical dependencies on SAW.

Bug: 159616727
Bug: 173782393
Test: Manully verified that the permission is granted to the apps listed
above

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

    <!-- @SystemApi @hide Allows an application to create windows using the type
         {@link android.view.WindowManager.LayoutParams#TYPE_APPLICATION_OVERLAY},