Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b71657a6 authored by Patrick Baumann's avatar Patrick Baumann
Browse files

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
parent 4238f749
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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" />