summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2016-12-03 03:29:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-12-03 03:29:51 +0000
commit4b4475308598659137657261218fc5a3207ec79c (patch)
tree1958625770c74feec1a531180b282a4d8858c836 /include
parentb898ce00fad3477a9e8c86091c7d8f144a958b2a (diff)
parent4de27c6a6d56a71a1ca87d1d972cf3cfaa6acf96 (diff)
downloadsystem_core-4b4475308598659137657261218fc5a3207ec79c.tar.gz
system_core-4b4475308598659137657261218fc5a3207ec79c.tar.bz2
system_core-4b4475308598659137657261218fc5a3207ec79c.zip
Merge "Define GIDs for internal media file types."
Diffstat (limited to 'include')
-rw-r--r--include/private/android_filesystem_config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/private/android_filesystem_config.h b/include/private/android_filesystem_config.h
index c364317c3..c9e1923c4 100644
--- a/include/private/android_filesystem_config.h
+++ b/include/private/android_filesystem_config.h
@@ -96,6 +96,9 @@
#define AID_DNS_TETHER 1052 /* DNS resolution daemon (tether: dnsmasq) */
#define AID_WEBVIEW_ZYGOTE 1053 /* WebView zygote process */
#define AID_VEHICLE_NETWORK 1054 /* Vehicle network service */
+#define AID_MEDIA_AUDIO 1055 /* GID for audio files on internal media storage */
+#define AID_MEDIA_VIDEO 1056 /* GID for video files on internal media storage */
+#define AID_MEDIA_IMAGE 1057 /* GID for image files on internal media storage */
/* Changes to this file must be made in AOSP, *not* in internal branches. */
#define AID_SHELL 2000 /* adb and debug shell user */
@@ -210,6 +213,9 @@ static const struct android_id_info android_ids[] = {
{ "dns_tether", AID_DNS_TETHER, },
{ "webview_zygote", AID_WEBVIEW_ZYGOTE, },
{ "vehicle_network", AID_VEHICLE_NETWORK, },
+ { "media_audio", AID_MEDIA_AUDIO, },
+ { "media_video", AID_MEDIA_VIDEO, },
+ { "media_image", AID_MEDIA_IMAGE, },
{ "shell", AID_SHELL, },
{ "cache", AID_CACHE, },