From ee7fb4d6832e894dfc31db3ec977fda4df29cbaf Mon Sep 17 00:00:00 2001 From: Svet Ganov Date: Thu, 11 Jun 2015 09:58:21 -0700 Subject: [PATCH] Add new storage permission group bug:21730509 Change-Id: If098def755417a90f50328f83d5b419d9e73f120 --- api/current.txt | 1 + api/system-current.txt | 1 + core/res/AndroidManifest.xml | 100 +++++++++++-------- core/res/res/drawable/perm_group_storage.xml | 24 +++++ core/res/res/values/strings.xml | 5 + 5 files changed, 88 insertions(+), 43 deletions(-) create mode 100644 core/res/res/drawable/perm_group_storage.xml diff --git a/api/current.txt b/api/current.txt index 55b14db154788..0bfce5c8cf822 100644 --- a/api/current.txt +++ b/api/current.txt @@ -179,6 +179,7 @@ package android { field public static final java.lang.String SENSORS = "android.permission-group.SENSORS"; field public static final java.lang.String SMS = "android.permission-group.SMS"; field public static final java.lang.String SOCIAL_INFO = "android.permission-group.SOCIAL_INFO"; + field public static final java.lang.String STORAGE = "android.permission-group.STORAGE"; field public static final java.lang.String USER_DICTIONARY = "android.permission-group.USER_DICTIONARY"; } diff --git a/api/system-current.txt b/api/system-current.txt index 67bcdf51098c6..0d02ad043b6d9 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -253,6 +253,7 @@ package android { field public static final java.lang.String SENSORS = "android.permission-group.SENSORS"; field public static final java.lang.String SMS = "android.permission-group.SMS"; field public static final java.lang.String SOCIAL_INFO = "android.permission-group.SOCIAL_INFO"; + field public static final java.lang.String STORAGE = "android.permission-group.STORAGE"; field public static final java.lang.String USER_DICTIONARY = "android.permission-group.USER_DICTIONARY"; } diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml index 0911d420cbc8c..817d7d46a8371 100644 --- a/core/res/AndroidManifest.xml +++ b/core/res/AndroidManifest.xml @@ -454,6 +454,63 @@ android:description="@string/permdesc_readCellBroadcasts" android:protectionLevel="dangerous" /> + + + + + + + + + + + + + + @@ -1216,49 +1273,6 @@ - - - - - - + + + diff --git a/core/res/res/values/strings.xml b/core/res/res/values/strings.xml index 28274ae74e79d..43e402f687d2b 100644 --- a/core/res/res/values/strings.xml +++ b/core/res/res/values/strings.xml @@ -568,6 +568,11 @@ view and manage SMS messages + + Storage + + access photos, media, and files on your device + User Dictionary