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" /> |
Ben Lin | e7822fb | 2016-06-24 15:21:08 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" /> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 8 | |
| 9 | <application android:label="@string/app_label"> |
| 10 | <provider |
| 11 | android:name=".ExternalStorageProvider" |
Jeff Sharkey | 9d0843d | 2013-05-07 12:41:33 -0700 | [diff] [blame] | 12 | android:authorities="com.android.externalstorage.documents" |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 13 | android:grantUriPermissions="true" |
| 14 | android:exported="true" |
| 15 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | 85f5f81 | 2013-10-07 10:16:12 -0700 | [diff] [blame] | 16 | <intent-filter> |
| 17 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 18 | </intent-filter> |
Jeff Sharkey | 954be02 | 2013-09-03 15:25:52 -0700 | [diff] [blame] | 19 | </provider> |
| 20 | |
Jeff Sharkey | 1f706c6 | 2013-10-17 10:52:17 -0700 | [diff] [blame] | 21 | <receiver android:name=".MountReceiver"> |
| 22 | <intent-filter> |
Jeff Sharkey | e6c04f9 | 2015-04-18 21:38:05 -0700 | [diff] [blame] | 23 | <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" /> |
Jeff Sharkey | 1f706c6 | 2013-10-17 10:52:17 -0700 | [diff] [blame] | 24 | </intent-filter> |
| 25 | </receiver> |
| 26 | |
Jeff Sharkey | 954be02 | 2013-09-03 15:25:52 -0700 | [diff] [blame] | 27 | <!-- TODO: find a better place for tests to live --> |
| 28 | <provider |
| 29 | android:name=".TestDocumentsProvider" |
| 30 | android:authorities="com.example.documents" |
| 31 | android:grantUriPermissions="true" |
| 32 | android:exported="true" |
| 33 | android:permission="android.permission.MANAGE_DOCUMENTS" |
| 34 | android:enabled="false"> |
Jeff Sharkey | 85f5f81 | 2013-10-07 10:16:12 -0700 | [diff] [blame] | 35 | <intent-filter> |
| 36 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 37 | </intent-filter> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 38 | </provider> |
Jeff Sharkey | 9e0036e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 39 | </application> |
| 40 | </manifest> |