diff options
author | Mike Lockwood <lockwood@android.com> | 2011-01-10 08:22:30 -0500 |
---|---|---|
committer | Mike Lockwood <lockwood@android.com> | 2011-01-10 08:22:30 -0500 |
commit | af7bdc646088e3112052f4fd35061bb720393287 (patch) | |
tree | 8bd971b2375b13fb4b2391100bea22db51560052 /include/private | |
parent | b596608f098937049fd98c5896cf72ebbf3584ae (diff) | |
download | system_core-af7bdc646088e3112052f4fd35061bb720393287.zip system_core-af7bdc646088e3112052f4fd35061bb720393287.tar.gz system_core-af7bdc646088e3112052f4fd35061bb720393287.tar.bz2 |
Add separate permission and group for access to 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: Ibb546b8726d61e041fc7c273f71929624ad1575b
Signed-off-by: Mike Lockwood <lockwood@android.com>
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/android_filesystem_config.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h index 87eaf09..e446fc9 100644 --- a/include/private/android_filesystem_config.h +++ b/include/private/android_filesystem_config.h @@ -57,6 +57,7 @@ #define AID_GPS 1021 /* GPS daemon */ #define AID_NFC 1022 /* nfc subsystem */ #define AID_MEDIA_RW 1023 /* internal media storage write access */ +#define AID_MTP 1024 /* MTP USB driver access */ #define AID_SHELL 2000 /* adb and debug shell user */ #define AID_CACHE 2001 /* cache access */ @@ -111,6 +112,7 @@ static const struct android_id_info android_ids[] = { { "vpn", AID_VPN, }, { "keystore", AID_KEYSTORE, }, { "usb", AID_USB, }, + { "mtp", AID_MTP, }, { "gps", AID_GPS, }, { "inet", AID_INET, }, { "net_raw", AID_NET_RAW, }, |