diff options
| author | 2021-01-13 17:05:15 +0000 | |
|---|---|---|
| committer | 2021-01-14 09:54:51 +0000 | |
| commit | 6f339ff7aa0447d0860f042122a48063668dd702 (patch) | |
| tree | 94db96d7e60e5a8dcb98d6152a3eda0bc050c881 | |
| parent | 8af09844db7025a935a49ade256c437f95434214 (diff) | |
Grant SYSTEM_ALERT_WINDOW to recents
Test: atest PermissionPolicyTest
Bug: 169054709
Bug: 159616727
Change-Id: If7f0f041f96c9702181f3133383c3b7959851cbb
| -rw-r--r-- | core/res/AndroidManifest.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index ce3ed9dc8ba6..c18e15ef9f5c 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -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 |