Merge "Verify permissions are only held by media stack."
diff --git a/api/test-current.txt b/api/test-current.txt
index 8e638fd..0f2ba12 100644
--- a/api/test-current.txt
+++ b/api/test-current.txt
@@ -11,6 +11,7 @@
field public static final String MANAGE_ACTIVITY_STACKS = "android.permission.MANAGE_ACTIVITY_STACKS";
field public static final String READ_CELL_BROADCASTS = "android.permission.READ_CELL_BROADCASTS";
field public static final String REMOVE_TASKS = "android.permission.REMOVE_TASKS";
+ field public static final String WRITE_MEDIA_STORAGE = "android.permission.WRITE_MEDIA_STORAGE";
field public static final String WRITE_OBB = "android.permission.WRITE_OBB";
}
diff --git a/core/res/AndroidManifest.xml b/core/res/AndroidManifest.xml
index f92df6a..4a54bd7 100644
--- a/core/res/AndroidManifest.xml
+++ b/core/res/AndroidManifest.xml
@@ -2119,7 +2119,7 @@
<!-- ================================== -->
<eat-comment />
- <!-- @SystemApi Allows an application to write to internal media storage
+ <!-- @SystemApi @TestApi Allows an application to write to internal media storage
@hide -->
<permission android:name="android.permission.WRITE_MEDIA_STORAGE"
android:protectionLevel="signature|privileged" />