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 
     31         <provider android:name="ContactsProvider2"
     32             android:authorities="contacts;com.android.contacts"
     33             android:label="@string/provider_label"
     34             android:multiprocess="false"
     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:readPermission="android.permission.READ_CONTACTS"
     53             android:writePermission="android.permission.WRITE_CONTACTS">
     54         </provider>
     55 
     56         <provider android:name="VoicemailContentProvider"
     57             android:authorities="com.android.voicemail"
     58             android:syncable="false" android:multiprocess="false"
     59             android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
     60         </provider>
     61 
     62         <!-- TODO: create permissions for social data -->
     63         <provider android:name="SocialProvider"
     64             android:authorities="com.android.social"
     65             android:syncable="false"
     66             android:multiprocess="false"
     67             android:readPermission="android.permission.READ_CONTACTS"
     68             android:writePermission="android.permission.WRITE_CONTACTS" />
     69 
     70         <!-- Handles database upgrades after OTAs, then disables itself -->
     71         <receiver android:name="ContactsUpgradeReceiver">
     72             <!-- This broadcast is sent after the core system has finished
     73                  booting, before the home app is launched or BOOT_COMPLETED
     74                  is sent. -->
     75             <intent-filter>
     76                 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
     77             </intent-filter>
     78         </receiver>
     79 
     80         <receiver android:name="PackageIntentReceiver">
     81             <intent-filter>
     82                 <action android:name="android.intent.action.PACKAGE_ADDED" />
     83                 <data android:scheme="package" />
     84             </intent-filter>
     85             <intent-filter>
     86                 <action android:name="android.intent.action.PACKAGE_REPLACED" />
     87                 <data android:scheme="package" />
     88             </intent-filter>
     89             <intent-filter>
     90                 <action android:name="android.intent.action.PACKAGE_REMOVED" />
     91                 <data android:scheme="package" />
     92             </intent-filter>
     93             <intent-filter>
     94                 <action android:name="android.intent.action.PACKAGE_CHANGED" />
     95                 <data android:scheme="package" />
     96             </intent-filter>
     97         </receiver>
     98 
     99         <receiver android:name="LocaleChangeReceiver">
    100             <intent-filter>
    101                 <action android:name="android.intent.action.LOCALE_CHANGED"/>
    102             </intent-filter>
    103         </receiver>
    104 
    105         <service android:name="VoicemailCleanupService"/>
    106     </application>
    107 </manifest>
    108