blob: 7829feee8c8040ed5a19cb543363999c666bb558 [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"
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070037 android:writePermission="android.permission.WRITE_CONTACTS">
Mathew Inwoodec987e52013-09-30 15:49:39 +010038 <path-permission
39 android:pathPrefix="/search_suggest_query"
40 android:readPermission="android.permission.GLOBAL_SEARCH" />
41 <path-permission
42 android:pathPrefix="/search_suggest_shortcut"
43 android:readPermission="android.permission.GLOBAL_SEARCH" />
44 <path-permission
45 android:pathPattern="/contacts/.*/photo"
46 android:readPermission="android.permission.GLOBAL_SEARCH" />
Dianne Hackbornb5b7b172010-09-01 22:55:56 -070047 <grant-uri-permission android:pathPattern=".*" />
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070048 </provider>
49
50 <provider android:name="CallLogProvider"
51 android:authorities="call_log"
52 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070053 android:exported="true"
Daniel Lehmanna9bdc552012-04-05 20:37:33 -070054 android:readPermission="android.permission.READ_CALL_LOG"
55 android:writePermission="android.permission.WRITE_CALL_LOG">
Dmitri Plotnikovc70dc0e2009-07-31 10:07:49 -070056 </provider>
Jeff Sharkeyb6509822009-05-14 18:04:39 -070057
Makoto Onukif3bd9802016-01-12 09:44:13 -080058 <provider android:name="ShadowCallLogProvider"
59 android:authorities="call_log_shadow"
60 android:syncable="false" android:multiprocess="false"
61 android:exported="true"
Jeff Sharkey6364dc82016-03-17 11:05:48 -060062 android:directBootAware="true"
Makoto Onukif3bd9802016-01-12 09:44:13 -080063 android:readPermission="android.permission.MANAGE_USERS"
64 android:writePermission="android.permission.MANAGE_USERS">
65 </provider>
66
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010067 <provider android:name="VoicemailContentProvider"
68 android:authorities="com.android.voicemail"
69 android:syncable="false" android:multiprocess="false"
Nick Kralevich127a8b82012-07-28 14:17:24 -070070 android:exported="true"
Debashish Chatterjee98a77ec2011-08-03 13:31:25 +010071 android:permission="com.android.voicemail.permission.ADD_VOICEMAIL">
Debashish Chatterjee52e8d242011-06-13 16:20:30 +010072 </provider>
73
Zheng Fu384b4482015-04-29 16:27:44 -070074 <provider android:name="ContactMetadataProvider"
Tingting Wang29dde642015-08-17 11:47:13 -070075 android:authorities="com.android.contacts.metadata"
Zheng Fu384b4482015-04-29 16:27:44 -070076 android:multiprocess="false"
Tingting Wangf56fd4b2015-10-13 12:14:23 -070077 android:exported="true">
Zheng Fu384b4482015-04-29 16:27:44 -070078 </provider>
79
Jeff Hamilton71091332010-05-25 22:13:01 -050080 <!-- Handles database upgrades after OTAs, then disables itself -->
81 <receiver android:name="ContactsUpgradeReceiver">
82 <!-- This broadcast is sent after the core system has finished
83 booting, before the home app is launched or BOOT_COMPLETED
84 is sent. -->
85 <intent-filter>
86 <action android:name="android.intent.action.PRE_BOOT_COMPLETED"/>
87 </intent-filter>
88 </receiver>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -070089
Santos Cordonb39eeb42015-02-27 09:36:23 -080090 <receiver android:name="PhoneAccountRegistrationReceiver"
91 android:permission="android.permission.BROADCAST_PHONE_ACCOUNT_REGISTRATION">
92 <!-- Broadcast sent after a phone account is registered in telecom. -->
93 <intent-filter>
94 <action android:name="android.telecom.action.PHONE_ACCOUNT_REGISTERED"/>
95 </intent-filter>
96 </receiver>
97
Dmitri Plotnikov72e30032010-08-05 10:53:44 -070098 <receiver android:name="PackageIntentReceiver">
99 <intent-filter>
100 <action android:name="android.intent.action.PACKAGE_ADDED" />
101 <data android:scheme="package" />
102 </intent-filter>
103 <intent-filter>
104 <action android:name="android.intent.action.PACKAGE_REPLACED" />
105 <data android:scheme="package" />
106 </intent-filter>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -0700107 <intent-filter>
108 <action android:name="android.intent.action.PACKAGE_REMOVED" />
109 <data android:scheme="package" />
110 </intent-filter>
Dmitri Plotnikov72e30032010-08-05 10:53:44 -0700111 <intent-filter>
112 <action android:name="android.intent.action.PACKAGE_CHANGED" />
113 <data android:scheme="package" />
114 </intent-filter>
Dmitri Plotnikovd3d812a2010-06-07 14:03:12 -0700115 </receiver>
Dmitri Plotnikov53fac8f2010-08-16 19:42:29 -0700116
117 <receiver android:name="LocaleChangeReceiver">
118 <intent-filter>
119 <action android:name="android.intent.action.LOCALE_CHANGED"/>
120 </intent-filter>
121 </receiver>
Debashish Chatterjeec6eb4fe2011-07-28 12:23:22 +0100122
123 <service android:name="VoicemailCleanupService"/>
Makoto Onuki8a6e02a2012-07-18 16:13:23 -0700124
125 <activity android:name=".debug.ContactsDumpActivity"
126 android:label="@string/debug_dump_title"
127 android:theme="@android:style/Theme.Holo.Dialog"
128 >
129 <intent-filter>
130 <action android:name="com.android.providers.contacts.DUMP_DATABASE"/>
131 <category android:name="android.intent.category.DEFAULT"/>
132 </intent-filter>
133 </activity>
134
Makoto Onuki623659e2012-08-13 17:56:25 -0700135 <provider android:name=".debug.DumpFileProvider"
136 android:authorities="com.android.contacts.dumpfile"
137 android:exported="true">
138 </provider>
139
The Android Open Source Projectc731b0c2009-03-03 19:32:39 -0800140 </application>
141</manifest>