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 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 4 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 5 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 6 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
| 8 | |
Jeff Sharkey | 8efd65f | 2012-09-16 15:26:12 -0700 | [diff] [blame] | 9 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 10 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 11 | |
Jeff Sharkey | eeda7ba | 2019-05-17 18:48:04 -0600 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.WATCH_APPOPS" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> |
Jeff Sharkey | 7873f54 | 2019-05-30 12:18:38 -0600 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
Mike Lockwood | 6759592 | 2011-01-06 14:14:56 -0500 | [diff] [blame] | 15 | |
Philip P. Moltmann | d7ae503 | 2019-03-27 12:25:37 -0700 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 18 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Zim | a82cbb1 | 2020-01-27 13:41:20 +0000 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 59d85ba | 2019-11-12 15:25:55 -0700 | [diff] [blame] | 20 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Patrick Baumann | 7a2f8f3 | 2020-02-07 15:11:21 -0800 | [diff] [blame] | 21 | <uses-permission android:name="android.permission.QUERY_ALL_PACKAGES" /> |
shafik | 60c44c7 | 2020-06-08 13:52:10 +0100 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" /> |
Jeff Sharkey | 5a8bb56 | 2018-08-10 18:04:10 -0600 | [diff] [blame] | 23 | |
Abhijeet Kaur | b19f11a | 2020-02-10 11:35:03 +0000 | [diff] [blame] | 24 | <!-- Permissions required for reading and logging compat changes --> |
| 25 | <uses-permission android:name="android.permission.LOG_COMPAT_CHANGE"/> |
| 26 | <uses-permission android:name="android.permission.READ_COMPAT_CHANGE_CONFIG"/> |
| 27 | |
Zim | 24616e5 | 2020-12-01 17:38:48 +0000 | [diff] [blame] | 28 | <!-- Permissions required for reading device configs --> |
| 29 | <uses-permission android:name="android.permission.READ_DEVICE_CONFIG"/> |
| 30 | |
Makoto Onuki | 7816738 | 2020-12-10 09:58:59 -0800 | [diff] [blame^] | 31 | <uses-permission android:name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/> |
| 32 | |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 33 | <application |
Jeff Sharkey | c55994b | 2019-12-20 19:43:59 -0700 | [diff] [blame] | 34 | android:name="com.android.providers.media.MediaApplication" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 35 | android:label="@string/app_label" |
| 36 | android:allowBackup="false" |
| 37 | android:supportsRtl="true" |
Patrick Baumann | 7a2f8f3 | 2020-02-07 15:11:21 -0800 | [diff] [blame] | 38 | android:forceQueryable="true" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 39 | android:usesCleartextTraffic="true"> |
| 40 | <provider |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 41 | android:name="com.android.providers.media.MediaProvider" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 42 | android:authorities="media" |
| 43 | android:grantUriPermissions="true" |
Dianne Hackborn | 4a742fc | 2019-02-05 16:12:28 -0800 | [diff] [blame] | 44 | android:forceUriPermissions="true" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 45 | android:exported="true" /> |
Mike Lockwood | c7bbe23 | 2010-05-27 07:49:01 -0400 | [diff] [blame] | 46 | |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 47 | <provider |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 48 | android:name="com.android.providers.media.MediaDocumentsProvider" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 49 | android:label="@string/storage_description" |
| 50 | android:authorities="com.android.providers.media.documents" |
| 51 | android:grantUriPermissions="true" |
| 52 | android:exported="true" |
| 53 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | dd49212 | 2013-10-09 13:57:51 -0700 | [diff] [blame] | 54 | <intent-filter> |
| 55 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 56 | </intent-filter> |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 57 | </provider> |
| 58 | |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 59 | <!-- Handles database upgrades after OTAs, then disables itself --> |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 60 | <receiver android:name="com.android.providers.media.MediaUpgradeReceiver" |
| 61 | android:exported="true"> |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 62 | <!-- This broadcast is sent after the core system has finished |
| 63 | booting, before the home app is launched or BOOT_COMPLETED |
| 64 | is sent. --> |
| 65 | <intent-filter> |
| 66 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 67 | </intent-filter> |
| 68 | </receiver> |
| 69 | |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 70 | <receiver android:name="com.android.providers.media.MediaReceiver" |
| 71 | android:exported="true"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 72 | <intent-filter> |
| 73 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
Jeff Sharkey | 021aaf9 | 2019-08-21 14:10:30 -0600 | [diff] [blame] | 74 | </intent-filter> |
| 75 | <intent-filter> |
Sean Stout | cceb5e4 | 2017-09-08 11:16:00 -0700 | [diff] [blame] | 76 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 77 | </intent-filter> |
| 78 | <intent-filter> |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 79 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 80 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 81 | <data android:scheme="package" /> |
| 82 | </intent-filter> |
| 83 | <intent-filter> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 84 | <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
| 85 | <data android:scheme="file" /> |
| 86 | </intent-filter> |
| 87 | <intent-filter> |
| 88 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" /> |
| 89 | <data android:scheme="file" /> |
| 90 | </intent-filter> |
| 91 | </receiver> |
| 92 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 93 | <service |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 94 | android:name="com.android.providers.media.IdleService" |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 95 | android:exported="true" |
| 96 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 97 | |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 98 | <service |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 99 | android:name="com.android.providers.media.MediaService" |
Jeff Sharkey | 128a8b9 | 2019-11-13 08:58:10 -0700 | [diff] [blame] | 100 | android:exported="true" |
| 101 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 102 | |
Jeff Sharkey | 56c34e8 | 2019-11-21 15:56:37 -0700 | [diff] [blame] | 103 | <service android:name="com.android.providers.media.fuse.ExternalStorageServiceImpl" |
Ashwini Oruganti | 22820e6 | 2020-03-24 15:08:57 -0700 | [diff] [blame] | 104 | android:exported="true" |
Zim | 3e45d9b | 2019-08-19 21:14:14 +0100 | [diff] [blame] | 105 | android:permission="android.permission.BIND_EXTERNAL_STORAGE_SERVICE"> |
| 106 | <intent-filter> |
| 107 | <action android:name="android.service.storage.ExternalStorageService" /> |
| 108 | </intent-filter> |
| 109 | </service> |
| 110 | |
Jeff Sharkey | c3088d8 | 2018-12-11 17:32:51 -0700 | [diff] [blame] | 111 | <activity |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 112 | android:name="com.android.providers.media.PermissionActivity" |
Jeff Sharkey | a44e8fe | 2020-05-28 19:06:00 -0600 | [diff] [blame] | 113 | android:configChanges="orientation|keyboardHidden|screenSize" |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 114 | android:theme="@style/PickerDialogTheme" |
| 115 | android:exported="false" |
| 116 | android:excludeFromRecents="true" /> |
| 117 | |
| 118 | <activity |
| 119 | android:name="com.android.providers.media.CacheClearingActivity" |
Jeff Sharkey | a44e8fe | 2020-05-28 19:06:00 -0600 | [diff] [blame] | 120 | android:configChanges="orientation|keyboardHidden|screenSize" |
shafik | 77ed67b | 2020-02-06 18:27:35 +0000 | [diff] [blame] | 121 | android:exported="true" |
| 122 | android:theme="@style/CacheClearingAlertDialogTheme" |
| 123 | android:finishOnCloseSystemDialogs="true" |
| 124 | android:launchMode="singleTop" |
| 125 | android:excludeFromRecents="true" |
| 126 | android:visibleToInstantApps="true" |
| 127 | android:priority="100" > |
| 128 | <intent-filter> |
| 129 | <action android:name="android.os.storage.action.CLEAR_APP_CACHE" /> |
| 130 | <category android:name="android.intent.category.DEFAULT" /> |
| 131 | </intent-filter> |
| 132 | </activity> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 133 | </application> |
| 134 | </manifest> |