blob: 737aaf2a81aeed701ce2dbcd7840d02d78956967 [file] [log] [blame]
The Android Open Source Project70215272009-03-03 19:32:43 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.providers.media"
3 android:sharedUserId="android.media"
Marco Nelissen90c7da02012-02-17 09:25:39 -08004 android:sharedUserLabel="@string/uid_label"
shafikef01db12019-05-17 17:18:34 +01005 android:versionCode="1023">
Ben Lin97203242017-03-17 11:09:50 -07006
The Android Open Source Project70215272009-03-03 19:32:43 -08007 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
Niklas Brunlidf776cde2018-06-06 16:48:23 +02008 <uses-permission android:name="android.permission.RECEIVE_DEVICE_CUSTOMIZATION_READY" />
The Android Open Source Project70215272009-03-03 19:32:43 -08009 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
10 <uses-permission android:name="android.permission.WAKE_LOCK" />
San Mehat2daeb8c2009-06-01 09:26:57 -070011 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Mike Lockwood71d36b02011-04-22 07:10:32 -070012 <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" />
Jeff Sharkey8efd65f2012-09-16 15:26:12 -070013 <uses-permission android:name="android.permission.MANAGE_USERS" />
14 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Jeff Sharkey0c29eee2018-01-05 17:15:58 -070015 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Jeff Sharkeyeeda7ba2019-05-17 18:48:04 -060016 <uses-permission android:name="android.permission.WATCH_APPOPS" />
Jeff Sharkey7873f542019-05-30 12:18:38 -060017 <uses-permission android:name="android.permission.UPDATE_DEVICE_STATS" />
Mike Lockwood67595922011-01-06 14:14:56 -050018
Philip P. Moltmannd7ae5032019-03-27 12:25:37 -070019 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Jeff Sharkey5a8bb562018-08-10 18:04:10 -060020
Jeff Sharkey6d856882019-01-02 13:45:35 -070021 <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 Hackborn4a742fc2019-02-05 16:12:28 -080031 android:forceUriPermissions="true"
Jeff Sharkey6d856882019-01-02 13:45:35 -070032 android:exported="true" />
Mike Lockwoodc7bbe232010-05-27 07:49:01 -040033
Jeff Sharkeye215ab52013-08-16 17:25:26 -070034 <provider
Jeff Sharkey6d856882019-01-02 13:45:35 -070035 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 Sharkeydd492122013-10-09 13:57:51 -070041 <intent-filter>
42 <action android:name="android.content.action.DOCUMENTS_PROVIDER" />
43 </intent-filter>
Jeff Sharkeye215ab52013-08-16 17:25:26 -070044 </provider>
45
Dianne Hackbornfd8402c2011-08-18 19:46:51 -070046 <!-- 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 Sharkey7320f372018-09-12 15:14:24 -060056 <receiver android:name=".MediaReceiver">
The Android Open Source Project70215272009-03-03 19:32:43 -080057 <intent-filter>
58 <action android:name="android.intent.action.BOOT_COMPLETED" />
Niklas Brunlidf776cde2018-06-06 16:48:23 +020059 <action android:name="android.intent.action.DEVICE_CUSTOMIZATION_READY"/>
Sean Stoutcceb5e42017-09-08 11:16:00 -070060 <action android:name="android.intent.action.LOCALE_CHANGED" />
The Android Open Source Project70215272009-03-03 19:32:43 -080061 </intent-filter>
62 <intent-filter>
Jeff Sharkey7320f372018-09-12 15:14:24 -060063 <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 Project70215272009-03-03 19:32:43 -080068 <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 Sharkey7320f372018-09-12 15:14:24 -060077 <service
78 android:name=".IdleService"
79 android:exported="true"
80 android:permission="android.permission.BIND_JOB_SERVICE" />
81
Jeff Sharkey5fdbd982019-01-20 11:03:28 -070082 <service
83 android:name=".MediaService"
84 android:exported="false" />
85
86 <service
87 android:name=".MediaScannerService"
88 android:exported="true">
The Android Open Source Project70215272009-03-03 19:32:43 -080089 <intent-filter>
90 <action android:name="android.media.IMediaScannerService" />
91 </intent-filter>
92 </service>
93
Niklas Brunlidf776cde2018-06-06 16:48:23 +020094 <service android:name="RingtoneOverlayService" />
95
Jeff Sharkeyde2f00f2012-04-17 16:03:56 -070096 <activity android:name="RingtonePickerActivity"
John Spurlock2ebc54e2014-07-20 12:21:34 -040097 android:theme="@style/PickerDialogTheme"
Justin Klaassen6aee2ed2017-06-26 07:44:56 -070098 android:enabled="@*android:bool/config_defaultRingtonePickerEnabled"
Jeff Sharkeyde2f00f2012-04-17 16:03:56 -070099 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 Sharkeyc3088d82018-12-11 17:32:51 -0700106 <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 Project70215272009-03-03 19:32:43 -0800111 </application>
112</manifest>