• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2        package="com.android.documentsui">
3
4    <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
5    <uses-permission android:name="android.permission.REMOVE_TASKS" />
6
7    <application
8        android:name=".DocumentsApplication"
9        android:label="@string/app_label"
10        android:supportsRtl="true">
11
12        <activity
13            android:name=".DocumentsActivity"
14            android:theme="@style/DocumentsTheme"
15            android:icon="@drawable/ic_doc_text">
16            <intent-filter>
17                <action android:name="android.intent.action.OPEN_DOCUMENT" />
18                <category android:name="android.intent.category.DEFAULT" />
19                <category android:name="android.intent.category.OPENABLE" />
20                <data android:mimeType="*/*" />
21            </intent-filter>
22            <intent-filter>
23                <action android:name="android.intent.action.CREATE_DOCUMENT" />
24                <category android:name="android.intent.category.DEFAULT" />
25                <category android:name="android.intent.category.OPENABLE" />
26                <data android:mimeType="*/*" />
27            </intent-filter>
28            <intent-filter android:priority="100">
29                <action android:name="android.intent.action.GET_CONTENT" />
30                <category android:name="android.intent.category.DEFAULT" />
31                <category android:name="android.intent.category.OPENABLE" />
32                <data android:mimeType="*/*" />
33            </intent-filter>
34            <intent-filter>
35                <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
36                <category android:name="android.intent.category.DEFAULT" />
37            </intent-filter>
38            <intent-filter>
39                <action android:name="android.provider.action.MANAGE_ROOT" />
40                <category android:name="android.intent.category.DEFAULT" />
41                <data android:mimeType="vnd.android.document/root" />
42            </intent-filter>
43        </activity>
44
45        <provider
46            android:name=".RecentsProvider"
47            android:authorities="com.android.documentsui.recents"
48            android:exported="false" />
49
50        <receiver android:name=".PackageReceiver">
51            <intent-filter>
52                <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
53                <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
54                <data android:scheme="package" />
55            </intent-filter>
56        </receiver>
57    </application>
58</manifest>
59