blob: 716e611a7b07a51c31c4040c093eeed59c1c35af [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" />
Austin Kolander012e8ba2017-06-27 14:58:22 -070010 <uses-permission android:name="android.permission.SET_PREFERRED_APPLICATIONS" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070011
Jeff Sharkey2e694f82013-08-06 16:26:14 -070012 <application
Jeff Sharkey873daa32013-08-18 17:38:20 -070013 android:name=".DocumentsApplication"
Jeff Sharkey2e694f82013-08-06 16:26:14 -070014 android:label="@string/app_label"
Steve McKayd5b9b0f2016-08-01 13:00:05 -070015 android:icon="@drawable/app_icon"
Chen Su24613682016-12-22 16:21:32 +000016 android:supportsRtl="true"
17 android:allowBackup="true"
18 android:backupAgent=".prefs.BackupAgent"
19 android:fullBackupOnly="false">
20
21 <meta-data
22 android:name="com.google.android.backup.api_key"
23 android:value="AEdPqrEAAAAInBA8ued0O_ZyYUsVhwinUF-x50NIe9K0GzBW4A" />
Jeff Sharkey2e694f82013-08-06 16:26:14 -070024
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070025 <activity
Steve McKay16e0c1f2016-09-15 12:41:13 -070026 android:name=".picker.PickActivity"
Jeff Sharkeye6fcceb2014-07-28 16:38:52 -070027 android:theme="@style/DocumentsTheme"
Chad Brubaker9fa78e32017-01-20 14:11:25 -080028 android:visibleToInstantApps="true">
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070029 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070030 <action android:name="android.intent.action.OPEN_DOCUMENT" />
31 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070032 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070033 <data android:mimeType="*/*" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070034 </intent-filter>
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070035 <intent-filter>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070036 <action android:name="android.intent.action.CREATE_DOCUMENT" />
Jeff Sharkeye22d02e2013-04-26 16:54:55 -070037 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkey1d890e02013-08-15 11:24:03 -070038 <category android:name="android.intent.category.OPENABLE" />
39 <data android:mimeType="*/*" />
40 </intent-filter>
41 <intent-filter android:priority="100">
42 <action android:name="android.intent.action.GET_CONTENT" />
43 <category android:name="android.intent.category.DEFAULT" />
44 <category android:name="android.intent.category.OPENABLE" />
Jeff Sharkey3c28b792013-07-01 17:22:02 -070045 <data android:mimeType="*/*" />
46 </intent-filter>
Jeff Sharkeyf339f252013-08-15 16:17:41 -070047 <intent-filter>
Jeff Sharkeyf4943e12014-06-04 16:42:47 -070048 <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" />
Jeff Sharkey6e565ff2014-04-05 19:05:24 -070049 <category android:name="android.intent.category.DEFAULT" />
50 </intent-filter>
Ben Kwa0574b182015-09-08 07:31:19 -070051 </activity>
52
53 <activity
Steve McKayb6006b22016-09-29 09:23:45 -070054 android:name=".files.LauncherActivity"
Steve McKay84740592017-03-08 12:35:22 -080055 android:label="@string/launcher_label"
56 android:icon="@drawable/launcher_icon"
Steve McKay17f7e582016-04-04 15:26:48 -070057 android:theme="@android:style/Theme.NoDisplay">
Steve McKay16e0c1f2016-09-15 12:41:13 -070058 </activity>
59
greensurferb9c83d32017-06-02 13:34:10 -070060 <activity
Steve McKayf433d202017-07-12 18:46:09 -070061 android:name=".inspector.InspectorActivity"
Austin Kolanderef5a0a52017-06-09 11:34:23 -070062 android:label="@string/menu_inspector"
greensurferb9c83d32017-06-02 13:34:10 -070063 android:icon="@drawable/launcher_icon"
64 android:theme="@style/DocumentsTheme">
65 </activity>
66
Steve McKay16e0c1f2016-09-15 12:41:13 -070067 <!-- Preserve original launcher activity from Nougat. -->
68 <activity-alias
Steve McKaye2b5ffe2017-06-22 10:21:15 -070069 android:name=".LauncherActivity"
Steve McKayb6006b22016-09-29 09:23:45 -070070 android:targetActivity=".files.LauncherActivity"
Rajeev Kumarf00ecc92017-09-14 10:31:47 -070071 android:enabled="@bool/is_launcher_enabled"
Steve McKay84740592017-03-08 12:35:22 -080072 android:label="@string/launcher_label"
73 android:icon="@drawable/launcher_icon" >
Steve McKayd0a2a2c2015-03-25 14:35:33 -070074 <intent-filter>
75 <action android:name="android.intent.action.MAIN" />
76 <category android:name="android.intent.category.LAUNCHER" />
77 </intent-filter>
Garfield Tan2e3cf1d2016-10-21 15:25:26 -070078 <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" />
Steve McKay16e0c1f2016-09-15 12:41:13 -070079 </activity-alias>
Steve McKayf2c8b0d2015-09-23 15:44:24 -070080
81 <activity
Steve McKayb6006b22016-09-29 09:23:45 -070082 android:name=".files.FilesActivity"
Steve McKay17f7e582016-04-04 15:26:48 -070083 android:documentLaunchMode="intoExisting"
84 android:theme="@style/DocumentsTheme">
Steve McKayf2c8b0d2015-09-23 15:44:24 -070085 <intent-filter>
86 <action android:name="android.intent.action.MAIN" />
87 </intent-filter>
Steve McKay459bc2b2015-09-16 15:07:31 -070088 <intent-filter>
Garfield Tanc5efea02017-02-22 12:58:29 -080089 <action android:name="android.intent.action.VIEW" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <data android:mimeType="vnd.android.document/root" />
92 </intent-filter>
93 <intent-filter>
94 <action android:name="android.intent.action.VIEW" />
Garfield Tanf8969d62017-02-02 16:55:55 -080095 <category android:name="android.intent.category.DEFAULT" />
96 <data android:mimeType="vnd.android.document/directory" />
97 </intent-filter>
Ben Lin5fb1bcc2017-05-16 15:34:00 -070098 </activity>
99
100 <activity-alias android:name="ViewDownloadsActivity"
101 android:targetActivity=".files.FilesActivity"
102 android:enabled="@bool/handle_view_downloads_intent">
Garfield Tanf8969d62017-02-02 16:55:55 -0800103 <intent-filter>
Steve McKay17f7e582016-04-04 15:26:48 -0700104 <action android:name="android.intent.action.VIEW_DOWNLOADS" />
105 <category android:name="android.intent.category.DEFAULT" />
106 </intent-filter>
Ben Lin5fb1bcc2017-05-16 15:34:00 -0700107 </activity-alias>
Steve McKayd0a2a2c2015-03-25 14:35:33 -0700108
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800109 <activity
110 android:name=".OpenExternalDirectoryActivity"
111 android:theme="@android:style/Theme.Translucent.NoTitleBar">
112 <intent-filter>
Felipe Leme5228bd02016-02-17 10:12:04 -0800113 <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800114 <category android:name="android.intent.category.DEFAULT" />
Felipe Lemea4f4d7e2016-01-22 16:49:55 -0800115 </intent-filter>
116 </activity>
117
Jeff Sharkey50d35622013-08-02 10:33:21 -0700118 <provider
Steve McKayd0805062016-09-15 14:30:38 -0700119 android:name=".picker.LastAccessedProvider"
Ben Lin7232bf02016-08-26 14:33:03 -0700120 android:authorities="com.android.documentsui.lastAccessed"
Steve McKayd0a2a2c2015-03-25 14:35:33 -0700121 android:exported="false"/>
Jeff Sharkey50d35622013-08-02 10:33:21 -0700122
Tomasz Mikolajewskidbd6b8b2016-09-29 15:27:37 +0900123 <provider
124 android:name=".archives.ArchivesProvider"
125 android:authorities="com.android.documentsui.archives"
126 android:grantUriPermissions="true"
127 android:permission="android.permission.MANAGE_DOCUMENTS"
Tomasz Mikolajewskibf6cfdc2017-02-13 13:14:30 +0900128 android:exported="true">
129 <intent-filter>
130 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
131 </intent-filter>
132 </provider>
Tomasz Mikolajewskidbd6b8b2016-09-29 15:27:37 +0900133
Jeff Sharkey2bfdedb2013-10-24 10:44:03 -0700134 <receiver android:name=".PackageReceiver">
135 <intent-filter>
136 <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" />
137 <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" />
138 <data android:scheme="package" />
139 </intent-filter>
140 </receiver>
Ben Kwa41b26c12015-03-31 10:11:43 -0700141
Steve McKayd9caa6a2016-09-15 16:36:45 -0700142 <receiver android:name=".roots.BootReceiver" android:enabled="false">
Jeff Sharkey50254fe2016-03-11 17:25:11 -0700143 <intent-filter>
144 <action android:name="android.intent.action.BOOT_COMPLETED" />
145 </intent-filter>
146 </receiver>
147
Garfield, Tanedce5542016-06-17 15:32:28 -0700148 <!-- Run FileOperationService in a separate process so that we can use FileLock class to
149 wait until jumbo clip is done writing to disk before reading it. See ClipStorage for
150 details. -->
Ben Kwa41b26c12015-03-31 10:11:43 -0700151 <service
Steve McKayc83baa02016-01-06 18:32:13 -0800152 android:name=".services.FileOperationService"
Garfield, Tanedce5542016-06-17 15:32:28 -0700153 android:exported="false"
154 android:process=":com.android.documentsui.services">
Ben Kwa41b26c12015-03-31 10:11:43 -0700155 </service>
Jeff Sharkeye22d02e2013-04-26 16:54:55 -0700156 </application>
157</manifest>