blob: aa1c396f3305455237b7e27d5dc5f8d670e6cd4d [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" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080018
Santos Cordonf35365f2015-03-05 14:39:26 -080019 <permission
20 android:name="android.permission.SEND_CALL_LOG_CHANGE"
21 android:label="Broadcast that a change happened to the call log."
22 android:protectionLevel="signature|system"/>
23
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080024 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070025 android:label="@string/app_label"
Makoto Onuki2b362f72012-05-04 13:21:18 -070026 android:icon="@drawable/app_icon"
Alex Klyubin733620e2015-05-20 12:17:03 -070027 android:allowBackup="false"
28 android:usesCleartextTraffic="false">
Santos Cordon153281e2015-02-23 14:51:06 -080029
Jeff Hamilton4f864362009-04-23 02:29:07 -050030 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050031 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070032 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050033 android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070034 android:exported="true"
Brian Attwelle3afdce2015-05-27 19:49:13 -070035 android:grantUriPermissions="true"
Jeff Hamilton4f864362009-04-23 02:29:07 -050036 android:readPermission="android.permission.READ_CONTACTS"
Chad Brubakerf75badc2017-03-14 09:06:02 -070037 android:writePermission="android.permission.WRITE_CONTACTS"
38 android:visibleToInstantApps="true">
Mathew Inwoodec987e52013-09-30 15:49:39 +010039 <path-permission
40 android:pathPrefix="/search_suggest_query"
41 android:readPermission="android.permission.GLOBAL_SEARCH" />
42 <path-permission
43 android:pathPrefix="/search_suggest_shortcut"
44 android:readPermission="android.permission.GLOBAL_SEARCH" />
45 <path-permission
46 android:pathPattern="/contacts/.*/photo"
47 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dianne Hackbornb5b7b172010-09-01 22:55:56 -070048 <grant-uri-permission android:pathPattern=".*" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070049 </provider>
50
51 <provider android:name="CallLogProvider"
52 android:authorities="call_log"
53 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070054 android:exported="true"
Daniel Lehmanna9bdc552012-04-05 20:37:33 -070055 android:readPermission="android.permission.READ_CALL_LOG"
56 android:writePermission="android.permission.WRITE_CALL_LOG">
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070057 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070058
Makoto Onukif3bd9802016-01-12 09:44:13 -080059 <provider android:name="ShadowCallLogProvider"
60 android:authorities="call_log_shadow"
61 android:syncable="false" android:multiprocess="false"
62 android:exported="true"
Jeff Sharkey6364dc82016-03-17 11:05:48 -060063 android:directBootAware="true"
Makoto Onukif3bd9802016-01-12 09:44:13 -080064 android:readPermission="android.permission.MANAGE_USERS"
65 android:writePermission="android.permission.MANAGE_USERS">
66 </provider>
67
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010068 <provider android:name="VoicemailContentProvider"
69 android:authorities="com.android.voicemail"
70 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070071 android:exported="true"
Debashish Chatterjee98a77ec2011-08-03 13:31:25 +010072 android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010073 </provider>
74
Zheng Fu384b4482015-04-29 16:27:44 -070075 <provider android:name="ContactMetadataProvider"
Tingting Wang29dde642015-08-17 11:47:13 -070076 android:authorities="com.android.contacts.metadata"
Zheng Fu384b4482015-04-29 16:27:44 -070077 android:multiprocess="false"
Tingting Wangf56fd4b2015-10-13 12:14:23 -070078 android:exported="true">
Zheng Fu384b4482015-04-29 16:27:44 -070079 </provider>
80
Jeff Hamilton71091332010-05-25 22:13:01 -050081 <!-- Handles database upgrades after OTAs, then disables itself -->
82 <receiver android:name="ContactsUpgradeReceiver">
83 <!-- This broadcast is sent after the core system has finished
84 booting, before the home app is launched or BOOT_COMPLETED
85 is sent. -->
86 <intent-filter>
87 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
88 </intent-filter>
89 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070090
Santos Cordonb39eeb42015-02-27 09:36:23 -080091 <receiver android:name="PhoneAccountRegistrationReceiver"
92 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
93 <!-- Broadcast sent after a phone account is registered in telecom. -->
94 <intent-filter>
95 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
96 </intent-filter>
97 </receiver>
98
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -070099 <receiver android:name="LocaleChangeReceiver">
100 <intent-filter>
101 <action android:name="android.intent.action.LOCALE_CHANGED"/>
102 </intent-filter>
103 </receiver>
Debashish Chatterjeec6eb4fe2011-07-28 12:23:22 +0100104
Makoto Onuki8a6e02a2012-07-18 16:13:23 -0700105 <activity android:name=".debug.ContactsDumpActivity"
106 android:label="@string/debug_dump_title"
107 android:theme="@android:style/Theme.Holo.Dialog"
108 >
109 <intent-filter>
110 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
111 <category android:name="android.intent.category.DEFAULT"/>
112 </intent-filter>
113 </activity>
114
Makoto Onuki623659e2012-08-13 17:56:25 -0700115 <provider android:name=".debug.DumpFileProvider"
116 android:authorities="com.android.contacts.dumpfile"
117 android:exported="true">
118 </provider>
119
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -0800120 </application>
121</manifest>