Skip to content

Commit 4d5f968

Browse files
author
Dianne Hackborn
committed
Fix issue #6860828 Non-root shell can't grant permissions
That, plus a few other permissions. Bug: 6860828 Change-Id: I69f0360471e4fd46e689388cd993e18c1e0bfb02
1 parent c750403 commit 4d5f968

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

data/etc/platform.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@
163163
<assign-permission name="android.permission.FORCE_STOP_PACKAGES" uid="shell" />
164164
<assign-permission name="android.permission.STOP_APP_SWITCHES" uid="shell" />
165165
<assign-permission name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" uid="shell" />
166+
<assign-permission name="android.permission.GRANT_REVOKE_PERMISSIONS" uid="shell" />
167+
<assign-permission name="android.permission.SET_KEYBOARD_LAYOUT" uid="shell" />
168+
<assign-permission name="android.permission.GET_DETAILED_TASKS" uid="shell" />
169+
<assign-permission name="android.permission.SET_SCREEN_COMPATIBILITY" uid="shell" />
170+
<assign-permission name="android.permission.READ_EXTERNAL_STORAGE" uid="shell" />
171+
<assign-permission name="android.permission.WRITE_EXTERNAL_STORAGE" uid="shell" />
166172

167173
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
168174
<assign-permission name="android.permission.ACCESS_DRM" uid="media" />

0 commit comments

Comments
 (0)