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