summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Linus Tufvesson <lus@google.com> 2021-02-01 17:35:53 +0000
committer Linus Tufvesson <lus@google.com> 2021-02-01 17:35:53 +0000
commit8b4b8b5f05a444b348e89fbf80309923c51e5abe (patch)
tree30b62e27a780748fc84c24d9b083a3fab30fc651
parentb9c60d9ac1d24ee5d332210b8e28788ce44c36c5 (diff)
Grant 'recents' SYSTEM_APPLICATION_OVERLAY
.. and update the documentation to point to the correct api. It is now a method rather than a flag. Test: atest PermissionPolicyTest Bug: 169054709 Change-Id: I0700f51d76abdd9f2227b043319400fbd0d44df5
-rw-r--r--core/res/AndroidManifest.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 4acdb1663403..fb1745d459b0 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -2708,13 +2708,13 @@
shown on top of all other apps.
Allows an application to use
- {@link android.view.WindowManager.LayoutsParams#SYSTEM_FLAG_SYSTEM_APPLICATION_OVERLAY}
+ {@link android.view.WindowManager.LayoutsParams#setSystemApplicationOverlay(boolean)}
to create overlays that will stay visible, even if another window is requesting overlays to
be hidden through {@link android.view.Window#setHideOverlayWindows(boolean)}.
<p>Not for use by third-party applications. -->
<permission android:name="android.permission.SYSTEM_APPLICATION_OVERLAY"
- android:protectionLevel="signature|wellbeing"/>
+ android:protectionLevel="signature|recents|wellbeing"/>
<!-- @deprecated Use {@link android.Manifest.permission#REQUEST_COMPANION_RUN_IN_BACKGROUND}
@hide