Leif Hendrik Wilden | 4205349 | 2018-01-03 11:16:09 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <!-- |
| 3 | /* |
| 4 | * Copyright (C) 2007-2017 The Android Open Source Project |
| 5 | * |
| 6 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 7 | * you may not use this file except in compliance with the License. |
| 8 | * You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, software |
| 13 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 14 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 15 | * See the License for the specific language governing permissions and |
| 16 | * limitations under the License. |
| 17 | */ |
| 18 | --> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 19 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 20 | package="com.android.documentsui"> |
| 21 | |
Nikita Ioffe | 1b846dc | 2020-05-20 00:22:26 +0100 | [diff] [blame] | 22 | <uses-sdk android:minSdkVersion="29" /> |
Diksha Gohlyan | 841c79a | 2020-03-11 15:36:26 -0700 | [diff] [blame] | 23 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.MANAGE_DOCUMENTS" /> |
Jeff Sharkey | 3fd1177 | 2013-09-30 14:26:27 -0700 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.REMOVE_TASKS" /> |
Dianne Hackborn | 7c44ee1 | 2018-01-19 17:56:45 -0800 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
Jeff Sharkey | 2205680 | 2015-10-01 15:14:57 -0700 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Sharkey | 50254fe | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.CACHE_CONTENT" /> |
| 29 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Bill Lin | 24499e6 | 2019-05-14 18:15:42 +0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.CHANGE_OVERLAY_PACKAGES" /> |
Kelvin Kwan | 9403f9f | 2020-01-23 15:48:03 +0000 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Kelvin Kwan | 34810bc | 2020-03-02 16:52:59 +0000 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.MODIFY_QUIET_MODE" /> |
Diksha Gohlyan | 3a79b56 | 2020-11-03 15:16:58 -0800 | [diff] [blame] | 33 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 34 | |
Ivan Chiang | f0f7d2e | 2020-02-27 14:44:07 +0800 | [diff] [blame] | 35 | <!-- Permissions required for reading and logging compat changes --> |
| 36 | <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/> |
| 37 | <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/> |
| 38 | |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 39 | <application |
Jeff Sharkey | 873daa3 | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 40 | android:name=".DocumentsApplication" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 41 | android:label="@string/app_label" |
Steve McKay | d5b9b0f | 2016-08-01 13:00:05 -0700 | [diff] [blame] | 42 | android:icon="@drawable/app_icon" |
Chen Su | 2461368 | 2016-12-22 16:21:32 +0000 | [diff] [blame] | 43 | android:supportsRtl="true" |
| 44 | android:allowBackup="true" |
| 45 | android:backupAgent=".prefs.BackupAgent" |
Kelvin Kwan | 33a186c | 2020-02-14 11:51:21 +0000 | [diff] [blame] | 46 | android:fullBackupOnly="false" |
| 47 | android:crossProfile="true"> |
Chen Su | 2461368 | 2016-12-22 16:21:32 +0000 | [diff] [blame] | 48 | |
| 49 | <meta-data |
| 50 | android:name="com.google.android.backup.api_key" |
| 51 | android:value="AEdPqrEAAAAInBA8ued0O_ZyYUsVhwinUF-x50NIe9K0GzBW4A" /> |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 52 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 53 | <activity |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 54 | android:name=".picker.PickActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 55 | android:exported="true" |
Diksha Gohlyan | 306a2b6 | 2020-05-21 14:43:42 -0700 | [diff] [blame] | 56 | android:theme="@style/LauncherTheme" |
Chad Brubaker | 9fa78e3 | 2017-01-20 14:11:25 -0800 | [diff] [blame] | 57 | android:visibleToInstantApps="true"> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 58 | <intent-filter android:priority="100"> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 59 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 60 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 61 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 62 | <data android:mimeType="*/*" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 63 | </intent-filter> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 64 | <intent-filter android:priority="100"> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 65 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 66 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 67 | <category android:name="android.intent.category.OPENABLE" /> |
| 68 | <data android:mimeType="*/*" /> |
| 69 | </intent-filter> |
| 70 | <intent-filter android:priority="100"> |
| 71 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 72 | <category android:name="android.intent.category.DEFAULT" /> |
| 73 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 74 | <data android:mimeType="*/*" /> |
| 75 | </intent-filter> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 76 | <intent-filter android:priority="100"> |
Jeff Sharkey | f4943e1 | 2014-06-04 16:42:47 -0700 | [diff] [blame] | 77 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
Jeff Sharkey | 6e565ff | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 78 | <category android:name="android.intent.category.DEFAULT" /> |
| 79 | </intent-filter> |
Ben Kwa | 0574b18 | 2015-09-08 07:31:19 -0700 | [diff] [blame] | 80 | </activity> |
| 81 | |
| 82 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 83 | android:name=".files.LauncherActivity" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 84 | android:label="@string/launcher_label" |
| 85 | android:icon="@drawable/launcher_icon" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 86 | android:theme="@android:style/Theme.NoDisplay"> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 87 | </activity> |
| 88 | |
greensurfer | b9c83d3 | 2017-06-02 13:34:10 -0700 | [diff] [blame] | 89 | <activity |
Steve McKay | f433d20 | 2017-07-12 18:46:09 -0700 | [diff] [blame] | 90 | android:name=".inspector.InspectorActivity" |
Steve McKay | 9e8b9c0 | 2017-08-17 11:24:02 -0700 | [diff] [blame] | 91 | android:label="@string/menu_inspect" |
greensurfer | b9c83d3 | 2017-06-02 13:34:10 -0700 | [diff] [blame] | 92 | android:icon="@drawable/launcher_icon" |
| 93 | android:theme="@style/DocumentsTheme"> |
| 94 | </activity> |
| 95 | |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 96 | <!-- Preserve original launcher activity from Nougat. --> |
| 97 | <activity-alias |
Steve McKay | e2b5ffe | 2017-06-22 10:21:15 -0700 | [diff] [blame] | 98 | android:name=".LauncherActivity" |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 99 | android:targetActivity=".files.LauncherActivity" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 100 | android:label="@string/launcher_label" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 101 | android:exported="true" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 102 | android:icon="@drawable/launcher_icon" > |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 103 | <intent-filter> |
| 104 | <action android:name="android.intent.action.MAIN" /> |
| 105 | <category android:name="android.intent.category.LAUNCHER" /> |
Jeff Sharkey | 83e7e7c | 2019-04-09 09:33:28 -0600 | [diff] [blame] | 106 | <category android:name="android.intent.category.APP_FILES" /> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 107 | </intent-filter> |
Garfield Tan | 2e3cf1d | 2016-10-21 15:25:26 -0700 | [diff] [blame] | 108 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" /> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 109 | </activity-alias> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 110 | |
| 111 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 112 | android:name=".files.FilesActivity" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 113 | android:documentLaunchMode="intoExisting" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 114 | android:exported="true" |
Diksha Gohlyan | 306a2b6 | 2020-05-21 14:43:42 -0700 | [diff] [blame] | 115 | android:theme="@style/LauncherTheme"> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 116 | <intent-filter> |
| 117 | <action android:name="android.intent.action.MAIN" /> |
| 118 | </intent-filter> |
Steve McKay | 459bc2b | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 119 | <intent-filter> |
Garfield Tan | c5efea0 | 2017-02-22 12:58:29 -0800 | [diff] [blame] | 120 | <action android:name="android.intent.action.VIEW" /> |
| 121 | <category android:name="android.intent.category.DEFAULT" /> |
| 122 | <data android:mimeType="vnd.android.document/root" /> |
| 123 | </intent-filter> |
| 124 | <intent-filter> |
| 125 | <action android:name="android.intent.action.VIEW" /> |
Garfield Tan | f8969d6 | 2017-02-02 16:55:55 -0800 | [diff] [blame] | 126 | <category android:name="android.intent.category.DEFAULT" /> |
| 127 | <data android:mimeType="vnd.android.document/directory" /> |
| 128 | </intent-filter> |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 129 | </activity> |
| 130 | |
Tony Huang | c39b0b2 | 2019-06-10 16:55:20 +0800 | [diff] [blame] | 131 | <activity-alias android:name=".ViewDownloadsActivity" |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 132 | android:targetActivity=".files.FilesActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 133 | android:exported="true" |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 134 | android:enabled="@bool/handle_view_downloads_intent"> |
Garfield Tan | f8969d6 | 2017-02-02 16:55:55 -0800 | [diff] [blame] | 135 | <intent-filter> |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 136 | <action android:name="android.intent.action.VIEW_DOWNLOADS" /> |
| 137 | <category android:name="android.intent.category.DEFAULT" /> |
| 138 | </intent-filter> |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 139 | </activity-alias> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 140 | |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 141 | <activity |
Felipe Leme | 433d78a | 2018-01-08 16:39:00 -0800 | [diff] [blame] | 142 | android:name=".ScopedAccessActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 143 | android:exported="true" |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 144 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| 145 | <intent-filter> |
Felipe Leme | 5228bd0 | 2016-02-17 10:12:04 -0800 | [diff] [blame] | 146 | <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 147 | <category android:name="android.intent.category.DEFAULT" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 148 | </intent-filter> |
| 149 | </activity> |
| 150 | |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 151 | <provider |
Steve McKay | d080506 | 2016-09-15 14:30:38 -0700 | [diff] [blame] | 152 | android:name=".picker.LastAccessedProvider" |
Ben Lin | 7232bf0 | 2016-08-26 14:33:03 -0700 | [diff] [blame] | 153 | android:authorities="com.android.documentsui.lastAccessed" |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 154 | android:exported="false"/> |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 155 | |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 156 | <provider |
shawnlin | e0ba46d | 2019-01-25 15:21:26 +0800 | [diff] [blame] | 157 | android:name=".picker.PickCountRecordProvider" |
| 158 | android:authorities="com.android.documentsui.pickCountRecord" |
| 159 | android:exported="false"/> |
| 160 | |
| 161 | <provider |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 162 | android:name=".archives.ArchivesProvider" |
| 163 | android:authorities="com.android.documentsui.archives" |
| 164 | android:grantUriPermissions="true" |
| 165 | android:permission="android.permission.MANAGE_DOCUMENTS" |
Tomasz Mikolajewski | bf6cfdc | 2017-02-13 13:14:30 +0900 | [diff] [blame] | 166 | android:exported="true"> |
| 167 | <intent-filter> |
| 168 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 169 | </intent-filter> |
| 170 | </provider> |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 171 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 172 | <receiver android:name=".PackageReceiver" |
| 173 | android:exported="true"> |
Jeff Sharkey | 2bfdedb | 2013-10-24 10:44:03 -0700 | [diff] [blame] | 174 | <intent-filter> |
| 175 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 176 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 177 | <data android:scheme="package" /> |
| 178 | </intent-filter> |
| 179 | </receiver> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 180 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 181 | <receiver android:name=".roots.BootReceiver" android:enabled="false" |
| 182 | android:exported="true"> |
Jeff Sharkey | 50254fe | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 183 | <intent-filter> |
| 184 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 185 | </intent-filter> |
| 186 | </receiver> |
| 187 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 188 | <receiver android:name=".PreBootReceiver" |
| 189 | android:exported="true"> |
Tony Huang | c39b0b2 | 2019-06-10 16:55:20 +0800 | [diff] [blame] | 190 | <intent-filter> |
| 191 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED" /> |
| 192 | </intent-filter> |
| 193 | </receiver> |
| 194 | |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 195 | <!-- Run FileOperationService in a separate process so that we can use FileLock class to |
| 196 | wait until jumbo clip is done writing to disk before reading it. See ClipStorage for |
| 197 | details. --> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 198 | <service |
Steve McKay | c83baa0 | 2016-01-06 18:32:13 -0800 | [diff] [blame] | 199 | android:name=".services.FileOperationService" |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 200 | android:exported="false" |
| 201 | android:process=":com.android.documentsui.services"> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 202 | </service> |
Steve McKay | 08d0d56 | 2017-09-25 14:21:58 -0700 | [diff] [blame] | 203 | |
| 204 | <activity |
| 205 | android:name=".selection.demo.SelectionDemoActivity" |
| 206 | android:label="Selection Demo" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 207 | android:exported="true" |
Bill Lin | 81a9ea7 | 2019-01-16 22:27:36 +0800 | [diff] [blame] | 208 | android:theme="@style/DocumentsTheme"> |
Steve McKay | 08d0d56 | 2017-09-25 14:21:58 -0700 | [diff] [blame] | 209 | <intent-filter> |
| 210 | <action android:name="android.intent.action.MAIN" /> |
| 211 | </intent-filter> |
| 212 | </activity> |
| 213 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 214 | </application> |
| 215 | </manifest> |