diff options
author | Patrick Baumann <patb@google.com> | 2019-09-25 13:21:31 -0700 |
---|---|---|
committer | Patrick Baumann <patb@google.com> | 2019-10-09 14:12:35 +0000 |
commit | b71657a60aaedf7771daeca015bf48d87cf81230 (patch) | |
tree | 237678b2c503b1fc639298801a1eefc654cb84aa | |
parent | 4238f749cc734fa34d1cdc9ab0544c8d15e4479c (diff) |
Grants SysUI access to all packages on device
With the new go/app-enumeration feature in R, apps will need to declare
the packages that they have access to or hold the QUERY_ALL_PACKAGES
permission. This change updates sysUI to acquire that permission so it
can act on any app on device.
Test: Device starts without sysui being blocked
Bug: 136675067
Change-Id: Ib88434c17a42936a48095ea040c4e40590a8898f
-rw-r--r-- | packages/SystemUI/AndroidManifest.xml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/SystemUI/AndroidManifest.xml b/packages/SystemUI/AndroidManifest.xml index 403e894a68e4..b288eb7b5070 100644 --- a/packages/SystemUI/AndroidManifest.xml +++ b/packages/SystemUI/AndroidManifest.xml @@ -243,6 +243,9 @@ <!-- Permission to change the display color --> <uses-permission android:name="android.permission.CONTROL_DISPLAY_COLOR_TRANSFORMS" /> + <!-- Query all packages on device on R+ --> + <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> + <protected-broadcast android:name="com.android.settingslib.action.REGISTER_SLICE_RECEIVER" /> <protected-broadcast android:name="com.android.settingslib.action.UNREGISTER_SLICE_RECEIVER" /> <protected-broadcast android:name="com.android.settings.flashlight.action.FLASHLIGHT_CHANGED" /> |