The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 1 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 2 | package="com.android.providers.media.module"> |
Ben Lin | 9720324 | 2017-03-17 11:09:50 -0700 | [diff] [blame] | 3 | |
Biswarup Pal | 6d66197 | 2021-09-08 09:25:06 +0000 | [diff] [blame] | 4 | <meta-data |
| 5 | android:name="com.android.providers.media.photopicker.data.glide.PickerGlideModule" |
| 6 | android:value="GlideModule" /> |
| 7 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 9 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 10 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 11 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
| 12 | |
Jeff Sharkey | 8efd65f | 2012-09-16 15:26:12 -0700 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 14 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Corina Grigoras | 53b32c1 | 2021-03-01 19:54:10 +0000 | [diff] [blame] | 15 | <!-- Permission required to prompt for the work profile to be turned on --> |
| 16 | <uses-permission android:name="android.permission.MODIFY_QUIET_MODE" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 17 | |
Jeff Sharkey | eeda7ba | 2019-05-17 18:48:04 -0600 | [diff] [blame] | 18 | <uses-permission android:name="android.permission.WATCH_APPOPS" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Jeff Sharkey | 7873f54 | 2019-05-30 12:18:38 -0600 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
Mike Lockwood | 6759592 | 2011-01-06 14:14:56 -0500 | [diff] [blame] | 21 | |
Philip P. Moltmann | d7ae503 | 2019-03-27 12:25:37 -0700 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 23 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 24 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Zim | a82cbb1 | 2020-01-27 13:41:20 +0000 | [diff] [blame] | 25 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 26 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Patrick Baumann | 7a2f8f3 | 2020-02-07 15:11:21 -0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
shafik | 60c44c7 | 2020-06-08 13:52:10 +0100 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> |
Steve Elliott | b6a753d | 2021-12-03 16:38:16 -0500 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.POST_NOTIFICATIONS" /> |
Jeff Sharkey | 5a8bb56 | 2018-08-10 18:04:10 -0600 | [diff] [blame] | 30 | |
Abhijeet Kaur | b19f11a | 2020-02-10 11:35:03 +0000 | [diff] [blame] | 31 | <!-- Permissions required for reading and logging compat changes --> |
| 32 | <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/> |
| 33 | <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/> |
| 34 | |
Zim | 24616e5 | 2020-12-01 17:38:48 +0000 | [diff] [blame] | 35 | <!-- Permissions required for reading device configs --> |
| 36 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/> |
| 37 | |
Makoto Onuki | 7816738 | 2020-12-10 09:58:59 -0800 | [diff] [blame] | 38 | <uses-permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/> |
| 39 | |
Manish Singh | 08ed499 | 2021-02-12 00:54:47 +0000 | [diff] [blame] | 40 | <!-- Permissions required for statsd pull metrics --> |
| 41 | <uses-permission android:name="android.permission.REGISTER_STATS_PULL_ATOM"/> |
| 42 | |
Zim | 2be6046 | 2021-03-30 18:01:43 +0100 | [diff] [blame] | 43 | <!-- Permissions required to check if an app is in the foreground or not during IO --> |
| 44 | <uses-permission android:name="android.permission.PACKAGE_USAGE_STATS" /> |
| 45 | |
Zim | 55f6417 | 2021-07-30 12:57:39 +0100 | [diff] [blame] | 46 | <!-- Permission required to access CloudMediaProviders. Declared by us --> |
| 47 | <uses-permission android:name="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" /> |
| 48 | |
| 49 | <permission android:name="com.android.providers.media.permission.MANAGE_CLOUD_MEDIA_PROVIDERS" |
| 50 | android:protectionLevel="signature" /> |
| 51 | |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 52 | <application |
Jeff Sharkey | c55994b | 2019-12-20 19:43:59 -0700 | [diff] [blame] | 53 | android:name="com.android.providers.media.MediaApplication" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 54 | android:label="@string/app_label" |
Asher Simonds | 5a1f1dc | 2018-02-12 10:28:12 +0100 | [diff] [blame] | 55 | android:icon="@mipmap/ic_launcher" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 56 | android:allowBackup="false" |
| 57 | android:supportsRtl="true" |
Patrick Baumann | 7a2f8f3 | 2020-02-07 15:11:21 -0800 | [diff] [blame] | 58 | android:forceQueryable="true" |
Abhijeet Kaur | 7334bac | 2021-06-11 20:04:48 +0100 | [diff] [blame] | 59 | android:usesCleartextTraffic="true" |
| 60 | android:crossProfile="true"> |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 61 | <provider |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 62 | android:name="com.android.providers.media.MediaProvider" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 63 | android:authorities="media" |
| 64 | android:grantUriPermissions="true" |
Dianne Hackborn | 4a742fc | 2019-02-05 16:12:28 -0800 | [diff] [blame] | 65 | android:forceUriPermissions="true" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 66 | android:exported="true" /> |
Mike Lockwood | c7bbe23 | 2010-05-27 07:49:01 -0400 | [diff] [blame] | 67 | |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 68 | <provider |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 69 | android:name="com.android.providers.media.MediaDocumentsProvider" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 70 | android:label="@string/storage_description" |
| 71 | android:authorities="com.android.providers.media.documents" |
| 72 | android:grantUriPermissions="true" |
| 73 | android:exported="true" |
| 74 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | dd49212 | 2013-10-09 13:57:51 -0700 | [diff] [blame] | 75 | <intent-filter> |
| 76 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 77 | </intent-filter> |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 78 | </provider> |
| 79 | |
Zim | 0fd7e1e | 2021-07-23 17:23:53 +0100 | [diff] [blame] | 80 | <provider |
| 81 | android:name="com.android.providers.media.photopicker.PhotoPickerProvider" |
| 82 | android:authorities="com.android.providers.media.photopicker" |
| 83 | android:exported="false" /> |
| 84 | |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 85 | <!-- Handles database upgrades after OTAs, then disables itself --> |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 86 | <receiver android:name="com.android.providers.media.MediaUpgradeReceiver" |
| 87 | android:exported="true"> |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 88 | <!-- This broadcast is sent after the core system has finished |
| 89 | booting, before the home app is launched or BOOT_COMPLETED |
| 90 | is sent. --> |
| 91 | <intent-filter> |
| 92 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 93 | </intent-filter> |
| 94 | </receiver> |
| 95 | |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 96 | <receiver android:name="com.android.providers.media.MediaReceiver" |
| 97 | android:exported="true"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 98 | <intent-filter> |
| 99 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
Jeff Sharkey | 021aaf9 | 2019-08-21 14:10:30 -0600 | [diff] [blame] | 100 | </intent-filter> |
| 101 | <intent-filter> |
Sean Stout | cceb5e4 | 2017-09-08 11:16:00 -0700 | [diff] [blame] | 102 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 103 | </intent-filter> |
| 104 | <intent-filter> |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 105 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 106 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 107 | <data android:scheme="package" /> |
| 108 | </intent-filter> |
| 109 | <intent-filter> |
Martijn Coenen | 45a23dc | 2021-07-23 14:22:43 +0200 | [diff] [blame] | 110 | <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
| 111 | <data android:scheme="file" /> |
| 112 | </intent-filter> |
| 113 | <intent-filter> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 114 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" /> |
| 115 | <data android:scheme="file" /> |
| 116 | </intent-filter> |
| 117 | </receiver> |
| 118 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 119 | <service |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 120 | android:name="com.android.providers.media.IdleService" |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 121 | android:exported="true" |
| 122 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 123 | |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 124 | <service |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 125 | android:name="com.android.providers.media.MediaService" |
Jeff Sharkey | 128a8b9 | 2019-11-13 08:58:10 -0700 | [diff] [blame] | 126 | android:exported="true" |
| 127 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 128 | |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 129 | <service android:name="com.android.providers.media.fuse.ExternalStorageServiceImpl" |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 130 | android:exported="true" |
Zim | 3e45d9b | 2019-08-19 21:14:14 +0100 | [diff] [blame] | 131 | android:permission="android.permission.BIND_EXTERNAL_STORAGE_SERVICE"> |
| 132 | <intent-filter> |
| 133 | <action android:name="android.service.storage.ExternalStorageService" /> |
| 134 | </intent-filter> |
| 135 | </service> |
| 136 | |
Jeff Sharkey | c3088d8 | 2018-12-11 17:32:51 -0700 | [diff] [blame] | 137 | <activity |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 138 | android:name="com.android.providers.media.PermissionActivity" |
Jeff Sharkey | a44e8fe | 2020-05-28 19:06:00 -0600 | [diff] [blame] | 139 | android:configChanges="orientation|keyboardHidden|screenSize" |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 140 | android:theme="@style/PickerDialogTheme" |
| 141 | android:exported="false" |
| 142 | android:excludeFromRecents="true" /> |
| 143 | |
| 144 | <activity |
| 145 | android:name="com.android.providers.media.CacheClearingActivity" |
Jeff Sharkey | a44e8fe | 2020-05-28 19:06:00 -0600 | [diff] [blame] | 146 | android:configChanges="orientation|keyboardHidden|screenSize" |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 147 | android:exported="true" |
| 148 | android:theme="@style/CacheClearingAlertDialogTheme" |
| 149 | android:finishOnCloseSystemDialogs="true" |
| 150 | android:launchMode="singleTop" |
| 151 | android:excludeFromRecents="true" |
| 152 | android:visibleToInstantApps="true" |
| 153 | android:priority="100" > |
| 154 | <intent-filter> |
| 155 | <action android:name="android.os.storage.action.CLEAR_APP_CACHE" /> |
| 156 | <category android:name="android.intent.category.DEFAULT" /> |
| 157 | </intent-filter> |
| 158 | </activity> |
Sahana Rao | 8eb767f | 2021-04-19 14:19:51 +0100 | [diff] [blame] | 159 | |
| 160 | <activity |
| 161 | android:name="com.android.providers.media.photopicker.PhotoPickerActivity" |
Sahana Rao | 7715942 | 2021-10-06 10:24:44 +0100 | [diff] [blame] | 162 | android:process=":PhotoPicker" |
Abhijeet Kaur | a6ff994 | 2022-04-01 11:47:07 +0100 | [diff] [blame] | 163 | android:label="@string/picker_app_label" |
| 164 | android:icon="@mipmap/picker_app_icon" |
Ivan Chiang | e89a1a4 | 2021-04-27 13:57:25 +0800 | [diff] [blame] | 165 | android:theme="@style/PickerDefaultTheme" |
Sahana Rao | 8eb767f | 2021-04-19 14:19:51 +0100 | [diff] [blame] | 166 | android:exported="true" |
Sahana Rao | f43df6a | 2022-09-30 21:34:45 +0100 | [diff] [blame] | 167 | android:excludeFromRecents="true" > |
| 168 | <intent-filter android:priority="100" > |
Sahana Rao | 8eb767f | 2021-04-19 14:19:51 +0100 | [diff] [blame] | 169 | <action android:name="android.provider.action.PICK_IMAGES" /> |
| 170 | <category android:name="android.intent.category.DEFAULT" /> |
Abhijeet Kaur | 8cb10e5 | 2021-06-23 15:05:19 +0100 | [diff] [blame] | 171 | <data android:mimeType="image/*" /> |
| 172 | <data android:mimeType="video/*" /> |
| 173 | </intent-filter> |
Sahana Rao | f43df6a | 2022-09-30 21:34:45 +0100 | [diff] [blame] | 174 | <intent-filter android:priority="100" > |
Abhijeet Kaur | 8cb10e5 | 2021-06-23 15:05:19 +0100 | [diff] [blame] | 175 | <action android:name="android.provider.action.PICK_IMAGES" /> |
| 176 | <category android:name="android.intent.category.DEFAULT" /> |
Sahana Rao | 8eb767f | 2021-04-19 14:19:51 +0100 | [diff] [blame] | 177 | </intent-filter> |
Abhijeet Kaur | 68f4a19 | 2022-04-26 10:53:29 +0000 | [diff] [blame] | 178 | </activity> |
| 179 | |
| 180 | <activity-alias |
| 181 | android:name="com.android.providers.media.photopicker.PhotoPickerGetContentActivity" |
| 182 | android:targetActivity="com.android.providers.media.photopicker.PhotoPickerActivity" |
| 183 | android:exported="true" |
| 184 | android:excludeFromRecents="true" |
| 185 | android:enabled="false"> |
Sahana Rao | 18bb018 | 2021-06-15 15:39:14 +0100 | [diff] [blame] | 186 | <intent-filter> |
| 187 | <action android:name="android.intent.action.GET_CONTENT" /> |
| 188 | <category android:name="android.intent.category.OPENABLE" /> |
| 189 | <category android:name="android.intent.category.DEFAULT" /> |
| 190 | <data android:mimeType="image/*" /> |
| 191 | <data android:mimeType="video/*" /> |
| 192 | </intent-filter> |
Abhijeet Kaur | 68f4a19 | 2022-04-26 10:53:29 +0000 | [diff] [blame] | 193 | </activity-alias> |
Sahana Rao | 18bb018 | 2021-06-15 15:39:14 +0100 | [diff] [blame] | 194 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 195 | </application> |
| 196 | </manifest> |