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" |
Jeff Sharkey | a52f780 | 2019-01-30 15:11:54 -0700 | [diff] [blame] | 5 | android:versionCode="1013"> |
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" /> |
Mike Lockwood | 5dfdff7 | 2011-01-10 08:24:46 -0500 | [diff] [blame] | 13 | <uses-permission android:name="android.permission.ACCESS_MTP" /> |
Jeff Sharkey | 8efd65f | 2012-09-16 15:26:12 -0700 | [diff] [blame] | 14 | <uses-permission android:name="android.permission.MANAGE_USERS" /> |
| 15 | <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" /> |
Jerry Zhang | ae2909c | 2017-10-18 10:54:15 -0700 | [diff] [blame] | 16 | <uses-permission android:name="android.permission.READ_PHONE_STATE" /> |
Jeff Sharkey | 0c29eee | 2018-01-05 17:15:58 -0700 | [diff] [blame] | 17 | <uses-permission android:name="android.permission.USE_RESERVED_DISK" /> |
Mike Lockwood | 6759592 | 2011-01-06 14:14:56 -0500 | [diff] [blame] | 18 | |
Jeff Sharkey | 5a8bb56 | 2018-08-10 18:04:10 -0600 | [diff] [blame] | 19 | <uses-permission android:name="android.permission.READ_MEDIA_AUDIO" /> |
| 20 | <uses-permission android:name="android.permission.WRITE_MEDIA_AUDIO" /> |
| 21 | <uses-permission android:name="android.permission.READ_MEDIA_VIDEO" /> |
| 22 | <uses-permission android:name="android.permission.WRITE_MEDIA_VIDEO" /> |
| 23 | <uses-permission android:name="android.permission.READ_MEDIA_IMAGES" /> |
| 24 | <uses-permission android:name="android.permission.WRITE_MEDIA_IMAGES" /> |
| 25 | |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 26 | <application |
| 27 | android:process="android.process.media" |
| 28 | android:label="@string/app_label" |
| 29 | android:allowBackup="false" |
| 30 | android:supportsRtl="true" |
| 31 | android:usesCleartextTraffic="true"> |
| 32 | <provider |
| 33 | android:name=".MediaProvider" |
| 34 | android:authorities="media" |
| 35 | android:grantUriPermissions="true" |
Dianne Hackborn | 4a742fc | 2019-02-05 16:12:28 -0800 | [diff] [blame^] | 36 | android:forceUriPermissions="true" |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 37 | android:exported="true" /> |
Mike Lockwood | c7bbe23 | 2010-05-27 07:49:01 -0400 | [diff] [blame] | 38 | |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 39 | <provider |
Jeff Sharkey | 6d85688 | 2019-01-02 13:45:35 -0700 | [diff] [blame] | 40 | android:name=".MediaDocumentsProvider" |
| 41 | android:label="@string/storage_description" |
| 42 | android:authorities="com.android.providers.media.documents" |
| 43 | android:grantUriPermissions="true" |
| 44 | android:exported="true" |
| 45 | android:permission="android.permission.MANAGE_DOCUMENTS"> |
Jeff Sharkey | dd49212 | 2013-10-09 13:57:51 -0700 | [diff] [blame] | 46 | <intent-filter> |
| 47 | <action android:name="android.content.action.DOCUMENTS_PROVIDER" /> |
| 48 | </intent-filter> |
Jeff Sharkey | e215ab5 | 2013-08-16 17:25:26 -0700 | [diff] [blame] | 49 | </provider> |
| 50 | |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 51 | <!-- Handles database upgrades after OTAs, then disables itself --> |
| 52 | <receiver android:name="MediaUpgradeReceiver"> |
| 53 | <!-- This broadcast is sent after the core system has finished |
| 54 | booting, before the home app is launched or BOOT_COMPLETED |
| 55 | is sent. --> |
| 56 | <intent-filter> |
| 57 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 58 | </intent-filter> |
| 59 | </receiver> |
| 60 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 61 | <receiver android:name=".MediaReceiver"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 62 | <intent-filter> |
| 63 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
Niklas Brunlid | f776cde | 2018-06-06 16:48:23 +0200 | [diff] [blame] | 64 | <action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/> |
Sean Stout | cceb5e4 | 2017-09-08 11:16:00 -0700 | [diff] [blame] | 65 | <action android:name="android.intent.action.LOCALE_CHANGED" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 66 | </intent-filter> |
| 67 | <intent-filter> |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 68 | <action android:name="android.intent.action.PACKAGE_FULLY_REMOVED" /> |
| 69 | <action android:name="android.intent.action.PACKAGE_DATA_CLEARED" /> |
| 70 | <data android:scheme="package" /> |
| 71 | </intent-filter> |
| 72 | <intent-filter> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 73 | <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
| 74 | <data android:scheme="file" /> |
| 75 | </intent-filter> |
| 76 | <intent-filter> |
| 77 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" /> |
Jeff Sharkey | 3b21871 | 2019-01-23 22:36:13 -0700 | [diff] [blame] | 78 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_VOLUME" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 79 | <data android:scheme="file" /> |
| 80 | </intent-filter> |
| 81 | </receiver> |
| 82 | |
Jeff Sharkey | 7320f37 | 2018-09-12 15:14:24 -0600 | [diff] [blame] | 83 | <service |
| 84 | android:name=".IdleService" |
| 85 | android:exported="true" |
| 86 | android:permission="android.permission.BIND_JOB_SERVICE" /> |
| 87 | |
Jeff Sharkey | 5fdbd98 | 2019-01-20 11:03:28 -0700 | [diff] [blame] | 88 | <service |
| 89 | android:name=".MediaService" |
| 90 | android:exported="false" /> |
| 91 | |
| 92 | <service |
| 93 | android:name=".MediaScannerService" |
| 94 | android:exported="true"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 95 | <intent-filter> |
| 96 | <action android:name="android.media.IMediaScannerService" /> |
| 97 | </intent-filter> |
| 98 | </service> |
| 99 | |
Jerry Zhang | f505f0d | 2018-02-02 17:49:24 -0800 | [diff] [blame] | 100 | <receiver android:name=".MtpReceiver"> |
Jeff Sharkey | 8efd65f | 2012-09-16 15:26:12 -0700 | [diff] [blame] | 101 | <intent-filter> |
| 102 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 103 | </intent-filter> |
Mike Lockwood | abf8d09 | 2010-06-29 16:43:41 -0400 | [diff] [blame] | 104 | <intent-filter> |
Mike Lockwood | 99fd954 | 2011-03-02 11:22:29 -0800 | [diff] [blame] | 105 | <action android:name="android.hardware.usb.action.USB_STATE" /> |
Mike Lockwood | abf8d09 | 2010-06-29 16:43:41 -0400 | [diff] [blame] | 106 | </intent-filter> |
| 107 | </receiver> |
Jeff Sharkey | 8efd65f | 2012-09-16 15:26:12 -0700 | [diff] [blame] | 108 | |
Jerry Zhang | f505f0d | 2018-02-02 17:49:24 -0800 | [diff] [blame] | 109 | <service android:name="MtpService" /> |
Mike Lockwood | abf8d09 | 2010-06-29 16:43:41 -0400 | [diff] [blame] | 110 | |
Niklas Brunlid | f776cde | 2018-06-06 16:48:23 +0200 | [diff] [blame] | 111 | <service android:name="RingtoneOverlayService" /> |
| 112 | |
Jeff Sharkey | de2f00f | 2012-04-17 16:03:56 -0700 | [diff] [blame] | 113 | <activity android:name="RingtonePickerActivity" |
John Spurlock | 2ebc54e | 2014-07-20 12:21:34 -0400 | [diff] [blame] | 114 | android:theme="@style/PickerDialogTheme" |
Justin Klaassen | 6aee2ed | 2017-06-26 07:44:56 -0700 | [diff] [blame] | 115 | android:enabled="@*android:bool/config_defaultRingtonePickerEnabled" |
Jeff Sharkey | de2f00f | 2012-04-17 16:03:56 -0700 | [diff] [blame] | 116 | android:excludeFromRecents="true"> |
| 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.RINGTONE_PICKER" /> |
| 119 | <category android:name="android.intent.category.DEFAULT" /> |
| 120 | </intent-filter> |
| 121 | </activity> |
| 122 | |
Jeff Sharkey | c3088d8 | 2018-12-11 17:32:51 -0700 | [diff] [blame] | 123 | <activity |
| 124 | android:name=".PermissionActivity" |
| 125 | android:theme="@style/PickerDialogTheme" |
| 126 | android:permission="android.permission.WRITE_MEDIA_STORAGE" |
| 127 | android:excludeFromRecents="true" /> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 128 | </application> |
| 129 | </manifest> |