summaryrefslogtreecommitdiffstats
path: root/data/etc
diff options
context:
space:
mode:
authorMike Lockwood <lockwood@android.com>2011-01-10 08:24:08 -0500
committerMike Lockwood <lockwood@android.com>2011-01-10 08:54:34 -0500
commit10bc1114f37d9edb3f153ec209745dd476530325 (patch)
tree23daad428364b52785b352b85afbaf7b6ab690eb /data/etc
parent8b50495d02a6423bfa5c8cf6406e3e06b7c84f7f (diff)
downloadframeworks_base-10bc1114f37d9edb3f153ec209745dd476530325.zip
frameworks_base-10bc1114f37d9edb3f153ec209745dd476530325.tar.gz
frameworks_base-10bc1114f37d9edb3f153ec209745dd476530325.tar.bz2
Add separate permission and group for access to the MTP USB driver
Since the "usb" group and ACCESS_USB permission will be used by regular apps to access USB devices in host mode, we need a separate permission for the device side MTP driver. Change-Id: Id03f7c4f3d2712c489b4b74cf17a72a182084501 Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'data/etc')
-rw-r--r--data/etc/platform.xml4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/etc/platform.xml b/data/etc/platform.xml
index f458576..8555be0 100644
--- a/data/etc/platform.xml
+++ b/data/etc/platform.xml
@@ -66,6 +66,10 @@
<group gid="usb" />
</permission>
+ <permission name="android.permission.ACCESS_MTP" >
+ <group gid="mtp" />
+ </permission>
+
<!-- The group that /cache belongs to, linked to the permission
set on the applications that can access /cache -->
<permission name="android.permission.ACCESS_CACHE_FILESYSTEM" >