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 | 395ad25 | 2012-09-08 18:57:18 -0700 | [diff] [blame] | 5 | android:versionCode="510"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 6 | |
| 7 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> |
| 8 | <uses-permission android:name="android.permission.WRITE_SETTINGS" /> |
| 9 | <uses-permission android:name="android.permission.WAKE_LOCK" /> |
San Mehat | 2daeb8c | 2009-06-01 09:26:57 -0700 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Mike Lockwood | 71d36b0 | 2011-04-22 07:10:32 -0700 | [diff] [blame] | 11 | <uses-permission android:name="android.permission.WRITE_MEDIA_STORAGE" /> |
Mike Lockwood | 5dfdff7 | 2011-01-10 08:24:46 -0500 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.ACCESS_MTP" /> |
Mike Lockwood | 6759592 | 2011-01-06 14:14:56 -0500 | [diff] [blame] | 13 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 14 | <application android:process="android.process.media" |
Fabrice Di Meglio | 4a7bf68 | 2012-09-10 20:58:57 -0700 | [diff] [blame] | 15 | android:label="@string/app_label" |
| 16 | android:supportsRtl="true"> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 17 | <provider android:name="MediaProvider" android:authorities="media" |
Nick Kralevich | ddafaad | 2012-07-28 15:19:34 -0700 | [diff] [blame] | 18 | android:multiprocess="false" android:exported="true"> |
Jeff Sharkey | 3425d47 | 2012-03-20 11:15:37 -0700 | [diff] [blame] | 19 | <grant-uri-permission android:pathPrefix="/external/" /> |
| 20 | <path-permission |
Jeff Sharkey | 3425d47 | 2012-03-20 11:15:37 -0700 | [diff] [blame] | 21 | android:pathPrefix="/external/" |
| 22 | android:readPermission="android.permission.READ_EXTERNAL_STORAGE" |
| 23 | android:writePermission="android.permission.WRITE_EXTERNAL_STORAGE" /> |
| 24 | </provider> |
Mike Lockwood | c7bbe23 | 2010-05-27 07:49:01 -0400 | [diff] [blame] | 25 | |
Dianne Hackborn | fd8402c | 2011-08-18 19:46:51 -0700 | [diff] [blame] | 26 | <!-- Handles database upgrades after OTAs, then disables itself --> |
| 27 | <receiver android:name="MediaUpgradeReceiver"> |
| 28 | <!-- This broadcast is sent after the core system has finished |
| 29 | booting, before the home app is launched or BOOT_COMPLETED |
| 30 | is sent. --> |
| 31 | <intent-filter> |
| 32 | <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> |
| 33 | </intent-filter> |
| 34 | </receiver> |
| 35 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 36 | <receiver android:name="MediaScannerReceiver"> |
| 37 | <intent-filter> |
| 38 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 39 | </intent-filter> |
| 40 | <intent-filter> |
| 41 | <action android:name="android.intent.action.MEDIA_MOUNTED" /> |
| 42 | <data android:scheme="file" /> |
| 43 | </intent-filter> |
| 44 | <intent-filter> |
Mike Lockwood | 9c8c1df | 2011-04-06 11:55:32 -0400 | [diff] [blame] | 45 | <action android:name="android.intent.action.MEDIA_UNMOUNTED" /> |
| 46 | <data android:scheme="file" /> |
| 47 | </intent-filter> |
| 48 | <intent-filter> |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 49 | <action android:name="android.intent.action.MEDIA_SCANNER_SCAN_FILE" /> |
| 50 | <data android:scheme="file" /> |
| 51 | </intent-filter> |
| 52 | </receiver> |
| 53 | |
| 54 | <service android:name="MediaScannerService" android:exported="true"> |
| 55 | <intent-filter> |
| 56 | <action android:name="android.media.IMediaScannerService" /> |
| 57 | </intent-filter> |
| 58 | </service> |
| 59 | |
Mike Lockwood | abf8d09 | 2010-06-29 16:43:41 -0400 | [diff] [blame] | 60 | <receiver android:name="UsbReceiver"> |
| 61 | <intent-filter> |
Mike Lockwood | 99fd954 | 2011-03-02 11:22:29 -0800 | [diff] [blame] | 62 | <action android:name="android.hardware.usb.action.USB_STATE" /> |
Mike Lockwood | abf8d09 | 2010-06-29 16:43:41 -0400 | [diff] [blame] | 63 | </intent-filter> |
| 64 | </receiver> |
| 65 | |
| 66 | <service android:name="MtpService" /> |
| 67 | |
Jeff Sharkey | de2f00f | 2012-04-17 16:03:56 -0700 | [diff] [blame] | 68 | <activity android:name="RingtonePickerActivity" |
| 69 | android:theme="@*android:style/Theme.Holo.Dialog.Alert" |
| 70 | android:excludeFromRecents="true"> |
| 71 | <intent-filter> |
| 72 | <action android:name="android.intent.action.RINGTONE_PICKER" /> |
| 73 | <category android:name="android.intent.category.DEFAULT" /> |
| 74 | </intent-filter> |
| 75 | </activity> |
| 76 | |
The Android Open Source Project | 7021527 | 2009-03-03 19:32:43 -0800 | [diff] [blame] | 77 | </application> |
| 78 | </manifest> |