blob: 9542e6d96a7c4bdc7c7c57e5cd48d20effcfedd1 [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" />
Michael Grooveraad45552020-02-19 19:27:20 -080014 <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
Santos Cordonb39eeb42015-02-27 09:36:23 -080015 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Santos Cordonf35365f2015-03-05 14:39:26 -080016 <uses-permission android:name="android.permission.SEND_CALL_LOG_CHANGE" />
Santos Cordonb39eeb42015-02-27 09:36:23 -080017 <uses-permission android:name="android.permission.UPDATE_APP_OPS_STATS" />
Yorke Leeade78bd2015-10-23 17:00:34 -070018 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Jeff Sharkey42cb9972018-01-05 17:15:40 -070019 <uses-permission android:name="android.permission.USE_RESERVED_DISK" />
Makoto Onuki495b2932019-04-04 14:45:53 -070020 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080021
Santos Cordonf35365f2015-03-05 14:39:26 -080022 <permission
23 android:name="android.permission.SEND_CALL_LOG_CHANGE"
24 android:label="Broadcast that a change happened to the call log."
25 android:protectionLevel="signature|system"/>
26
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080027 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070028 android:label="@string/app_label"
Alex Klyubin733620e2015-05-20 12:17:03 -070029 android:allowBackup="false"
Patrick Baumann8bc98f32020-02-07 10:45:32 -080030 android:forceQueryable="true"
Alex Klyubin733620e2015-05-20 12:17:03 -070031 android:usesCleartextTraffic="false">
Santos Cordon153281e2015-02-23 14:51:06 -080032
Jeff Hamilton4f864362009-04-23 02:29:07 -050033 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050034 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070035 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050036 android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070037 android:exported="true"
Brian Attwelle3afdce2015-05-27 19:49:13 -070038 android:grantUriPermissions="true"
Jeff Hamilton4f864362009-04-23 02:29:07 -050039 android:readPermission="android.permission.READ_CONTACTS"
Chad Brubakerf75badc2017-03-14 09:06:02 -070040 android:writePermission="android.permission.WRITE_CONTACTS"
41 android:visibleToInstantApps="true">
Mathew Inwoodec987e52013-09-30 15:49:39 +010042 <path-permission
43 android:pathPrefix="/search_suggest_query"
44 android:readPermission="android.permission.GLOBAL_SEARCH" />
45 <path-permission
46 android:pathPrefix="/search_suggest_shortcut"
47 android:readPermission="android.permission.GLOBAL_SEARCH" />
48 <path-permission
49 android:pathPattern="/contacts/.*/photo"
50 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dianne Hackbornb5b7b172010-09-01 22:55:56 -070051 <grant-uri-permission android:pathPattern=".*" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070052 </provider>
53
54 <provider android:name="CallLogProvider"
55 android:authorities="call_log"
56 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070057 android:exported="true"
Daniel Lehmanna9bdc552012-04-05 20:37:33 -070058 android:readPermission="android.permission.READ_CALL_LOG"
59 android:writePermission="android.permission.WRITE_CALL_LOG">
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070060 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070061
Makoto Onukif3bd9802016-01-12 09:44:13 -080062 <provider android:name="ShadowCallLogProvider"
63 android:authorities="call_log_shadow"
64 android:syncable="false" android:multiprocess="false"
65 android:exported="true"
Jeff Sharkey6364dc82016-03-17 11:05:48 -060066 android:directBootAware="true"
Makoto Onukif3bd9802016-01-12 09:44:13 -080067 android:readPermission="android.permission.MANAGE_USERS"
68 android:writePermission="android.permission.MANAGE_USERS">
69 </provider>
70
Jeff Davidson9c570072018-02-12 18:39:42 -080071 <!-- Note: While this provider does not declare a permission explicitly, it enforces that
72 the caller has either ADD_VOICEMAIL or carrier privileges at a minimum to access it.
73 Additional permission checks may be done depending on the operation. -->
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010074 <provider android:name="VoicemailContentProvider"
75 android:authorities="com.android.voicemail"
76 android:syncable="false" android:multiprocess="false"
Jeff Davidson9c570072018-02-12 18:39:42 -080077 android:exported="true">
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010078 </provider>
79
Zheng Fu384b4482015-04-29 16:27:44 -070080 <provider android:name="ContactMetadataProvider"
Tingting Wang29dde642015-08-17 11:47:13 -070081 android:authorities="com.android.contacts.metadata"
Zheng Fu384b4482015-04-29 16:27:44 -070082 android:multiprocess="false"
Tingting Wangf56fd4b2015-10-13 12:14:23 -070083 android:exported="true">
Zheng Fu384b4482015-04-29 16:27:44 -070084 </provider>
85
Jeff Hamilton71091332010-05-25 22:13:01 -050086 <!-- Handles database upgrades after OTAs, then disables itself -->
87 <receiver android:name="ContactsUpgradeReceiver">
88 <!-- This broadcast is sent after the core system has finished
89 booting, before the home app is launched or BOOT_COMPLETED
90 is sent. -->
91 <intent-filter>
92 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
93 </intent-filter>
94 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070095
Santos Cordonb39eeb42015-02-27 09:36:23 -080096 <receiver android:name="PhoneAccountRegistrationReceiver"
97 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
98 <!-- Broadcast sent after a phone account is registered in telecom. -->
99 <intent-filter>
100 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
101 </intent-filter>
102 </receiver>
103
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -0700104 <receiver android:name="LocaleChangeReceiver">
105 <intent-filter>
106 <action android:name="android.intent.action.LOCALE_CHANGED"/>
107 </intent-filter>
108 </receiver>
Debashish Chatterjeec6eb4fe2011-07-28 12:23:22 +0100109
Makoto Onuki8a6e02a2012-07-18 16:13:23 -0700110 <activity android:name=".debug.ContactsDumpActivity"
111 android:label="@string/debug_dump_title"
112 android:theme="@android:style/Theme.Holo.Dialog"
113 >
114 <intent-filter>
115 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
116 <category android:name="android.intent.category.DEFAULT"/>
117 </intent-filter>
118 </activity>
119
Makoto Onuki623659e2012-08-13 17:56:25 -0700120 <provider android:name=".debug.DumpFileProvider"
121 android:authorities="com.android.contacts.dumpfile"
122 android:exported="true">
123 </provider>
124
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -0800125 </application>
126</manifest>