Home | History | Annotate | Download | only in ContactsProvider
      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="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.READ_SYNC_STATS" />
     18     <uses-permission android:name="android.permission.INTERNET" />
     19     <uses-permission android:name="android.permission.USE_CREDENTIALS" />
     20     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH" />
     21     <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.cp" />
     22     <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_READ" />
     23     <uses-permission android:name="android.permission.SUBSCRIBED_FEEDS_WRITE" />
     24     <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
     25     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
     26 
     27     <application android:process="android.process.acore"
     28         android:label="@string/app_label"
     29         android:icon="@drawable/app_icon"
     30         android:allowBackup="false">
     31 
     32         <provider android:name="ContactsProvider2"
     33             android:authorities="contacts;com.android.contacts"
     34             android:label="@string/provider_label"
     35             android:multiprocess="false"
     36             android:readPermission="android.permission.READ_CONTACTS"
     37             android:writePermission="android.permission.WRITE_CONTACTS">
     38             <path-permission
     39                     android:pathPrefix="/search_suggest_query"
     40                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     41             <path-permission
     42                     android:pathPrefix="/search_suggest_shortcut"
     43                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     44             <path-permission
     45                     android:pathPattern="/contacts/.*/photo"
     46                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     47             <grant-uri-permission android:pathPattern=".*" />
     48         </provider>
     49 
     50         <provider android:name="CallLogProvider"
     51             android:authorities="call_log"
     52             android:syncable="false" android:multiprocess="false"
     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:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
     61         </provider>
     62 
     63         <!-- Handles database upgrades after OTAs, then disables itself -->
     64         <receiver android:name="ContactsUpgradeReceiver">
     65             <!-- This broadcast is sent after the core system has finished
     66                  booting, before the home app is launched or BOOT_COMPLETED
     67                  is sent. -->
     68             <intent-filter>
     69                 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
     70             </intent-filter>
     71         </receiver>
     72 
     73         <receiver android:name="PackageIntentReceiver">
     74             <intent-filter>
     75                 <action android:name="android.intent.action.PACKAGE_ADDED" />
     76                 <data android:scheme="package" />
     77             </intent-filter>
     78             <intent-filter>
     79                 <action android:name="android.intent.action.PACKAGE_REPLACED" />
     80                 <data android:scheme="package" />
     81             </intent-filter>
     82             <intent-filter>
     83                 <action android:name="android.intent.action.PACKAGE_REMOVED" />
     84                 <data android:scheme="package" />
     85             </intent-filter>
     86             <intent-filter>
     87                 <action android:name="android.intent.action.PACKAGE_CHANGED" />
     88                 <data android:scheme="package" />
     89             </intent-filter>
     90         </receiver>
     91 
     92         <receiver android:name="LocaleChangeReceiver">
     93             <intent-filter>
     94                 <action android:name="android.intent.action.LOCALE_CHANGED"/>
     95             </intent-filter>
     96         </receiver>
     97 
     98         <service android:name="VoicemailCleanupService"/>
     99     </application>
    100 </manifest>
    101