blob: 637e06e1668dc419c90f711e0211c3270b7b7bcc [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
Felipe Leme8cf6ce22016-02-17 17:10:45 -08004 <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07005 <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
Jeff Sharkey3fd11772013-09-30 14:26:27 -07006 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Jeff Sharkey22056802015-10-01 15:14:57 -07007 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -07008
Jeff Sharkey2e694f82013-08-06 16:26:14 -07009 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -070010 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070011 android:label="@string/app_label"
12 android:supportsRtl="true">
13
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070014 <activity
15 android:name=".DocumentsActivity"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070016 android:theme="@style/DocumentsTheme"
Jeff Sharkey40457802013-09-21 13:57:33 -070017 android:icon="@drawable/ic_doc_text">
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070018 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070019 <action android:name="android.intent.action.OPEN_DOCUMENT" />
20 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070021 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070022 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070023 </intent-filter>
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070024 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070025 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070026 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070027 <category android:name="android.intent.category.OPENABLE" />
28 <data android:mimeType="*/*" />
29 </intent-filter>
30 <intent-filter android:priority="100">
31 <action android:name="android.intent.action.GET_CONTENT" />
32 <category android:name="android.intent.category.DEFAULT" />
33 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070034 <data android:mimeType="*/*" />
35 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070036 <intent-filter>
Jeff Sharkeyf4943e12014-06-04 16:42:47 -070037 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070038 <category android:name="android.intent.category.DEFAULT" />
39 </intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070040 </activity>
41
42 <activity
Steve McKay0fd6eb42015-12-01 16:20:41 -080043 android:name=".DownloadsActivity"
Steve McKayf2484c72015-12-15 12:16:21 -080044 android:theme="@style/DocumentsTheme"
Steve McKay6035b3c2015-12-04 11:19:09 -080045 android:label="@string/downloads_label"
Ben Kwa0574b182015-09-08 07:31:19 -070046 android:icon="@drawable/ic_doc_text">
Jeff Sharkey311a7d82015-04-11 21:27:21 -070047 <intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070048 <action android:name="android.provider.action.MANAGE_ROOT" />
Jeff Sharkey311a7d82015-04-11 21:27:21 -070049 <category android:name="android.intent.category.DEFAULT" />
50 <data android:mimeType="vnd.android.document/root" />
51 </intent-filter>
Jeff Sharkey3c28b792013-07-01 17:22:02 -070052 </activity>
53
Steve McKayd0a2a2c2015-03-25 14:35:33 -070054 <activity
Steve McKayf2c8b0d2015-09-23 15:44:24 -070055 android:name=".LauncherActivity"
56 android:theme="@android:style/Theme.NoDisplay"
Steve McKay52cbfb82015-07-27 12:02:37 -070057 android:icon="@drawable/ic_files_app"
Steve McKay8dac4a02016-01-28 11:42:08 -080058 android:label="@string/files_label">
Steve McKayd0a2a2c2015-03-25 14:35:33 -070059 <intent-filter>
60 <action android:name="android.intent.action.MAIN" />
61 <category android:name="android.intent.category.LAUNCHER" />
62 </intent-filter>
Steve McKayf2c8b0d2015-09-23 15:44:24 -070063 </activity>
64
65 <activity
66 android:name=".FilesActivity"
Steve McKayf2484c72015-12-15 12:16:21 -080067 android:theme="@style/DocumentsTheme"
Steve McKayf2c8b0d2015-09-23 15:44:24 -070068 android:icon="@drawable/ic_files_app"
69 android:label="@string/files_label"
70 android:documentLaunchMode="intoExisting">
71 <intent-filter>
72 <action android:name="android.intent.action.MAIN" />
73 </intent-filter>
Steve McKay459bc2b2015-09-16 15:07:31 -070074 <intent-filter>
Steve McKay8d45f5a2015-11-20 08:44:55 -080075 <action android:name="android.provider.action.BROWSE" />
Steve McKay459bc2b2015-09-16 15:07:31 -070076 <category android:name="android.intent.category.DEFAULT" />
77 <data android:mimeType="vnd.android.document/root" />
78 </intent-filter>
Tomasz Mikolajewski5a1e8792016-01-27 17:36:51 +090079 <intent-filter>
80 <action android:name="android.intent.action.VIEW" />
81 <category android:name="android.intent.category.DEFAULT" />
82 <data android:mimeType="application/zip"
83 android:host="com.android.providers.downloads.documents"
84 android:scheme="content" />
85 <data android:mimeType="application/x-zip"
86 android:host="com.android.providers.downloads.documents"
87 android:scheme="content" />
88 <data android:mimeType="application/x-zip-compressed"
89 android:host="com.android.providers.downloads.documents"
90 android:scheme="content" />
91 </intent-filter>
Steve McKayd0a2a2c2015-03-25 14:35:33 -070092 </activity>
93
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080094 <activity
95 android:name=".OpenExternalDirectoryActivity"
96 android:theme="@android:style/Theme.Translucent.NoTitleBar">
97 <intent-filter>
Felipe Leme5228bd02016-02-17 10:12:04 -080098 <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080099 <category android:name="android.intent.category.DEFAULT" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800100 </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>