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" |
| 2 | package="com.android.providers.media" |
| 3 | android:sharedUserId="android.media" |
Marco Nelissen | 90c7da0 | 2012-02-17 09:25:39 -0800 | [diff] [blame] | 4 | android:sharedUserLabel="@string/uid_label" |
shafik | ef01db1 | 2019-05-17 17:18:34 +0100 | [diff] [blame] | 5 | android:versionCode="1023"> |
Ben Lin | 9720324 | 2017-03-17 11:09:50 -0700 | [diff] [blame] | 6 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 7 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
Niklas Brunlid | f776cde | 2018-06-06 16:48:23 +0200 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 9 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 10 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
San Mehat | 2daeb8c | 2009-06-01 09:26:57 -0700 | [diff] [blame] | 11 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Mike Lockwood | 71d36b0 | 2011-04-22 07:10:32 -0700 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
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" /> |
Jeff Sharkey | 0c29eee | 2018-01-05 17:15:58 -0700 | [diff] [blame] | 15 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Jeff Sharkey | eeda7ba | 2019-05-17 18:48:04 -0600 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.WATCH_APPOPS" /> |
Jeff Sharkey | 7873f54 | 2019-05-30 12:18:38 -0600 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" /> |
Mike Lockwood | 6759592 | 2011-01-06 14:14:56 -0500 | [diff] [blame] | 18 | |
Philip P. Moltmann | d7ae503 | 2019-03-27 12:25:37 -0700 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /> |
Jeff Sharkey | 5a8bb56 | 2018-08-10 18:04:10 -0600 | [diff] [blame] | 20 | |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 21 | <application |
| 22 | android:process="android.process.media" |
| 23 | android:label="@string/app_label" |
| 24 | android:allowBackup="false" |
| 25 | android:supportsRtl="true" |
| 26 | android:usesCleartextTraffic="true"> |
| 27 | <provider |
| 28 | android:name=".MediaProvider" |
| 29 | android:authorities="media" |
| 30 | android:grantUriPermissions="true" |
Dianne Hackborn | 4a742fc | 2019-02-05 16:12:28 -0800 | [diff] [blame] | 31 | android:forceUriPermissions="true" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 32 | android:exported="true" /> |
Mike Lockwood | c7bbe23 | 2010-05-27 07:49:01 -0400 | [diff] [blame] | 33 | |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 34 | <provider |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 35 | android:name=".MediaDocumentsProvider" |
| 36 | android:label="@string/storage_description" |
| 37 | android:authorities="com.android.providers.media.documents" |
| 38 | android:grantUriPermissions="true" |
| 39 | android:exported="true" |
| 40 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | dd49212 | 2013-10-09 13:57:51 -0700 | [diff] [blame] | 41 | <intent-filter> |
| 42 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 43 | </intent-filter> |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 44 | </provider> |
| 45 | |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 46 | <!-- Handles database upgrades after OTAs, then disables itself --> |
| 47 | <receiver android:name="MediaUpgradeReceiver"> |
| 48 | <!-- This broadcast is sent after the core system has finished |
| 49 | booting, before the home app is launched or BOOT_COMPLETED |
| 50 | is sent. --> |
| 51 | <intent-filter> |
| 52 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 53 | </intent-filter> |
| 54 | </receiver> |
| 55 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 56 | <receiver android:name=".MediaReceiver"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
Niklas Brunlid | f776cde | 2018-06-06 16:48:23 +0200 | [diff] [blame] | 59 | <action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/> |
Sean Stout | cceb5e4 | 2017-09-08 11:16:00 -0700 | [diff] [blame] | 60 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 61 | </intent-filter> |
| 62 | <intent-filter> |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 63 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 64 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 65 | <data android:scheme="package" /> |
| 66 | </intent-filter> |
| 67 | <intent-filter> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 68 | <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
| 69 | <data android:scheme="file" /> |
| 70 | </intent-filter> |
| 71 | <intent-filter> |
| 72 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" /> |
| 73 | <data android:scheme="file" /> |
| 74 | </intent-filter> |
| 75 | </receiver> |
| 76 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 77 | <service |
| 78 | android:name=".IdleService" |
| 79 | android:exported="true" |
| 80 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 81 | |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 82 | <service |
| 83 | android:name=".MediaService" |
| 84 | android:exported="false" /> |
| 85 | |
| 86 | <service |
| 87 | android:name=".MediaScannerService" |
| 88 | android:exported="true"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 89 | <intent-filter> |
| 90 | <action android:name="android.media.IMediaScannerService" /> |
| 91 | </intent-filter> |
| 92 | </service> |
| 93 | |
Niklas Brunlid | f776cde | 2018-06-06 16:48:23 +0200 | [diff] [blame] | 94 | <service android:name="RingtoneOverlayService" /> |
| 95 | |
Jeff Sharkey | de2f00f | 2012-04-17 16:03:56 -0700 | [diff] [blame] | 96 | <activity android:name="RingtonePickerActivity" |
John Spurlock | 2ebc54e | 2014-07-20 12:21:34 -0400 | [diff] [blame] | 97 | android:theme="@style/PickerDialogTheme" |
Justin Klaassen | 6aee2ed | 2017-06-26 07:44:56 -0700 | [diff] [blame] | 98 | android:enabled="@*android:bool/config_defaultRingtonePickerEnabled" |
Jeff Sharkey | de2f00f | 2012-04-17 16:03:56 -0700 | [diff] [blame] | 99 | android:excludeFromRecents="true"> |
| 100 | <intent-filter> |
| 101 | <action android:name="android.intent.action.RINGTONE_PICKER" /> |
| 102 | <category android:name="android.intent.category.DEFAULT" /> |
| 103 | </intent-filter> |
| 104 | </activity> |
| 105 | |
Jeff Sharkey | c3088d8 | 2018-12-11 17:32:51 -0700 | [diff] [blame] | 106 | <activity |
| 107 | android:name=".PermissionActivity" |
| 108 | android:theme="@style/PickerDialogTheme" |
| 109 | android:permission="android.permission.WRITE_MEDIA_STORAGE" |
| 110 | android:excludeFromRecents="true" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 111 | </application> |
| 112 | </manifest> |