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

Commit 6f339ff7 authored by Linus Tufvesson's avatar Linus Tufvesson
Browse files

Grant SYSTEM_ALERT_WINDOW to recents

Test: atest PermissionPolicyTest
Bug: 169054709
Bug: 159616727
Change-Id: If7f0f041f96c9702181f3133383c3b7959851cbb
parent 8af09844
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|appop|installer|pre23|development -->
         <p>Protection level: signature|appop|installer|pre23|development|recents -->
    <permission android:name="android.permission.SYSTEM_ALERT_WINDOW"
        android:label="@string/permlab_systemAlertWindow"
        android:description="@string/permdesc_systemAlertWindow"
        android:protectionLevel="signature|appop|installer|pre23|development" />
        android:protectionLevel="signature|appop|installer|pre23|development|recents" />

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