blob: 0b290cebf053d50582c3ee0b10b55764c1db0a8e [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" />
Ben Line7822fb2016-06-24 15:21:08 -07007 <uses-permission android:name="android.permission.MOUNT_UNMOUNT_FILESYSTEMS" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07008
9 <application android:label="@string/app_label">
10 <provider
11 android:name=".ExternalStorageProvider"
Jeff Sharkey9d0843d2013-05-07 12:41:33 -070012 android:authorities="com.android.externalstorage.documents"
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070013 android:grantUriPermissions="true"
14 android:exported="true"
15 android:permission="android.permission.MANAGE_DOCUMENTS">
Jeff Sharkey85f5f812013-10-07 10:16:12 -070016 <intent-filter>
17 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
18 </intent-filter>
Jeff Sharkey954be022013-09-03 15:25:52 -070019 </provider>
20
Jeff Sharkey1f706c62013-10-17 10:52:17 -070021 <receiver android:name=".MountReceiver">
22 <intent-filter>
Jeff Sharkeye6c04f92015-04-18 21:38:05 -070023 <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
Jeff Sharkey1f706c62013-10-17 10:52:17 -070024 </intent-filter>
25 </receiver>
26
Jeff Sharkey954be022013-09-03 15:25:52 -070027 <!-- 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 Sharkey85f5f812013-10-07 10:16:12 -070035 <intent-filter>
36 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
37 </intent-filter>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070038 </provider>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070039 </application>
40</manifest>