1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.providers.contacts" 3 android:sharedUserId="android.uid.shared" 4 android:sharedUserLabel="@string/sharedUserLabel"> 5 6 <permission 7 android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" 8 android:label="@string/read_write_all_voicemail_label" 9 android:description="@string/read_write_all_voicemail_description" 10 android:permissionGroup="android.permission-group.PERSONAL_INFO" 11 android:protectionLevel="system|signature" 12 /> 13 14 <uses-permission android:name="android.permission.READ_CONTACTS" /> 15 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 16 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 17 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> 18 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 19 <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" /> 20 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" /> 21 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> 22 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" /> 23 <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" /> 24 25 <application android:process="android.process.acore" 26 android:label="@string/app_label" 27 android:icon="@drawable/app_icon" 28 android:allowBackup="false"> 29 30 <provider android:name="ContactsProvider2" 31 android:authorities="contacts;com.android.contacts" 32 android:label="@string/provider_label" 33 android:multiprocess="false" 34 android:exported="true" 35 android:readPermission="android.permission.READ_CONTACTS" 36 android:writePermission="android.permission.WRITE_CONTACTS"> 37 <path-permission 38 android:pathPrefix="/search_suggest_query" 39 android:readPermission="android.permission.GLOBAL_SEARCH" /> 40 <path-permission 41 android:pathPrefix="/search_suggest_shortcut" 42 android:readPermission="android.permission.GLOBAL_SEARCH" /> 43 <path-permission 44 android:pathPattern="/contacts/.*/photo" 45 android:readPermission="android.permission.GLOBAL_SEARCH" /> 46 <grant-uri-permission android:pathPattern=".*" /> 47 </provider> 48 49 <provider android:name="CallLogProvider" 50 android:authorities="call_log" 51 android:syncable="false" android:multiprocess="false" 52 android:exported="true" 53 android:readPermission="android.permission.READ_CALL_LOG" 54 android:writePermission="android.permission.WRITE_CALL_LOG"> 55 </provider> 56 57 <provider android:name="VoicemailContentProvider" 58 android:authorities="com.android.voicemail" 59 android:syncable="false" android:multiprocess="false" 60 android:exported="true" 61 android:permission="com.android.voicemail.permission.ADD_VOICEMAIL"> 62 </provider> 63 64 <!-- Handles database upgrades after OTAs, then disables itself --> 65 <receiver android:name="ContactsUpgradeReceiver"> 66 <!-- This broadcast is sent after the core system has finished 67 booting, before the home app is launched or BOOT_COMPLETED 68 is sent. --> 69 <intent-filter> 70 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> 71 </intent-filter> 72 </receiver> 73 74 <receiver android:name="PackageIntentReceiver"> 75 <intent-filter> 76 <action android:name="android.intent.action.PACKAGE_ADDED" /> 77 <data android:scheme="package" /> 78 </intent-filter> 79 <intent-filter> 80 <action android:name="android.intent.action.PACKAGE_REPLACED" /> 81 <data android:scheme="package" /> 82 </intent-filter> 83 <intent-filter> 84 <action android:name="android.intent.action.PACKAGE_REMOVED" /> 85 <data android:scheme="package" /> 86 </intent-filter> 87 <intent-filter> 88 <action android:name="android.intent.action.PACKAGE_CHANGED" /> 89 <data android:scheme="package" /> 90 </intent-filter> 91 </receiver> 92 93 <receiver android:name="LocaleChangeReceiver"> 94 <intent-filter> 95 <action android:name="android.intent.action.LOCALE_CHANGED"/> 96 </intent-filter> 97 </receiver> 98 99 <service android:name="VoicemailCleanupService"/> 100 101 <activity android:name=".debug.ContactsDumpActivity" 102 android:label="@string/debug_dump_title" 103 android:theme="@android:style/Theme.Holo.Dialog" 104 > 105 <intent-filter> 106 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/> 107 <category android:name="android.intent.category.DEFAULT"/> 108 </intent-filter> 109 </activity> 110 111 <provider android:name=".debug.DumpFileProvider" 112 android:authorities="com.android.contacts.dumpfile" 113 android:exported="true"> 114 </provider> 115 116 </application> 117 </manifest> 118