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
This commit is contained in:
@@ -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 -->
|
||||
|
||||
@@ -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"/>
|
||||
|
||||
Reference in New Issue
Block a user