Home | History | Annotate | Download | only in ExternalStorageProvider
      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 
      7     <application android:label="@string/app_label">
      8         <provider
      9             android:name=".ExternalStorageProvider"
     10             android:authorities="com.android.externalstorage.documents"
     11             android:grantUriPermissions="true"
     12             android:exported="true"
     13             android:permission="android.permission.MANAGE_DOCUMENTS">
     14             <intent-filter>
     15                 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
     16             </intent-filter>
     17         </provider>
     18 
     19         <!-- TODO: find a better place for tests to live -->
     20         <provider
     21             android:name=".TestDocumentsProvider"
     22             android:authorities="com.example.documents"
     23             android:grantUriPermissions="true"
     24             android:exported="true"
     25             android:permission="android.permission.MANAGE_DOCUMENTS"
     26             android:enabled="false">
     27             <intent-filter>
     28                 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
     29             </intent-filter>
     30         </provider>
     31     </application>
     32 </manifest>
     33