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 </provider> 36 37 <provider android:name="CallLogProvider" 38 android:authorities="call_log" 39 android:syncable="false" android:multiprocess="false" 40 android:readPermission="android.permission.READ_CONTACTS" 41 android:writePermission="android.permission.WRITE_CONTACTS"> 42 </provider> 43 44 <!-- TODO: create permissions for social data --> 45 <provider android:name="SocialProvider" 46 android:authorities="com.android.social" 47 android:syncable="false" 48 android:multiprocess="false" 49 android:readPermission="android.permission.READ_CONTACTS" 50 android:writePermission="android.permission.WRITE_CONTACTS" /> 51 52 <!-- Handles database upgrades after OTAs, then disables itself --> 53 <receiver android:name="ContactsUpgradeReceiver"> 54 <!-- This broadcast is sent after the core system has finished 55 booting, before the home app is launched or BOOT_COMPLETED 56 is sent. --> 57 <intent-filter> 58 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/> 59 </intent-filter> 60 </receiver> 61 </application> 62 </manifest> 63