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     <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" />
      7     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
      8     <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
      9     <uses-permission android:name="android.permission.MANAGE_USERS" />
     10     <uses-permission android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION" />
     11     <uses-permission android:name="android.permission.READ_PHONE_STATE" />
     12     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
     13     <uses-permission android:name="android.permission.SEND_CALL_LOG_CHANGE" />
     14     <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
     15 
     16     <permission
     17             android:name="android.permission.SEND_CALL_LOG_CHANGE"
     18             android:label="Broadcast that a change happened to the call log."
     19             android:protectionLevel="signature|system"/>
     20 
     21     <application android:process="android.process.acore"
     22         android:label="@string/app_label"
     23         android:icon="@drawable/app_icon"
     24         android:allowBackup="false"
     25         android:usesCleartextTraffic="false">
     26 
     27         <provider android:name="ContactsProvider2"
     28             android:authorities="contacts;com.android.contacts"
     29             android:label="@string/provider_label"
     30             android:multiprocess="false"
     31             android:exported="true"
     32             android:grantUriPermissions="true"
     33             android:readPermission="android.permission.READ_CONTACTS"
     34             android:writePermission="android.permission.WRITE_CONTACTS">
     35             <path-permission
     36                     android:pathPrefix="/search_suggest_query"
     37                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     38             <path-permission
     39                     android:pathPrefix="/search_suggest_shortcut"
     40                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     41             <path-permission
     42                     android:pathPattern="/contacts/.*/photo"
     43                     android:readPermission="android.permission.GLOBAL_SEARCH" />
     44             <grant-uri-permission android:pathPattern=".*" />
     45         </provider>
     46 
     47         <provider android:name="CallLogProvider"
     48             android:authorities="call_log"
     49             android:syncable="false" android:multiprocess="false"
     50             android:exported="true"
     51             android:readPermission="android.permission.READ_CALL_LOG"
     52             android:writePermission="android.permission.WRITE_CALL_LOG">
     53         </provider>
     54 
     55         <provider android:name="VoicemailContentProvider"
     56             android:authorities="com.android.voicemail"
     57             android:syncable="false" android:multiprocess="false"
     58             android:exported="true"
     59             android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
     60         </provider>
     61 
     62         <!-- Handles database upgrades after OTAs, then disables itself -->
     63         <receiver android:name="ContactsUpgradeReceiver">
     64             <!-- This broadcast is sent after the core system has finished
     65                  booting, before the home app is launched or BOOT_COMPLETED
     66                  is sent. -->
     67             <intent-filter>
     68                 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
     69             </intent-filter>
     70         </receiver>
     71 
     72         <receiver android:name="PhoneAccountRegistrationReceiver"
     73                 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
     74             <!-- Broadcast sent after a phone account is registered in telecom. -->
     75             <intent-filter>
     76                 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
     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 
    107         <activity android:name=".debug.ContactsDumpActivity"
    108                 android:label="@string/debug_dump_title"
    109                 android:theme="@android:style/Theme.Holo.Dialog"
    110                 >
    111             <intent-filter>
    112                 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
    113                 <category android:name="android.intent.category.DEFAULT"/>
    114             </intent-filter>
    115         </activity>
    116 
    117         <provider android:name=".debug.DumpFileProvider"
    118             android:authorities="com.android.contacts.dumpfile"
    119             android:exported="true">
    120         </provider>
    121 
    122     </application>
    123 </manifest>
    124