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

Commit aea3cf40 authored by Adam Lesinski's avatar Adam Lesinski
Browse files

Whitelist new CHANGE_OVERLAY_PACKAGES permission

The Shell application needs access to change which overlays are
enabled in OverlayManagerService.

Test: Manual: invoke adb exec-out cmd overlay enable some.package.name
when shell is not root (adb unroot on eng builds).
Change-Id: I1849f68e244cfc9b1e13eb0e673dde7be03cba6d
parent 8a362bb9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2138,7 +2138,7 @@
         runtime resource overlays.
         @hide -->
    <permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES"
        android:protectionLevel="signature|privileged|development" />
        android:protectionLevel="signature|privileged" />

    <!-- ========================================= -->
    <!-- Permissions for special development tools -->
+1 −0
Original line number Diff line number Diff line
@@ -253,6 +253,7 @@ applications that come with the platform
        <permission name="android.permission.BIND_APPWIDGET"/>
        <permission name="android.permission.CHANGE_COMPONENT_ENABLED_STATE"/>
        <permission name="android.permission.CHANGE_CONFIGURATION"/>
        <permission name="android.permission.CHANGE_OVERLAY_PACKAGES"/>
        <permission name="android.permission.CONNECTIVITY_INTERNAL"/>
        <permission name="android.permission.DELETE_CACHE_FILES"/>
        <permission name="android.permission.DELETE_PACKAGES"/>