blob: ca4264b23dafaa32dd04681ee5e86c56942c7521 [file] [log] [blame]
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -08001<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2 package="com.android.providers.contacts"
Dianne Hackborn60947512011-08-05 11:22:07 -07003 android:sharedUserId="android.uid.shared"
4 android:sharedUserLabel="@string/sharedUserLabel">
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -08005
Subir Jhanba6bef4a2012-08-06 18:26:57 -07006 <uses-permission android:name="android.permission.BIND_DIRECTORY_SEARCH" />
Santos Cordonb39eeb42015-02-27 09:36:23 -08007 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Makoto Onukiba043dc2016-02-01 10:54:13 -08008 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
Makoto Onuki69d3d362014-07-07 11:44:31 -07009 <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
Makoto Onuki6bcd74c2014-07-08 14:13:23 -070010 <uses-permission android:name="android.permission.MANAGE_USERS" />
Santos Cordonb39eeb42015-02-27 09:36:23 -080011 <uses-permission android:name="android.permission.PROCESS_PHONE_ACCOUNT_REGISTRATION" />
Yorke Leeade78bd2015-10-23 17:00:34 -070012 <uses-permission android:name="android.permission.READ_CONTACTS" />
Yorke Lee399faf22015-05-28 11:10:16 -070013 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Santos Cordonb39eeb42015-02-27 09:36:23 -080014 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Santos Cordonf35365f2015-03-05 14:39:26 -080015 <uses-permission android:name="android.permission.SEND_CALL_LOG_CHANGE" />
Santos Cordonb39eeb42015-02-27 09:36:23 -080016 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Yorke Leeade78bd2015-10-23 17:00:34 -070017 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Jeff Sharkey42cb9972018-01-05 17:15:40 -070018 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080019
Santos Cordonf35365f2015-03-05 14:39:26 -080020 <permission
21 android:name="android.permission.SEND_CALL_LOG_CHANGE"
22 android:label="Broadcast that a change happened to the call log."
23 android:protectionLevel="signature|system"/>
24
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080025 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070026 android:label="@string/app_label"
Makoto Onuki2b362f72012-05-04 13:21:18 -070027 android:icon="@drawable/app_icon"
Alex Klyubin733620e2015-05-20 12:17:03 -070028 android:allowBackup="false"
29 android:usesCleartextTraffic="false">
Santos Cordon153281e2015-02-23 14:51:06 -080030
Jeff Hamilton4f864362009-04-23 02:29:07 -050031 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050032 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070033 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050034 android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070035 android:exported="true"
Brian Attwelle3afdce2015-05-27 19:49:13 -070036 android:grantUriPermissions="true"
Jeff Hamilton4f864362009-04-23 02:29:07 -050037 android:readPermission="android.permission.READ_CONTACTS"
Chad Brubakerf75badc2017-03-14 09:06:02 -070038 android:writePermission="android.permission.WRITE_CONTACTS"
39 android:visibleToInstantApps="true">
Mathew Inwoodec987e52013-09-30 15:49:39 +010040 <path-permission
41 android:pathPrefix="/search_suggest_query"
42 android:readPermission="android.permission.GLOBAL_SEARCH" />
43 <path-permission
44 android:pathPrefix="/search_suggest_shortcut"
45 android:readPermission="android.permission.GLOBAL_SEARCH" />
46 <path-permission
47 android:pathPattern="/contacts/.*/photo"
48 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dianne Hackbornb5b7b172010-09-01 22:55:56 -070049 <grant-uri-permission android:pathPattern=".*" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070050 </provider>
51
52 <provider android:name="CallLogProvider"
53 android:authorities="call_log"
54 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070055 android:exported="true"
Daniel Lehmanna9bdc552012-04-05 20:37:33 -070056 android:readPermission="android.permission.READ_CALL_LOG"
57 android:writePermission="android.permission.WRITE_CALL_LOG">
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070058 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070059
Makoto Onukif3bd9802016-01-12 09:44:13 -080060 <provider android:name="ShadowCallLogProvider"
61 android:authorities="call_log_shadow"
62 android:syncable="false" android:multiprocess="false"
63 android:exported="true"
Jeff Sharkey6364dc82016-03-17 11:05:48 -060064 android:directBootAware="true"
Makoto Onukif3bd9802016-01-12 09:44:13 -080065 android:readPermission="android.permission.MANAGE_USERS"
66 android:writePermission="android.permission.MANAGE_USERS">
67 </provider>
68
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010069 <provider android:name="VoicemailContentProvider"
70 android:authorities="com.android.voicemail"
71 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070072 android:exported="true"
Debashish Chatterjee98a77ec2011-08-03 13:31:25 +010073 android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010074 </provider>
75
Zheng Fu384b4482015-04-29 16:27:44 -070076 <provider android:name="ContactMetadataProvider"
Tingting Wang29dde642015-08-17 11:47:13 -070077 android:authorities="com.android.contacts.metadata"
Zheng Fu384b4482015-04-29 16:27:44 -070078 android:multiprocess="false"
Tingting Wangf56fd4b2015-10-13 12:14:23 -070079 android:exported="true">
Zheng Fu384b4482015-04-29 16:27:44 -070080 </provider>
81
Jeff Hamilton71091332010-05-25 22:13:01 -050082 <!-- Handles database upgrades after OTAs, then disables itself -->
83 <receiver android:name="ContactsUpgradeReceiver">
84 <!-- This broadcast is sent after the core system has finished
85 booting, before the home app is launched or BOOT_COMPLETED
86 is sent. -->
87 <intent-filter>
88 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
89 </intent-filter>
90 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070091
Santos Cordonb39eeb42015-02-27 09:36:23 -080092 <receiver android:name="PhoneAccountRegistrationReceiver"
93 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
94 <!-- Broadcast sent after a phone account is registered in telecom. -->
95 <intent-filter>
96 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
97 </intent-filter>
98 </receiver>
99
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -0700100 <receiver android:name="LocaleChangeReceiver">
101 <intent-filter>
102 <action android:name="android.intent.action.LOCALE_CHANGED"/>
103 </intent-filter>
104 </receiver>
Debashish Chatterjeec6eb4fe2011-07-28 12:23:22 +0100105
Makoto Onuki8a6e02a2012-07-18 16:13:23 -0700106 <activity android:name=".debug.ContactsDumpActivity"
107 android:label="@string/debug_dump_title"
108 android:theme="@android:style/Theme.Holo.Dialog"
109 >
110 <intent-filter>
111 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
112 <category android:name="android.intent.category.DEFAULT"/>
113 </intent-filter>
114 </activity>
115
Makoto Onuki623659e2012-08-13 17:56:25 -0700116 <provider android:name=".debug.DumpFileProvider"
117 android:authorities="com.android.contacts.dumpfile"
118 android:exported="true">
119 </provider>
120
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -0800121 </application>
122</manifest>