summaryrefslogtreecommitdiffstats
path: root/core/res
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2013-08-14 20:08:36 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2013-08-14 20:08:36 +0000
commit7d56ef2d808289a148085b9bff1448d331f4643e (patch)
tree8f844d3f3d4482f77f90ebfdea8876fb7d7af2f0 /core/res
parent80f7ec06d0e45a8724122d5b4451ee12e37f9aac (diff)
parent02e4d16ed9a0499ad72f2ff427e8bf0e85d7ae06 (diff)
downloadframeworks_base-7d56ef2d808289a148085b9bff1448d331f4643e.zip
frameworks_base-7d56ef2d808289a148085b9bff1448d331f4643e.tar.gz
frameworks_base-7d56ef2d808289a148085b9bff1448d331f4643e.tar.bz2
Merge "Add GIDs to packages.list, update SD card perms." into klp-dev
Diffstat (limited to 'core/res')
-rw-r--r--core/res/AndroidManifest.xml20
1 files changed, 12 insertions, 8 deletions
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index d106cf2..1363e3c 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -1077,15 +1077,15 @@
<!-- Allows an application to read from external storage.
<p>Any app that declares the {@link #WRITE_EXTERNAL_STORAGE} permission is implicitly
granted this permission.</p>
- <p>Currently, this permission is not enforced and all apps still have access to read from
- external storage without this permission. That will change in a future release and apps
- will require this permission to read from external storage. So if your
- app reads from the external storage, you should add this permission to your app now
- to ensure that it continues to work on future versions of Android.</p>
- <p>You can test your app with the permission enforced by either running your app on the
- Android Emulator when running Android 4.1 or higher, or enabling <em>Protect USB
+ <p>This permission is enforced starting in API level 19. Before API level 19, this
+ permission is not enforced and all apps still have access to read from external storage.
+ You can test your app with the permission enforced by enabling <em>Protect USB
storage</em> under Developer options in the Settings app on a device running Android 4.1 or
higher.</p>
+ <p>Also starting in API level 19, this permission is <em>not</em> required to
+ read/write files in your application-specific directories returned by
+ {@link android.content.Context#getExternalFilesDir} and
+ {@link android.content.Context#getExternalCacheDir}.
<p class="note"><strong>Note:</strong> If <em>both</em> your <a
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#min">{@code
minSdkVersion}</a> and <a
@@ -1108,7 +1108,11 @@
targetSdkVersion}</a> values are set to 3 or lower, the system implicitly
grants your app this permission. If you don't need this permission, be sure your <a
href="{@docRoot}guide/topics/manifest/uses-sdk-element.html#target">{@code
- targetSdkVersion}</a> is 4 or higher. -->
+ targetSdkVersion}</a> is 4 or higher.
+ <p>Starting in API level 19, this permission is <em>not</em> required to
+ read/write files in your application-specific directories returned by
+ {@link android.content.Context#getExternalFilesDir} and
+ {@link android.content.Context#getExternalCacheDir}. -->
<permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"
android:permissionGroup="android.permission-group.STORAGE"
android:label="@string/permlab_sdcardWrite"