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 | |
Zemiao Zhu | 6f99d9d | 2021-01-22 14:25:11 -0800 | [diff] [blame] | 22 | <uses-sdk android:minSdkVersion="29" android:targetSdkVersion="30"/> |
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 | |
Makoto Onuki | dacd6f2 | 2020-12-10 09:55:08 -0800 | [diff] [blame] | 39 | <uses-permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/> |
| 40 | |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 41 | <application |
Jeff Sharkey | 873daa3 | 2013-08-18 17:38:20 -0700 | [diff] [blame] | 42 | android:name=".DocumentsApplication" |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 43 | android:label="@string/app_label" |
Asher Simonds | 04e4b9a | 2018-02-12 10:25:56 +0100 | [diff] [blame] | 44 | android:icon="@mipmap/ic_launcher" |
Chen Su | 2461368 | 2016-12-22 16:21:32 +0000 | [diff] [blame] | 45 | android:supportsRtl="true" |
| 46 | android:allowBackup="true" |
| 47 | android:backupAgent=".prefs.BackupAgent" |
Joey | 846d346 | 2018-01-25 12:16:21 +0100 | [diff] [blame] | 48 | android:appCategory="productivity" |
Kelvin Kwan | 33a186c | 2020-02-14 11:51:21 +0000 | [diff] [blame] | 49 | android:fullBackupOnly="false" |
| 50 | android:crossProfile="true"> |
Chen Su | 2461368 | 2016-12-22 16:21:32 +0000 | [diff] [blame] | 51 | |
| 52 | <meta-data |
| 53 | android:name="com.google.android.backup.api_key" |
| 54 | android:value="AEdPqrEAAAAInBA8ued0O_ZyYUsVhwinUF-x50NIe9K0GzBW4A" /> |
Jeff Sharkey | 2e694f8 | 2013-08-06 16:26:14 -0700 | [diff] [blame] | 55 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 56 | <activity |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 57 | android:name=".picker.PickActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 58 | android:exported="true" |
Diksha Gohlyan | 306a2b6 | 2020-05-21 14:43:42 -0700 | [diff] [blame] | 59 | android:theme="@style/LauncherTheme" |
Chad Brubaker | 9fa78e3 | 2017-01-20 14:11:25 -0800 | [diff] [blame] | 60 | android:visibleToInstantApps="true"> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 61 | <intent-filter android:priority="100"> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 62 | <action android:name="android.intent.action.OPEN_DOCUMENT" /> |
| 63 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 64 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 65 | <data android:mimeType="*/*" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 66 | </intent-filter> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 67 | <intent-filter android:priority="100"> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 68 | <action android:name="android.intent.action.CREATE_DOCUMENT" /> |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 69 | <category android:name="android.intent.category.DEFAULT" /> |
Jeff Sharkey | 1d890e0 | 2013-08-15 11:24:03 -0700 | [diff] [blame] | 70 | <category android:name="android.intent.category.OPENABLE" /> |
| 71 | <data android:mimeType="*/*" /> |
| 72 | </intent-filter> |
| 73 | <intent-filter android:priority="100"> |
| 74 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <category android:name="android.intent.category.OPENABLE" /> |
Jeff Sharkey | 3c28b79 | 2013-07-01 17:22:02 -0700 | [diff] [blame] | 77 | <data android:mimeType="*/*" /> |
| 78 | </intent-filter> |
Ivan Chiang | 4a7d2a8 | 2019-11-12 10:47:01 +0800 | [diff] [blame] | 79 | <intent-filter android:priority="100"> |
Jeff Sharkey | f4943e1 | 2014-06-04 16:42:47 -0700 | [diff] [blame] | 80 | <action android:name="android.intent.action.OPEN_DOCUMENT_TREE" /> |
Jeff Sharkey | 6e565ff | 2014-04-05 19:05:24 -0700 | [diff] [blame] | 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | </intent-filter> |
Ben Kwa | 0574b18 | 2015-09-08 07:31:19 -0700 | [diff] [blame] | 83 | </activity> |
| 84 | |
| 85 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 86 | android:name=".files.LauncherActivity" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 87 | android:label="@string/launcher_label" |
| 88 | android:icon="@drawable/launcher_icon" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 89 | android:theme="@android:style/Theme.NoDisplay"> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 90 | </activity> |
| 91 | |
greensurfer | b9c83d3 | 2017-06-02 13:34:10 -0700 | [diff] [blame] | 92 | <activity |
Steve McKay | f433d20 | 2017-07-12 18:46:09 -0700 | [diff] [blame] | 93 | android:name=".inspector.InspectorActivity" |
Steve McKay | 9e8b9c0 | 2017-08-17 11:24:02 -0700 | [diff] [blame] | 94 | android:label="@string/menu_inspect" |
greensurfer | b9c83d3 | 2017-06-02 13:34:10 -0700 | [diff] [blame] | 95 | android:icon="@drawable/launcher_icon" |
| 96 | android:theme="@style/DocumentsTheme"> |
| 97 | </activity> |
| 98 | |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 99 | <!-- Preserve original launcher activity from Nougat. --> |
| 100 | <activity-alias |
Steve McKay | e2b5ffe | 2017-06-22 10:21:15 -0700 | [diff] [blame] | 101 | android:name=".LauncherActivity" |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 102 | android:targetActivity=".files.LauncherActivity" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 103 | android:label="@string/launcher_label" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 104 | android:exported="true" |
Steve McKay | 8474059 | 2017-03-08 12:35:22 -0800 | [diff] [blame] | 105 | android:icon="@drawable/launcher_icon" > |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 106 | <intent-filter> |
| 107 | <action android:name="android.intent.action.MAIN" /> |
| 108 | <category android:name="android.intent.category.LAUNCHER" /> |
Jeff Sharkey | 83e7e7c | 2019-04-09 09:33:28 -0600 | [diff] [blame] | 109 | <category android:name="android.intent.category.APP_FILES" /> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 110 | </intent-filter> |
Garfield Tan | 2e3cf1d | 2016-10-21 15:25:26 -0700 | [diff] [blame] | 111 | <meta-data android:name="android.app.shortcuts" android:resource="@xml/shortcuts" /> |
Steve McKay | 16e0c1f | 2016-09-15 12:41:13 -0700 | [diff] [blame] | 112 | </activity-alias> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 113 | |
| 114 | <activity |
Steve McKay | b6006b2 | 2016-09-29 09:23:45 -0700 | [diff] [blame] | 115 | android:name=".files.FilesActivity" |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 116 | android:documentLaunchMode="intoExisting" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 117 | android:exported="true" |
Diksha Gohlyan | 306a2b6 | 2020-05-21 14:43:42 -0700 | [diff] [blame] | 118 | android:theme="@style/LauncherTheme"> |
Steve McKay | f2c8b0d | 2015-09-23 15:44:24 -0700 | [diff] [blame] | 119 | <intent-filter> |
| 120 | <action android:name="android.intent.action.MAIN" /> |
| 121 | </intent-filter> |
Steve McKay | 459bc2b | 2015-09-16 15:07:31 -0700 | [diff] [blame] | 122 | <intent-filter> |
Garfield Tan | c5efea0 | 2017-02-22 12:58:29 -0800 | [diff] [blame] | 123 | <action android:name="android.intent.action.VIEW" /> |
| 124 | <category android:name="android.intent.category.DEFAULT" /> |
| 125 | <data android:mimeType="vnd.android.document/root" /> |
| 126 | </intent-filter> |
| 127 | <intent-filter> |
| 128 | <action android:name="android.intent.action.VIEW" /> |
Garfield Tan | f8969d6 | 2017-02-02 16:55:55 -0800 | [diff] [blame] | 129 | <category android:name="android.intent.category.DEFAULT" /> |
| 130 | <data android:mimeType="vnd.android.document/directory" /> |
| 131 | </intent-filter> |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 132 | </activity> |
| 133 | |
Tony Huang | c39b0b2 | 2019-06-10 16:55:20 +0800 | [diff] [blame] | 134 | <activity-alias android:name=".ViewDownloadsActivity" |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 135 | android:targetActivity=".files.FilesActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 136 | android:exported="true" |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 137 | android:enabled="@bool/handle_view_downloads_intent"> |
Garfield Tan | f8969d6 | 2017-02-02 16:55:55 -0800 | [diff] [blame] | 138 | <intent-filter> |
Steve McKay | 17f7e58 | 2016-04-04 15:26:48 -0700 | [diff] [blame] | 139 | <action android:name="android.intent.action.VIEW_DOWNLOADS" /> |
| 140 | <category android:name="android.intent.category.DEFAULT" /> |
| 141 | </intent-filter> |
Ben Lin | 5fb1bcc | 2017-05-16 15:34:00 -0700 | [diff] [blame] | 142 | </activity-alias> |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 143 | |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 144 | <activity |
Felipe Leme | 433d78a | 2018-01-08 16:39:00 -0800 | [diff] [blame] | 145 | android:name=".ScopedAccessActivity" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 146 | android:exported="true" |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 147 | android:theme="@android:style/Theme.Translucent.NoTitleBar"> |
| 148 | <intent-filter> |
Felipe Leme | 5228bd0 | 2016-02-17 10:12:04 -0800 | [diff] [blame] | 149 | <action android:name="android.os.storage.action.OPEN_EXTERNAL_DIRECTORY" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 150 | <category android:name="android.intent.category.DEFAULT" /> |
Felipe Leme | a4f4d7e | 2016-01-22 16:49:55 -0800 | [diff] [blame] | 151 | </intent-filter> |
| 152 | </activity> |
| 153 | |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 154 | <provider |
Steve McKay | d080506 | 2016-09-15 14:30:38 -0700 | [diff] [blame] | 155 | android:name=".picker.LastAccessedProvider" |
Ben Lin | 7232bf0 | 2016-08-26 14:33:03 -0700 | [diff] [blame] | 156 | android:authorities="com.android.documentsui.lastAccessed" |
Steve McKay | d0a2a2c | 2015-03-25 14:35:33 -0700 | [diff] [blame] | 157 | android:exported="false"/> |
Jeff Sharkey | 50d3562 | 2013-08-02 10:33:21 -0700 | [diff] [blame] | 158 | |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 159 | <provider |
shawnlin | e0ba46d | 2019-01-25 15:21:26 +0800 | [diff] [blame] | 160 | android:name=".picker.PickCountRecordProvider" |
| 161 | android:authorities="com.android.documentsui.pickCountRecord" |
| 162 | android:exported="false"/> |
| 163 | |
| 164 | <provider |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 165 | android:name=".archives.ArchivesProvider" |
| 166 | android:authorities="com.android.documentsui.archives" |
| 167 | android:grantUriPermissions="true" |
| 168 | android:permission="android.permission.MANAGE_DOCUMENTS" |
Tomasz Mikolajewski | bf6cfdc | 2017-02-13 13:14:30 +0900 | [diff] [blame] | 169 | android:exported="true"> |
| 170 | <intent-filter> |
| 171 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 172 | </intent-filter> |
| 173 | </provider> |
Tomasz Mikolajewski | dbd6b8b | 2016-09-29 15:27:37 +0900 | [diff] [blame] | 174 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 175 | <receiver android:name=".PackageReceiver" |
| 176 | android:exported="true"> |
Jeff Sharkey | 2bfdedb | 2013-10-24 10:44:03 -0700 | [diff] [blame] | 177 | <intent-filter> |
| 178 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 179 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 180 | <data android:scheme="package" /> |
| 181 | </intent-filter> |
| 182 | </receiver> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 183 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 184 | <receiver android:name=".roots.BootReceiver" android:enabled="false" |
| 185 | android:exported="true"> |
Jeff Sharkey | 50254fe | 2016-03-11 17:25:11 -0700 | [diff] [blame] | 186 | <intent-filter> |
| 187 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 188 | </intent-filter> |
| 189 | </receiver> |
| 190 | |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 191 | <receiver android:name=".PreBootReceiver" |
| 192 | android:exported="true"> |
Tony Huang | c39b0b2 | 2019-06-10 16:55:20 +0800 | [diff] [blame] | 193 | <intent-filter> |
| 194 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED" /> |
| 195 | </intent-filter> |
| 196 | </receiver> |
| 197 | |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 198 | <!-- Run FileOperationService in a separate process so that we can use FileLock class to |
| 199 | wait until jumbo clip is done writing to disk before reading it. See ClipStorage for |
| 200 | details. --> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 201 | <service |
Steve McKay | c83baa0 | 2016-01-06 18:32:13 -0800 | [diff] [blame] | 202 | android:name=".services.FileOperationService" |
Garfield, Tan | edce554 | 2016-06-17 15:32:28 -0700 | [diff] [blame] | 203 | android:exported="false" |
| 204 | android:process=":com.android.documentsui.services"> |
Ben Kwa | 41b26c1 | 2015-03-31 10:11:43 -0700 | [diff] [blame] | 205 | </service> |
Steve McKay | 08d0d56 | 2017-09-25 14:21:58 -0700 | [diff] [blame] | 206 | |
| 207 | <activity |
| 208 | android:name=".selection.demo.SelectionDemoActivity" |
| 209 | android:label="Selection Demo" |
Ashwini Oruganti | cdd2cd1 | 2020-03-24 10:11:09 -0700 | [diff] [blame] | 210 | android:exported="true" |
Bill Lin | 81a9ea7 | 2019-01-16 22:27:36 +0800 | [diff] [blame] | 211 | android:theme="@style/DocumentsTheme"> |
Steve McKay | 08d0d56 | 2017-09-25 14:21:58 -0700 | [diff] [blame] | 212 | <intent-filter> |
| 213 | <action android:name="android.intent.action.MAIN" /> |
| 214 | </intent-filter> |
| 215 | </activity> |
| 216 | |
Jeff Sharkey | e22d02e | 2013-04-26 16:54:55 -0700 | [diff] [blame] | 217 | </application> |
| 218 | </manifest> |