Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 2 | package="com.android.externalstorage"> |
| 3 | |
| 4 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
| 5 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 7e1f541 | 2013-11-11 14:36:33 -0800 | [diff] [blame] | 6 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Zim | 4e416c8 | 2020-01-24 17:41:50 +0000 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Ben Lin | e7822fb | 2016-06-24 15:21:08 -0700 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 9 | |
| 10 | <application android:label="@string/app_label"> |
| 11 | <provider |
| 12 | android:name=".ExternalStorageProvider" |
Ben Lin | 0df63e9 | 2017-03-17 11:10:46 -0700 | [diff] [blame] | 13 | android:label="@string/storage_description" |
Jeff Sharkey | 9d0843d | 2013-05-07 12:41:33 -0700 | [diff] [blame] | 14 | android:authorities="com.android.externalstorage.documents" |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 15 | android:grantUriPermissions="true" |
| 16 | android:exported="true" |
| 17 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | 85f5f81 | 2013-10-07 10:16:12 -0700 | [diff] [blame] | 18 | <intent-filter> |
| 19 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 20 | </intent-filter> |
Jeff Sharkey | 643e99e | 2018-10-22 18:01:27 -0600 | [diff] [blame] | 21 | <!-- Stub that allows MediaProvider to make incoming calls --> |
| 22 | <path-permission |
| 23 | android:path="/media_internal" |
| 24 | android:permission="android.permission.WRITE_MEDIA_STORAGE" /> |
Jeff Sharkey | 954be02 | 2013-09-03 15:25:52 -0700 | [diff] [blame] | 25 | </provider> |
| 26 | |
Ashwini Oruganti | a335a5c | 2020-03-10 13:26:25 -0700 | [diff] [blame] | 27 | <receiver android:name=".MountReceiver" |
| 28 | android:exported="true"> |
Jeff Sharkey | 1f706c6 | 2013-10-17 10:52:17 -0700 | [diff] [blame] | 29 | <intent-filter> |
Jeff Sharkey | e6c04f9 | 2015-04-18 21:38:05 -0700 | [diff] [blame] | 30 | <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" /> |
Jeff Sharkey | 1f706c6 | 2013-10-17 10:52:17 -0700 | [diff] [blame] | 31 | </intent-filter> |
| 32 | </receiver> |
| 33 | |
Jeff Sharkey | 954be02 | 2013-09-03 15:25:52 -0700 | [diff] [blame] | 34 | <!-- TODO: find a better place for tests to live --> |
| 35 | <provider |
| 36 | android:name=".TestDocumentsProvider" |
| 37 | android:authorities="com.example.documents" |
| 38 | android:grantUriPermissions="true" |
| 39 | android:exported="true" |
| 40 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 41 | android:enabled="false"> |
Jeff Sharkey | 85f5f81 | 2013-10-07 10:16:12 -0700 | [diff] [blame] | 42 | <intent-filter> |
| 43 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 44 | </intent-filter> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 45 | </provider> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 46 | </application> |
| 47 | </manifest> |