Skip to content

Commit da9754e

Browse files
Dianne HackbornAndroid (Google) Code Review
authored andcommitted
Merge "Fix issue #6860828 Non-root shell can't grant permissions" into jb-dev
2 parents 707e632 + 4d5f968 commit da9754e

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)