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
This commit is contained in:
Holly Sun
2023-01-20 00:36:12 +00:00
committed by Holly Jiuyu Sun
parent dd38a02c93
commit 6b8fa1dcfb

View File

@@ -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