blob: 3185917c4df02c40affb86337c35a9249e493dc9 [file] [log] [blame]
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07001<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 Sharkey7e1f5412013-11-11 14:36:33 -08006 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07007
8 <application android:label="@string/app_label">
9 <provider
10 android:name=".ExternalStorageProvider"
Jeff Sharkey9d0843d2013-05-07 12:41:33 -070011 android:authorities="com.android.externalstorage.documents"
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070012 android:grantUriPermissions="true"
13 android:exported="true"
14 android:permission="android.permission.MANAGE_DOCUMENTS">
Jeff Sharkey85f5f812013-10-07 10:16:12 -070015 <intent-filter>
16 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
17 </intent-filter>
Jeff Sharkey954be022013-09-03 15:25:52 -070018 </provider>
19
Jeff Sharkey1f706c62013-10-17 10:52:17 -070020 <receiver android:name=".MountReceiver">
21 <intent-filter>
Jeff Sharkeye6c04f92015-04-18 21:38:05 -070022 <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
Jeff Sharkey1f706c62013-10-17 10:52:17 -070023 </intent-filter>
24 </receiver>
25
Jeff Sharkey954be022013-09-03 15:25:52 -070026 <!-- TODO: find a better place for tests to live -->
27 <provider
28 android:name=".TestDocumentsProvider"
29 android:authorities="com.example.documents"
30 android:grantUriPermissions="true"
31 android:exported="true"
32 android:permission="android.permission.MANAGE_DOCUMENTS"
33 android:enabled="false">
Jeff Sharkey85f5f812013-10-07 10:16:12 -070034 <intent-filter>
35 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
36 </intent-filter>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070037 </provider>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070038 </application>
39</manifest>