1 <manifest xmlns:android="http://schemas.android.com/apk/res/android" 2 package="com.android.providers.contacts" 3 android:sharedUserId="android.uid.shared"> 4 5 <uses-permission android:name="android.permission.READ_CONTACTS" /> 6 <uses-permission android:name="android.permission.WRITE_CONTACTS" /> 7 <uses-permission android:name="android.permission.GET_ACCOUNTS" /> 8 <uses-permission android:name="android.permission.READ_SYNC_STATS" /> 9 <uses-permission android:name="android.permission.INTERNET" /> 10 <uses-permission android:name="android.permission.USE_CREDENTIALS" /> 11 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" /> 12 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cp" /> 13 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" /> 14 <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" /> 15 16 <application android:process="android.process.acore" 17 android:label="@string/app_label" 18 android:icon="@drawable/app_icon"> 19 20 <provider android:name="ContactsProvider2" 21 android:authorities="contacts;com.android.contacts" 22 android:label="@string/provider_label" 23 android:multiprocess="false" 24 android:readPermission="android.permission.READ_CONTACTS" 25 android:writePermission="android.permission.WRITE_CONTACTS"> 26 <path-permission 27 android:pathPrefix="/search_suggest_query" 28 android:readPermission="android.permission.GLOBAL_SEARCH" /> 29 <path-permission 30 android:pathPrefix="/search_suggest_shortcut" 31 android:readPermission="android.permission.GLOBAL_SEARCH" /> 32 <path-permission 33 android:pathPattern="/contacts/.*/photo" 34 android:readPermission="android.permission.GLOBAL_SEARCH" /> 35 <grant-uri-permission android:pathPattern=".*" /> 36 </provider> 37 38 <provider android:name="CallLogProvider" 39 android:authorities="call_log" 40 android:syncable="false" android:multiprocess="false" 41 android:readPermission="android.permission.READ_CONTACTS" 42 android:writePermission="android.permission.WRITE_CONTACTS"> 43 </provider> 44 45 <!-- TODO: create permissions for social data --> 46 <provider android:name="SocialProvider" 47 android:authorities="com.android.social" 48 android:syncable="false" 49 android:multiprocess="false" 50 android:readPermission="android.permission.READ_CONTACTS" 51 android:writePermission="android.permission.WRITE_CONTACTS" /> 52 53 <!-- Handles database upgrades after OTAs, then disables itself --> 54 <receiver android:name="ContactsUpgradeReceiver"> 55 <!-- This broadcast is sent after the core system has finished 56 booting, before the home app is launched or BOOT_COMPLETED 57 is sent. --> 58 <intent-filter> 59 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> 60 </intent-filter> 61 </receiver> 62 </application> 63 </manifest> 64