blob: 2da56fc09f796c4dbf591be6cad03f25b4810822 [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" />
Makoto Onuki495b2932019-04-04 14:45:53 -070019 <uses-permission android:name="android.permission.READ_DEVICE_CONFIG" />
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080020
Santos Cordonf35365f2015-03-05 14:39:26 -080021 <permission
22 android:name="android.permission.SEND_CALL_LOG_CHANGE"
23 android:label="Broadcast that a change happened to the call log."
24 android:protectionLevel="signature|system"/>
25
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -080026 <application android:process="android.process.acore"
Evan Millar28f88572009-07-08 14:58:53 -070027 android:label="@string/app_label"
Makoto Onuki2b362f72012-05-04 13:21:18 -070028 android:icon="@drawable/app_icon"
Alex Klyubin733620e2015-05-20 12:17:03 -070029 android:allowBackup="false"
30 android:usesCleartextTraffic="false">
Santos Cordon153281e2015-02-23 14:51:06 -080031
Jeff Hamilton4f864362009-04-23 02:29:07 -050032 <provider android:name="ContactsProvider2"
Jeff Hamilton5e8793f2009-08-21 00:53:01 -050033 android:authorities="contacts;com.android.contacts"
Fred Quintanac09c0852009-08-25 20:19:33 -070034 android:label="@string/provider_label"
Jeff Hamilton4f864362009-04-23 02:29:07 -050035 android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070036 android:exported="true"
Brian Attwelle3afdce2015-05-27 19:49:13 -070037 android:grantUriPermissions="true"
Jeff Hamilton4f864362009-04-23 02:29:07 -050038 android:readPermission="android.permission.READ_CONTACTS"
Chad Brubakerf75badc2017-03-14 09:06:02 -070039 android:writePermission="android.permission.WRITE_CONTACTS"
40 android:visibleToInstantApps="true">
Mathew Inwoodec987e52013-09-30 15:49:39 +010041 <path-permission
42 android:pathPrefix="/search_suggest_query"
43 android:readPermission="android.permission.GLOBAL_SEARCH" />
44 <path-permission
45 android:pathPrefix="/search_suggest_shortcut"
46 android:readPermission="android.permission.GLOBAL_SEARCH" />
47 <path-permission
48 android:pathPattern="/contacts/.*/photo"
49 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dianne Hackbornb5b7b172010-09-01 22:55:56 -070050 <grant-uri-permission android:pathPattern=".*" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070051 </provider>
52
53 <provider android:name="CallLogProvider"
54 android:authorities="call_log"
55 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070056 android:exported="true"
Daniel Lehmanna9bdc552012-04-05 20:37:33 -070057 android:readPermission="android.permission.READ_CALL_LOG"
58 android:writePermission="android.permission.WRITE_CALL_LOG">
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070059 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070060
Makoto Onukif3bd9802016-01-12 09:44:13 -080061 <provider android:name="ShadowCallLogProvider"
62 android:authorities="call_log_shadow"
63 android:syncable="false" android:multiprocess="false"
64 android:exported="true"
Jeff Sharkey6364dc82016-03-17 11:05:48 -060065 android:directBootAware="true"
Makoto Onukif3bd9802016-01-12 09:44:13 -080066 android:readPermission="android.permission.MANAGE_USERS"
67 android:writePermission="android.permission.MANAGE_USERS">
68 </provider>
69
Jeff Davidson9c570072018-02-12 18:39:42 -080070 <!-- Note: While this provider does not declare a permission explicitly, it enforces that
71 the caller has either ADD_VOICEMAIL or carrier privileges at a minimum to access it.
72 Additional permission checks may be done depending on the operation. -->
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010073 <provider android:name="VoicemailContentProvider"
74 android:authorities="com.android.voicemail"
75 android:syncable="false" android:multiprocess="false"
Jeff Davidson9c570072018-02-12 18:39:42 -080076 android:exported="true">
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010077 </provider>
78
Zheng Fu384b4482015-04-29 16:27:44 -070079 <provider android:name="ContactMetadataProvider"
Tingting Wang29dde642015-08-17 11:47:13 -070080 android:authorities="com.android.contacts.metadata"
Zheng Fu384b4482015-04-29 16:27:44 -070081 android:multiprocess="false"
Tingting Wangf56fd4b2015-10-13 12:14:23 -070082 android:exported="true">
Zheng Fu384b4482015-04-29 16:27:44 -070083 </provider>
84
Jeff Hamilton71091332010-05-25 22:13:01 -050085 <!-- Handles database upgrades after OTAs, then disables itself -->
86 <receiver android:name="ContactsUpgradeReceiver">
87 <!-- This broadcast is sent after the core system has finished
88 booting, before the home app is launched or BOOT_COMPLETED
89 is sent. -->
90 <intent-filter>
91 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
92 </intent-filter>
93 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070094
Santos Cordonb39eeb42015-02-27 09:36:23 -080095 <receiver android:name="PhoneAccountRegistrationReceiver"
96 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
97 <!-- Broadcast sent after a phone account is registered in telecom. -->
98 <intent-filter>
99 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
100 </intent-filter>
101 </receiver>
102
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -0700103 <receiver android:name="LocaleChangeReceiver">
104 <intent-filter>
105 <action android:name="android.intent.action.LOCALE_CHANGED"/>
106 </intent-filter>
107 </receiver>
Debashish Chatterjeec6eb4fe2011-07-28 12:23:22 +0100108
Makoto Onuki8a6e02a2012-07-18 16:13:23 -0700109 <activity android:name=".debug.ContactsDumpActivity"
110 android:label="@string/debug_dump_title"
111 android:theme="@android:style/Theme.Holo.Dialog"
112 >
113 <intent-filter>
114 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
115 <category android:name="android.intent.category.DEFAULT"/>
116 </intent-filter>
117 </activity>
118
Makoto Onuki623659e2012-08-13 17:56:25 -0700119 <provider android:name=".debug.DumpFileProvider"
120 android:authorities="com.android.contacts.dumpfile"
121 android:exported="true">
122 </provider>
123
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -0800124 </application>
125</manifest>