summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-07-23 10:16:34 -0700
committerDianne Hackborn <hackbod@google.com>2012-07-23 11:46:32 -0700
commit4d5f968f41b8d91f03a1311d3a99215a928f563b (patch)
treecf1d09f235c6a49c1d7bbea866fb28afef041dcd /data/etc
parentc7504032f3826a27da7ac9d75b1b56c7e4c4ce32 (diff)
downloadframeworks_base-4d5f968f41b8d91f03a1311d3a99215a928f563b.zip
frameworks_base-4d5f968f41b8d91f03a1311d3a99215a928f563b.tar.gz
frameworks_base-4d5f968f41b8d91f03a1311d3a99215a928f563b.tar.bz2
Fix issue #6860828 Non-root shell can't grant permissions
That, plus a few other permissions. Bug: 6860828 Change-Id: I69f0360471e4fd46e689388cd993e18c1e0bfb02
Diffstat (limited to 'data/etc')
-rw-r--r--data/etc/platform.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/etc/platform.xml b/data/etc/platform.xml
index 4b93e74..833064e 100644
--- a/data/etc/platform.xml
+++ b/data/etc/platform.xml
@@ -163,6 +163,12 @@
<assign-permission name="android.permission.FORCE_STOP_PACKAGES" uid="shell" />
<assign-permission name="android.permission.STOP_APP_SWITCHES" uid="shell" />
<assign-permission name="android.permission.ACCESS_CONTENT_PROVIDERS_EXTERNALLY" uid="shell" />
+ <assign-permission name="android.permission.GRANT_REVOKE_PERMISSIONS" uid="shell" />
+ <assign-permission name="android.permission.SET_KEYBOARD_LAYOUT" uid="shell" />
+ <assign-permission name="android.permission.GET_DETAILED_TASKS" uid="shell" />
+ <assign-permission name="android.permission.SET_SCREEN_COMPATIBILITY" uid="shell" />
+ <assign-permission name="android.permission.READ_EXTERNAL_STORAGE" uid="shell" />
+ <assign-permission name="android.permission.WRITE_EXTERNAL_STORAGE" uid="shell" />
<assign-permission name="android.permission.MODIFY_AUDIO_SETTINGS" uid="media" />
<assign-permission name="android.permission.ACCESS_DRM" uid="media" />