blob: 69bcbc2d996200e779fb418745eb028d756de28f [file] [log] [blame]
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.documentsui">
3
Felipe Leme560d23a2016-02-17 17:10:45 -08004 <uses-permission android:name="android.permission.GET_APP_GRANTED_URI_PERMISSIONS" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -07005 <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" />
Jeff Sharkey7aa76012013-09-30 14:26:27 -07006 <uses-permission android:name="android.permission.REMOVE_TASKS" />
Jeff Sharkey3c12a7c2015-10-01 15:14:57 -07007 <uses-permission android:name="android.permission.WAKE_LOCK" />
Jeff Sharkey87314082016-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 Sharkey9e0036e2013-04-26 16:54:55 -070010
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -070011 <application
Jeff Sharkey4eb407a2013-08-18 17:38:20 -070012 android:name=".DocumentsApplication"
Jeff Sharkeyb156f4b2013-08-06 16:26:14 -070013 android:label="@string/app_label"
14 android:supportsRtl="true">
15
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070016 <activity
17 android:name=".DocumentsActivity"
Jeff Sharkeyf52773f2014-07-28 16:38:52 -070018 android:theme="@style/DocumentsTheme"
Jeff Sharkey5545f562013-09-21 13:57:33 -070019 android:icon="@drawable/ic_doc_text">
Jeff Sharkey21de56a2014-04-05 19:05:24 -070020 <intent-filter>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070021 <action android:name="android.intent.action.OPEN_DOCUMENT" />
22 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey54ca29a2013-08-15 11:24:03 -070023 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey14827892013-07-01 17:22:02 -070024 <data android:mimeType="*/*" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070025 </intent-filter>
Jeff Sharkey21de56a2014-04-05 19:05:24 -070026 <intent-filter>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070027 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkey9e0036e2013-04-26 16:54:55 -070028 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey54ca29a2013-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 Sharkey14827892013-07-01 17:22:02 -070036 <data android:mimeType="*/*" />
37 </intent-filter>
Jeff Sharkeya5599ef2013-08-15 16:17:41 -070038 <intent-filter>
Jeff Sharkeyb9fbb722014-06-04 16:42:47 -070039 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey21de56a2014-04-05 19:05:24 -070040 <category android:name="android.intent.category.DEFAULT" />
41 </intent-filter>
Ben Kwa0f7078f02015-09-08 07:31:19 -070042 </activity>
43
44 <activity
Steve McKay9f9d5b42015-09-23 15:44:24 -070045 android:name=".LauncherActivity"
Steve McKay53f109b32016-04-04 15:26:48 -070046 android:label="@string/downloads_label"
47 android:icon="@mipmap/ic_launcher_downloads"
48 android:theme="@android:style/Theme.NoDisplay">
Steve McKaye934ce62015-03-25 14:35:33 -070049 <intent-filter>
50 <action android:name="android.intent.action.MAIN" />
Steve McKay080d71b2016-03-04 19:52:55 +000051 <category android:name="android.intent.category.LAUNCHER" />
Steve McKaye934ce62015-03-25 14:35:33 -070052 </intent-filter>
Steve McKay9f9d5b42015-09-23 15:44:24 -070053 </activity>
54
55 <activity
56 android:name=".FilesActivity"
Daichi Hirono2917fa92016-03-18 17:46:57 +090057 android:label="@string/downloads_label"
Steve McKay53f109b32016-04-04 15:26:48 -070058 android:icon="@mipmap/ic_launcher_downloads"
59 android:documentLaunchMode="intoExisting"
60 android:theme="@style/DocumentsTheme">
Steve McKay9f9d5b42015-09-23 15:44:24 -070061 <intent-filter>
62 <action android:name="android.intent.action.MAIN" />
63 </intent-filter>
Steve McKay83df8c02015-09-16 15:07:31 -070064 <intent-filter>
Steve McKay6c880852015-11-20 08:44:55 -080065 <action android:name="android.provider.action.BROWSE" />
Steve McKay83df8c02015-09-16 15:07:31 -070066 <category android:name="android.intent.category.DEFAULT" />
67 <data android:mimeType="vnd.android.document/root" />
68 </intent-filter>
Tomasz Mikolajewskia6120da2016-01-27 17:36:51 +090069 <intent-filter>
Steve McKay53f109b32016-04-04 15:26:48 -070070 <action android:name="android.intent.action.VIEW_DOWNLOADS" />
71 <category android:name="android.intent.category.DEFAULT" />
72 </intent-filter>
73 <intent-filter>
Tomasz Mikolajewskia6120da2016-01-27 17:36:51 +090074 <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 McKaye934ce62015-03-25 14:35:33 -070086 </activity>
87
Felipe Lemeb012f912016-01-22 16:49:55 -080088 <activity
89 android:name=".OpenExternalDirectoryActivity"
90 android:theme="@android:style/Theme.Translucent.NoTitleBar">
91 <intent-filter>
Felipe Leme34a9d522016-02-17 10:12:04 -080092 <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
Felipe Lemeb012f912016-01-22 16:49:55 -080093 <category android:name="android.intent.category.DEFAULT" />
Felipe Lemeb012f912016-01-22 16:49:55 -080094 </intent-filter>
95 </activity>
96
Jeff Sharkey92d7e692013-08-02 10:33:21 -070097 <provider
98 android:name=".RecentsProvider"
99 android:authorities="com.android.documentsui.recents"
Steve McKaye934ce62015-03-25 14:35:33 -0700100 android:exported="false"/>
Jeff Sharkey92d7e692013-08-02 10:33:21 -0700101
Jeff Sharkey758f97e2013-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 Kwad99109f2015-03-31 10:11:43 -0700109
Jeff Sharkeye090b792016-03-18 15:22:25 -0600110 <receiver android:name=".BootReceiver" android:enabled="false">
Jeff Sharkey87314082016-03-11 17:25:11 -0700111 <intent-filter>
112 <action android:name="android.intent.action.BOOT_COMPLETED" />
113 </intent-filter>
114 </receiver>
115
Garfield, Tanf46958b2016-06-17 15:32:28 -0700116 <!-- Run FileOperationService in a separate process so that we can use FileLock class to
117 wait until jumbo clip is done writing to disk before reading it. See ClipStorage for
118 details. -->
Ben Kwad99109f2015-03-31 10:11:43 -0700119 <service
Steve McKay14e827a2016-01-06 18:32:13 -0800120 android:name=".services.FileOperationService"
Garfield, Tanf46958b2016-06-17 15:32:28 -0700121 android:exported="false"
122 android:process=":com.android.documentsui.services">
Ben Kwad99109f2015-03-31 10:11:43 -0700123 </service>
Jeff Sharkey9e0036e2013-04-26 16:54:55 -0700124 </application>
125</manifest>