blob: 9ac929ba9b28ef31c4574eaa606f3573b32912b8 [file] [log] [blame]
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07001<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" />
Jeff Sharkey3fd11772013-09-30 14:26:27 -07005 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Jeff Sharkey22056802015-10-01 15:14:57 -07006 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07007
Jeff Sharkey2e694f82013-08-06 16:26:14 -07008 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -07009 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070010 android:label="@string/app_label"
11 android:supportsRtl="true">
12
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070013 <activity
14 android:name=".DocumentsActivity"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070015 android:theme="@style/DocumentsTheme"
Jeff Sharkey40457802013-09-21 13:57:33 -070016 android:icon="@drawable/ic_doc_text">
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070017 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070018 <action android:name="android.intent.action.OPEN_DOCUMENT" />
19 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070020 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070021 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070022 </intent-filter>
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070023 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070024 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070025 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070026 <category android:name="android.intent.category.OPENABLE" />
27 <data android:mimeType="*/*" />
28 </intent-filter>
29 <intent-filter android:priority="100">
30 <action android:name="android.intent.action.GET_CONTENT" />
31 <category android:name="android.intent.category.DEFAULT" />
32 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070033 <data android:mimeType="*/*" />
34 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070035 <intent-filter>
Jeff Sharkeyf4943e12014-06-04 16:42:47 -070036 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070037 <category android:name="android.intent.category.DEFAULT" />
38 </intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070039 </activity>
40
41 <activity
Steve McKay0fd6eb42015-12-01 16:20:41 -080042 android:name=".DownloadsActivity"
Steve McKayf2484c72015-12-15 12:16:21 -080043 android:theme="@style/DocumentsTheme"
Steve McKay6035b3c2015-12-04 11:19:09 -080044 android:label="@string/downloads_label"
Ben Kwa0574b182015-09-08 07:31:19 -070045 android:icon="@drawable/ic_doc_text">
Jeff Sharkey311a7d82015-04-11 21:27:21 -070046 <intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070047 <action android:name="android.provider.action.MANAGE_ROOT" />
Jeff Sharkey311a7d82015-04-11 21:27:21 -070048 <category android:name="android.intent.category.DEFAULT" />
49 <data android:mimeType="vnd.android.document/root" />
50 </intent-filter>
Jeff Sharkey3c28b792013-07-01 17:22:02 -070051 </activity>
52
Steve McKayd0a2a2c2015-03-25 14:35:33 -070053 <activity
Steve McKayf2c8b0d2015-09-23 15:44:24 -070054 android:name=".LauncherActivity"
55 android:theme="@android:style/Theme.NoDisplay"
Steve McKay52cbfb82015-07-27 12:02:37 -070056 android:icon="@drawable/ic_files_app"
Steve McKay8dac4a02016-01-28 11:42:08 -080057 android:label="@string/files_label">
Steve McKayd0a2a2c2015-03-25 14:35:33 -070058 <intent-filter>
59 <action android:name="android.intent.action.MAIN" />
60 <category android:name="android.intent.category.LAUNCHER" />
61 </intent-filter>
Steve McKayf2c8b0d2015-09-23 15:44:24 -070062 </activity>
63
64 <activity
65 android:name=".FilesActivity"
Steve McKayf2484c72015-12-15 12:16:21 -080066 android:theme="@style/DocumentsTheme"
Steve McKayf2c8b0d2015-09-23 15:44:24 -070067 android:icon="@drawable/ic_files_app"
68 android:label="@string/files_label"
69 android:documentLaunchMode="intoExisting">
70 <intent-filter>
71 <action android:name="android.intent.action.MAIN" />
72 </intent-filter>
Steve McKay459bc2b2015-09-16 15:07:31 -070073 <intent-filter>
Steve McKay8d45f5a2015-11-20 08:44:55 -080074 <action android:name="android.provider.action.BROWSE" />
Steve McKay459bc2b2015-09-16 15:07:31 -070075 <category android:name="android.intent.category.DEFAULT" />
76 <data android:mimeType="vnd.android.document/root" />
77 </intent-filter>
Tomasz Mikolajewski5a1e8792016-01-27 17:36:51 +090078 <intent-filter>
79 <action android:name="android.intent.action.VIEW" />
80 <category android:name="android.intent.category.DEFAULT" />
81 <data android:mimeType="application/zip"
82 android:host="com.android.providers.downloads.documents"
83 android:scheme="content" />
84 <data android:mimeType="application/x-zip"
85 android:host="com.android.providers.downloads.documents"
86 android:scheme="content" />
87 <data android:mimeType="application/x-zip-compressed"
88 android:host="com.android.providers.downloads.documents"
89 android:scheme="content" />
90 </intent-filter>
Steve McKayd0a2a2c2015-03-25 14:35:33 -070091 </activity>
92
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080093 <activity
94 android:name=".OpenExternalDirectoryActivity"
95 android:theme="@android:style/Theme.Translucent.NoTitleBar">
96 <intent-filter>
97 <action android:name="android.intent.action.OPEN_EXTERNAL_DIRECTORY" />
98 <category android:name="android.intent.category.DEFAULT" />
99 <data android:scheme="file" />
100 </intent-filter>
101 </activity>
102
Jeff Sharkey50d35622013-08-02 10:33:21 -0700103 <provider
104 android:name=".RecentsProvider"
105 android:authorities="com.android.documentsui.recents"
Steve McKayd0a2a2c2015-03-25 14:35:33 -0700106 android:exported="false"/>
Jeff Sharkey50d35622013-08-02 10:33:21 -0700107
Jeff Sharkey2bfdedb2013-10-24 10:44:03 -0700108 <receiver android:name=".PackageReceiver">
109 <intent-filter>
110 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
111 <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
112 <data android:scheme="package" />
113 </intent-filter>
114 </receiver>
Ben Kwa41b26c12015-03-31 10:11:43 -0700115
116 <service
Steve McKayc83baa02016-01-06 18:32:13 -0800117 android:name=".services.FileOperationService"
Ben Kwa41b26c12015-03-31 10:11:43 -0700118 android:exported="false">
119 </service>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -0700120 </application>
121</manifest>