summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Holly Sun <jiuyu@google.com> 2023-01-20 00:36:12 +0000
committer Holly Jiuyu Sun <jiuyu@google.com> 2023-01-25 17:32:45 +0000
commit6b8fa1dcfbfaf43b5f480f0a8a893c799ffe7860 (patch)
tree5f7576b16f49d1b648c6d9ebf2382414206cbcdd
parentdd38a02c9325ff9b1eeb55b2b5d0f2ad09ae3fa4 (diff)
Add recents protection level to BIND_QUICK_SETTINGS_TILE.
We'll reuse BIND_QUICK_SETTINGS_TILE permission for the newly added LauncherTileService, which is bind by Launcher to talk with SysUI to get Quick Settings tiles. Test: build; add this permission requirement to LauncherTileService and declare this permission in Launcher, Launcher is able to bind the service Test: build Bug: 262443413 Change-Id: I0ab22d4b1c255436d9c9b747dd2251439c72d48b
-rw-r--r--core/res/AndroidManifest.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index 6a80d1cb62a7..b10df606f334 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -3893,7 +3893,7 @@
<p>Should only be requested by the System, should be required by
TileService declarations.-->
<permission android:name="android.permission.BIND_QUICK_SETTINGS_TILE"
- android:protectionLevel="signature" />
+ android:protectionLevel="signature|recents" />
<!-- Allows SystemUI to request third party controls.
<p>Should only be requested by the System and required by