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" />
6    <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
7
8    <application android:label="@string/app_label">
9        <provider
10            android:name=".ExternalStorageProvider"
11            android:authorities="com.android.externalstorage.documents"
12            android:grantUriPermissions="true"
13            android:exported="true"
14            android:permission="android.permission.MANAGE_DOCUMENTS">
15            <intent-filter>
16                <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
17            </intent-filter>
18        </provider>
19
20        <receiver android:name=".MountReceiver">
21            <intent-filter>
22                <action android:name="android.os.storage.action.VOLUME_STATE_CHANGED" />
23            </intent-filter>
24        </receiver>
25
26        <!-- 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">
34            <intent-filter>
35                <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
36            </intent-filter>
37        </provider>
38    </application>
39</manifest>
40