blob: b3e0e07f1c72a39a633d423b4a49706f78edabe6 [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 Sharkey50254fe2016-03-11 17:25:11 -07008 <uses-permission android:name="android.permission.CACHE_CONTENT" />
9 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070010
Jeff Sharkey2e694f82013-08-06 16:26:14 -070011 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -070012 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070013 android:label="@string/app_label"
14 android:supportsRtl="true">
15
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070016 <activity
17 android:name=".DocumentsActivity"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070018 android:theme="@style/DocumentsTheme"
Jeff Sharkey40457802013-09-21 13:57:33 -070019 android:icon="@drawable/ic_doc_text">
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070020 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070021 <action android:name="android.intent.action.OPEN_DOCUMENT" />
22 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070023 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070024 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070025 </intent-filter>
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070026 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070027 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070028 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070029 <category android:name="android.intent.category.OPENABLE" />
30 <data android:mimeType="*/*" />
31 </intent-filter>
32 <intent-filter android:priority="100">
33 <action android:name="android.intent.action.GET_CONTENT" />
34 <category android:name="android.intent.category.DEFAULT" />
35 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070036 <data android:mimeType="*/*" />
37 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070038 <intent-filter>
Jeff Sharkeyf4943e12014-06-04 16:42:47 -070039 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070040 <category android:name="android.intent.category.DEFAULT" />
41 </intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070042 </activity>
43
44 <activity
Steve McKayf2c8b0d2015-09-23 15:44:24 -070045 android:name=".LauncherActivity"
46 android:theme="@android:style/Theme.NoDisplay"
Steve McKay52cbfb82015-07-27 12:02:37 -070047 android:icon="@drawable/ic_files_app"
Daichi Hirono91252b82016-03-18 17:46:57 +090048 android:label="@string/downloads_label">
Steve McKayd0a2a2c2015-03-25 14:35:33 -070049 <intent-filter>
50 <action android:name="android.intent.action.MAIN" />
51 <category android:name="android.intent.category.LAUNCHER" />
52 </intent-filter>
Steve McKayf2c8b0d2015-09-23 15:44:24 -070053 </activity>
54
55 <activity
56 android:name=".FilesActivity"
Steve McKayf2484c72015-12-15 12:16:21 -080057 android:theme="@style/DocumentsTheme"
Steve McKayf2c8b0d2015-09-23 15:44:24 -070058 android:icon="@drawable/ic_files_app"
Daichi Hirono91252b82016-03-18 17:46:57 +090059 android:label="@string/downloads_label"
Steve McKayf2c8b0d2015-09-23 15:44:24 -070060 android:documentLaunchMode="intoExisting">
61 <intent-filter>
62 <action android:name="android.intent.action.MAIN" />
63 </intent-filter>
Steve McKay459bc2b2015-09-16 15:07:31 -070064 <intent-filter>
Steve McKay15b92782016-03-09 15:20:00 -080065 <action android:name="android.intent.action.VIEW_DOWNLOADS" />
66 <category android:name="android.intent.category.DEFAULT" />
67 </intent-filter>
68 <intent-filter>
Steve McKay8d45f5a2015-11-20 08:44:55 -080069 <action android:name="android.provider.action.BROWSE" />
Steve McKay459bc2b2015-09-16 15:07:31 -070070 <category android:name="android.intent.category.DEFAULT" />
71 <data android:mimeType="vnd.android.document/root" />
72 </intent-filter>
Tomasz Mikolajewski5a1e8792016-01-27 17:36:51 +090073 <intent-filter>
74 <action android:name="android.intent.action.VIEW" />
75 <category android:name="android.intent.category.DEFAULT" />
76 <data android:mimeType="application/zip"
77 android:host="com.android.providers.downloads.documents"
78 android:scheme="content" />
79 <data android:mimeType="application/x-zip"
80 android:host="com.android.providers.downloads.documents"
81 android:scheme="content" />
82 <data android:mimeType="application/x-zip-compressed"
83 android:host="com.android.providers.downloads.documents"
84 android:scheme="content" />
85 </intent-filter>
Steve McKayd0a2a2c2015-03-25 14:35:33 -070086 </activity>
87
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080088 <activity
89 android:name=".OpenExternalDirectoryActivity"
90 android:theme="@android:style/Theme.Translucent.NoTitleBar">
91 <intent-filter>
Felipe Leme5228bd02016-02-17 10:12:04 -080092 <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080093 <category android:name="android.intent.category.DEFAULT" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -080094 </intent-filter>
95 </activity>
96
Jeff Sharkey50d35622013-08-02 10:33:21 -070097 <provider
98 android:name=".RecentsProvider"
99 android:authorities="com.android.documentsui.recents"
Steve McKayd0a2a2c2015-03-25 14:35:33 -0700100 android:exported="false"/>
Jeff Sharkey50d35622013-08-02 10:33:21 -0700101
Jeff Sharkey2bfdedb2013-10-24 10:44:03 -0700102 <receiver android:name=".PackageReceiver">
103 <intent-filter>
104 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
105 <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
106 <data android:scheme="package" />
107 </intent-filter>
108 </receiver>
Ben Kwa41b26c12015-03-31 10:11:43 -0700109
Jeff Sharkey50254fe2016-03-11 17:25:11 -0700110 <receiver android:name=".BootReceiver">
111 <intent-filter>
112 <action android:name="android.intent.action.BOOT_COMPLETED" />
113 </intent-filter>
114 </receiver>
115
Ben Kwa41b26c12015-03-31 10:11:43 -0700116 <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>