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