Media permission update for Android T
To improve user clarity of the storage permission and
reduce the number of apps with broad file access,
we will update the Files & Media permission model
for apps targeting API 32.
Apps must now request permission for images, videos,
or audio files independently.
Test: Build apk and see Storage page works.
Fix: 220259725
Change-Id: I8f14cf5b4b48c6b28374ba7266c62a3897cdda8e
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 0279eec..4df368b 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -9,7 +9,9 @@
<uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
- <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
+ <uses-permission android:name="android.permission.READ_MEDIA_IMAGE" />
+ <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" />
+ <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" />
<uses-permission android:name="android.permission.WRITE_SETTINGS" />
<uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
<uses-permission android:name="android.permission.DEVICE_POWER" />