blob: 66d5767f14f3cd5c200c4a229200d2a6684b81ad [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Neel Parekhbe406ff2009-09-16 15:31:22 -07007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Neel Parekhbe406ff2009-09-16 15:31:22 -07009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
John Shaoc9c2c452016-12-20 17:12:03 -080018 package="com.android.contacts"
Gary Mai1ffb6382021-11-24 17:50:58 -080019 android:versionCode="10734"
20 android:versionName="1.7.34">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
John Shaoc9c2c452016-12-20 17:12:03 -080022 <uses-sdk
Gyanesh Mittal6c08d0c2023-06-07 18:13:33 +000023 android:minSdkVersion="34"
24 android:targetSdkVersion="34"/>
Walter Jang30cd1892016-07-01 12:16:57 -070025
John Shaoc9c2c452016-12-20 17:12:03 -080026 <original-package android:name="com.android.contacts"/>
Jeff Hamiltone7883532010-02-11 16:25:48 -060027
John Shaob5f5e8b2016-09-26 11:19:55 -070028 <!-- Contacts permission listed first because order determines
29 order that permissions are requested with some OEMs -->
John Shaoc9c2c452016-12-20 17:12:03 -080030 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Gyanesh Mittal762d4952023-06-06 17:12:41 +000031 <uses-permission android:name="android.permission.READ_CALL_LOG"/>
John Shaoc9c2c452016-12-20 17:12:03 -080032 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
33 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
34 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
35 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
36 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
37 <uses-permission android:name="android.permission.CALL_PHONE"/>
38 <uses-permission android:name="android.permission.READ_PROFILE"/>
39 <uses-permission android:name="android.permission.WRITE_PROFILE"/>
40 <uses-permission android:name="android.permission.INTERNET"/>
41 <uses-permission android:name="android.permission.NFC"/>
John Shao7575f242022-01-04 19:24:08 +000042 <uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080043 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
44 <uses-permission android:name="android.permission.WAKE_LOCK"/>
45 <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
46 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
47 <uses-permission android:name="android.permission.VIBRATE"/>
48 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
Tingting793e03f2021-10-27 19:12:55 +000049 <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080050 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
John Shaoc9c2c452016-12-20 17:12:03 -080051 <!-- Following used for Contact metadata syncing -->
52 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
53 <!-- Following used for getting the status of the contacts sync adapter -->
54 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
Wenyi Wangbf7745a2017-03-23 10:28:24 -070055 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Marcus Hagerott7b9c80d2018-03-02 16:32:56 -080056 <!-- Required in P to run Service.startForeground() -->
57 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
John Shao58f2a032022-02-24 22:46:00 +000058 <uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
Steve Elliott9a12ef42021-12-10 19:08:21 +000059 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
Gyanesh Mittal997fa192023-06-07 18:39:34 +000060 <!-- Required in U to run Service.startForeground() under DATA_SYNC type -->
61 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
John Shaoc9c2c452016-12-20 17:12:03 -080062
63 <uses-feature
64 android:name="android.hardware.telephony"
65 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070066
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080067 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080068 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070069 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080070 android:icon="@mipmap/ic_contacts_launcher"
71 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080072 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080073 android:taskAffinity="android.task.contacts"
74 android:usesCleartextTraffic="false">
75 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
76 <activity
77 android:name=".activities.PeopleActivity"
78 android:alwaysRetainTaskState="true"
79 android:launchMode="singleTop"
80 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080081 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070082 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070083 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080084 >
85 <intent-filter>
86 <action android:name="android.intent.action.MAIN"/>
87
88 <category android:name="android.intent.category.DEFAULT"/>
89 <category android:name="android.intent.category.LAUNCHER"/>
90 <category android:name="android.intent.category.BROWSABLE"/>
91 <category android:name="android.intent.category.APP_CONTACTS"/>
92 </intent-filter>
93 <intent-filter>
94 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
95
96 <category android:name="android.intent.category.DEFAULT"/>
97 <category android:name="android.intent.category.TAB"/>
98 </intent-filter>
99
100 <intent-filter>
101 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
102
103 <category android:name="android.intent.category.DEFAULT"/>
104 <category android:name="android.intent.category.TAB"/>
105 </intent-filter>
106
107 <intent-filter>
108 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
109
110 <category android:name="android.intent.category.DEFAULT"/>
111 <category android:name="android.intent.category.TAB"/>
112 </intent-filter>
113
114 <intent-filter>
115 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
116
117 <category android:name="android.intent.category.DEFAULT"/>
118 <category android:name="android.intent.category.TAB"/>
119 </intent-filter>
120
121 <intent-filter>
122 <action android:name="com.android.contacts.action.LIST_STARRED"/>
123
124 <category android:name="android.intent.category.DEFAULT"/>
125 <category android:name="android.intent.category.TAB"/>
126 </intent-filter>
127
128 <intent-filter>
129 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
130
131 <category android:name="android.intent.category.DEFAULT"/>
132 <category android:name="android.intent.category.TAB"/>
133 </intent-filter>
134
135 <intent-filter>
136 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
137
138 <category android:name="android.intent.category.DEFAULT"/>
139 <category android:name="android.intent.category.TAB"/>
140 </intent-filter>
141
142 <intent-filter>
143 <action android:name="android.intent.action.SEARCH"/>
144 <category android:name="android.intent.category.DEFAULT"/>
145 <data android:mimeType="vnd.android.cursor.dir/contact"/>
146 </intent-filter>
147
148 <intent-filter>
149 <action android:name="android.intent.action.SEARCH"/>
150 <category android:name="android.intent.category.DEFAULT"/>
151 </intent-filter>
152
153 <intent-filter>
154 <action android:name="android.intent.action.VIEW"/>
155 <category android:name="android.intent.category.DEFAULT"/>
156
157 <data android:mimeType="vnd.android.cursor.dir/person"/>
158 <data android:mimeType="vnd.android.cursor.dir/contact"/>
159 <data android:mimeType="vnd.android.cursor.item/group"/>
160 </intent-filter>
161
162 <intent-filter>
163 <action android:name="android.intent.action.EDIT"/>
164 <category android:name="android.intent.category.DEFAULT"/>
165 <data android:mimeType="vnd.android.cursor.item/group"/>
166 </intent-filter>
167
168 <intent-filter>
169 <action android:name="android.intent.action.INSERT"/>
170 <category android:name="android.intent.category.DEFAULT"/>
171 <data android:mimeType="vnd.android.cursor.dir/group"/>
172 </intent-filter>
173
174 <meta-data
175 android:name="android.app.searchable"
176 android:resource="@xml/searchable"
177 />
178
179 <meta-data
180 android:name="android.app.shortcuts"
181 android:resource="@xml/shortcuts"
182 />
183
184 </activity>
185
186 <activity
187 android:name=".activities.ContactSelectionActivity"
188 android:clearTaskOnLaunch="true"
189 android:launchMode="singleTop"
190 android:theme="@style/ContactPickerTheme"
191 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800192 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700193 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800194 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700195 <meta-data android:name="android.app.shortcuts.new_config"
196 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800197 <intent-filter>
198 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
199 <category android:name="android.intent.category.DEFAULT"/>
200
201 <data android:mimeType="vnd.android.cursor.item/person"/>
202 <data android:mimeType="vnd.android.cursor.item/contact"/>
203 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
204 </intent-filter>
205
206 <intent-filter>
207 <action android:name="android.intent.action.PICK"/>
208 <category android:name="android.intent.category.DEFAULT"/>
209
210 <data android:mimeType="vnd.android.cursor.dir/contact"/>
211 <data android:mimeType="vnd.android.cursor.dir/person"/>
212 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
213 <data android:mimeType="vnd.android.cursor.dir/phone"/>
214 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
215 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
216 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
217 <data android:mimeType="vnd.android.cursor.dir/group"/>
218 </intent-filter>
219
220 <intent-filter>
221 <action android:name="android.intent.action.GET_CONTENT"/>
222 <category android:name="android.intent.category.DEFAULT"/>
223
224 <data android:mimeType="vnd.android.cursor.item/contact"/>
225 <data android:mimeType="vnd.android.cursor.item/person"/>
226 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
227 <data android:mimeType="vnd.android.cursor.item/phone"/>
228 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
229 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
230 </intent-filter>
231
232 <intent-filter>
233 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
234 <category android:name="android.intent.category.DEFAULT"/>
235 </intent-filter>
236 </activity>
237
238 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
239 <activity-alias
240 android:name="ContactsListActivity"
241 android:targetActivity=".activities.PeopleActivity"
242 />
243
244 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
245 <activity-alias
246 android:name=".activities.ContactsFrontDoor"
247 android:exported="true"
248 android:targetActivity=".activities.PeopleActivity"
249 />
250
251 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
252 <activity-alias
253 android:name="DialtactsContactsEntryActivity"
254 android:exported="true"
255 android:targetActivity=".activities.PeopleActivity"
256 />
257
258 <!-- Used to set options -->
259 <activity
260 android:name=".preference.ContactsPreferenceActivity"
261 android:exported="false"
262 android:label="@string/activity_title_settings"
263 android:launchMode="singleTop"
264 android:theme="@style/ContactsPreferencesTheme"/>
265
266 <activity
Tingtinge17434d2022-01-07 23:47:04 +0000267 android:name=".preference.SetDefaultAccountActivity"
268 android:exported="true"
269 android:theme="@style/BackgroundOnlyTheme"
270 android:excludeFromRecents="true">
271 <intent-filter>
272 <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
273 <category android:name="android.intent.category.DEFAULT"/>
274 </intent-filter>
275 </activity>
276
277 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800278 android:name=".activities.LicenseActivity"
279 android:exported="true"
280 android:label="@string/activity_title_licenses"
281 android:theme="@style/ContactsPreferencesTheme"/>
282
283 <!-- Used to filter contacts list by account -->
284 <activity
285 android:name=".list.AccountFilterActivity"
286 android:label="@string/activity_title_contacts_filter"
287 android:theme="@style/ContactListFilterTheme"/>
288
289 <!-- Used to select display and sync groups -->
290 <activity
291 android:name=".list.CustomContactListFilterActivity"
292 android:label="@string/custom_list_filter"
293 android:theme="@style/ContactListFilterTheme"/>
294
295 <activity
296 android:name=".activities.RequestPermissionsActivity"
297 android:exported="false"
298 android:theme="@style/PeopleTheme"/>
299
300 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800301 android:name=".activities.RequestImportVCardPermissionsActivity"
302 android:exported="false"
303 android:theme="@style/PeopleTheme"/>
304
305 <activity
306 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700307 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800308 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
309
310 <intent-filter>
311 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
312 <category android:name="android.intent.category.DEFAULT"/>
313
314 <data android:scheme="mailto"/>
315 <data android:scheme="tel"/>
316 </intent-filter>
317 </activity>
318
319 <activity
320 android:name=".quickcontact.QuickContactActivity"
321 android:excludeFromRecents="true"
322 android:launchMode="singleTop"
323 android:taskAffinity=""
324 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700325 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800326 android:windowSoftInputMode="stateUnchanged">
327
328 <intent-filter>
329 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
330 <action android:name="android.provider.action.QUICK_CONTACT"/>
331
332 <category android:name="android.intent.category.DEFAULT"/>
333
334 <data android:mimeType="vnd.android.cursor.item/contact"/>
335 <data android:mimeType="vnd.android.cursor.item/person"/>
336 </intent-filter>
337
338 <intent-filter>
339 <action android:name="android.intent.action.VIEW"/>
340 <category android:name="android.intent.category.DEFAULT"/>
341
342 <data android:mimeType="vnd.android.cursor.item/person"/>
343 <data android:mimeType="vnd.android.cursor.item/contact"/>
344 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
345 </intent-filter>
346 </activity>
347
348 <receiver
349 android:name=".quickcontact.QuickContactBroadcastReceiver"
350 android:exported="false"/>
351
Wenyi Wang7ae91362017-03-06 16:31:12 -0800352 <!-- Responsible for creating notification channels when boot is completed or when app is
353 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700354 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
355 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800356 <intent-filter>
357 <action android:name="android.intent.action.BOOT_COMPLETED" />
358 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
359 </intent-filter>
360 </receiver>
361
John Shaoc9c2c452016-12-20 17:12:03 -0800362 <activity-alias
363 android:name="ContactShortcut"
364 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
365 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700366 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800367 android:targetActivity=".activities.ContactSelectionActivity">
368
369 <intent-filter>
370 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
371 <category android:name="android.intent.category.DEFAULT"/>
372 </intent-filter>
373
374 </activity-alias>
375
376 <activity-alias
377 android:name="alias.DialShortcut"
378 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
379 android:label="@string/shortcutDialContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700380 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800381 android:targetActivity=".activities.ContactSelectionActivity">
382
383 <intent-filter>
384 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
385
386 <category android:name="android.intent.category.DEFAULT"/>
387 <category android:name="android.intent.category.CAR_MODE"/>
388 </intent-filter>
389
390 </activity-alias>
391
392 <activity-alias
393 android:name="alias.MessageShortcut"
394 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
395 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700396 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800397 android:targetActivity=".activities.ContactSelectionActivity">
398
399 <intent-filter>
400 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
401 <category android:name="android.intent.category.DEFAULT"/>
402 </intent-filter>
403
404 </activity-alias>
405
406 <!-- Accounts changed prompt that can appear when creating a new contact. -->
407 <activity
408 android:name=".activities.ContactEditorAccountsChangedActivity"
409 android:exported="false"
410 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
411 android:windowSoftInputMode="adjustResize"/>
412
413 <!-- Edit or create a contact with only the most important fields displayed initially. -->
414 <activity
415 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700416 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800417 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800418
419 <intent-filter>
420 <action android:name="android.intent.action.INSERT"/>
421 <category android:name="android.intent.category.DEFAULT"/>
422
423 <data android:mimeType="vnd.android.cursor.dir/person"/>
424 <data android:mimeType="vnd.android.cursor.dir/contact"/>
425 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
426 </intent-filter>
427 </activity>
428
429 <!-- Keep support for apps that expect the Compact editor -->
430 <activity-alias
431 android:name="com.android.contacts.activities.CompactContactEditorActivity"
432 android:exported="true"
433 android:targetActivity=".activities.ContactEditorActivity">
434 <intent-filter android:priority="-1">
435 <action android:name="android.intent.action.INSERT"/>
436 <category android:name="android.intent.category.DEFAULT"/>
437
438 <data android:mimeType="vnd.android.cursor.dir/person"/>
439 <data android:mimeType="vnd.android.cursor.dir/contact"/>
440 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
441 </intent-filter>
442 </activity-alias>
443
444 <activity
445 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700446 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800447 android:theme="@style/TransparentThemeAppCompat">
448
449 <intent-filter>
450 <action android:name="android.intent.action.EDIT"/>
451 <category android:name="android.intent.category.DEFAULT"/>
452
453 <data android:mimeType="vnd.android.cursor.item/person"/>
454 <data android:mimeType="vnd.android.cursor.item/contact"/>
455 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
456 </intent-filter>
457 </activity>
458
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700459 <activity android:name=".test.FragmentTestActivity"
460 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800461 <intent-filter>
462 <category android:name="android.intent.category.TEST"/>
463 </intent-filter>
464 </activity>
465
466 <!-- Stub service used to keep our process alive long enough for
467 background threads to finish their operations. -->
468 <service
469 android:name=".util.EmptyService"
470 android:exported="false"/>
471
472 <!-- Service to save a contact -->
473 <service
474 android:name=".ContactSaveService"
475 android:exported="false"/>
476
477 <!-- Service to import contacts from the SIM card -->
478 <service
479 android:name=".SimImportService"
Makoto Onuki21056512023-01-10 11:02:35 -0800480 android:exported="false"
481 android:foregroundServiceType="shortService" />
John Shaoc9c2c452016-12-20 17:12:03 -0800482
483 <!-- Attaches a photo to a contact. Started from external applications -->
484 <activity
485 android:name=".activities.AttachPhotoActivity"
486 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700487 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800488 android:taskAffinity="">
489 <intent-filter>
490 <action android:name="android.intent.action.ATTACH_DATA"/>
491 <data android:mimeType="image/*"/>
492 <category android:name="android.intent.category.DEFAULT"/>
493 </intent-filter>
494 </activity>
495
496 <!-- vCard related -->
497 <activity
498 android:name=".vcard.ImportVCardActivity"
499 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700500 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800501 android:theme="@style/BackgroundOnlyTheme">
502 <intent-filter>
503 <action android:name="android.intent.action.VIEW"/>
504
505 <data android:mimeType="text/directory"/>
506 <data android:mimeType="text/vcard"/>
507 <data android:mimeType="text/x-vcard"/>
508
509 <category android:name="android.intent.category.DEFAULT"/>
510 </intent-filter>
511 </activity>
512
513 <activity
514 android:name=".vcard.NfcImportVCardActivity"
John Shao024c62f2021-08-25 23:29:56 +0000515 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800516 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700517 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800518 android:theme="@style/BackgroundOnlyTheme">
519 <intent-filter>
520 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
521
522 <data android:mimeType="text/vcard"/>
523 <data android:mimeType="text/x-vcard"/>
524
525 <category android:name="android.intent.category.DEFAULT"/>
526 </intent-filter>
527 </activity>
528
529 <activity
530 android:name=".vcard.CancelActivity"
531 android:theme="@style/BackgroundOnlyTheme"/>
532
533 <activity
534 android:name=".vcard.SelectAccountActivity"
535 android:theme="@style/BackgroundOnlyTheme"/>
536
537 <activity
538 android:name=".vcard.ExportVCardActivity"
539 android:theme="@style/BackgroundOnlyTheme"/>
540
541 <activity
542 android:name=".vcard.ShareVCardActivity"
543 android:theme="@style/BackgroundOnlyTheme"/>
544
545 <activity
546 android:name=".activities.SimImportActivity"
547 android:label="@string/sim_import_title"
548 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
549
550
551 <service
552 android:name=".vcard.VCardService"
keparal.li78278832023-03-24 17:25:28 +0800553 android:exported="false"
554 android:foregroundServiceType="dataSync"/>
John Shaoc9c2c452016-12-20 17:12:03 -0800555 <!-- end vCard related -->
556
557 <!-- Intercept Dialer Intents for devices without a phone.
558 This activity should have the same intent filters as the DialtactsActivity,
559 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
560 we don't want this to show up in the Launcher. The priorities of the intent-filters
561 are set lower, so that the user does not see a disambig dialog -->
562 <activity
563 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700564 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800565 android:theme="@style/NonPhoneActivityTheme">
566 <intent-filter android:priority="-1">
567 <action android:name="android.intent.action.MAIN"/>
568
569 <category android:name="android.intent.category.DEFAULT"/>
570 <category android:name="android.intent.category.BROWSABLE"/>
571 </intent-filter>
572 <intent-filter android:priority="-1">
573 <action android:name="android.intent.action.VIEW"/>
574
575 <category android:name="android.intent.category.DEFAULT"/>
576 <category android:name="android.intent.category.BROWSABLE"/>
577
578 <data android:scheme="tel"/>
579 </intent-filter>
580 <intent-filter android:priority="-1">
581 <action android:name="android.intent.action.VIEW"/>
582
583 <category android:name="android.intent.category.DEFAULT"/>
584 <category android:name="android.intent.category.BROWSABLE"/>
585
586 <data android:mimeType="vnd.android.cursor.dir/calls"/>
587 </intent-filter>
588 </activity>
589
590 <activity
591 android:name="com.android.contacts.dialog.CallSubjectDialog"
592 android:theme="@style/Theme.CallSubjectDialogTheme"
John Shaoeadb0b12022-02-24 22:20:11 +0000593 android:exported="false"
John Shaoc9c2c452016-12-20 17:12:03 -0800594 android:windowSoftInputMode="stateVisible|adjustResize">
595 <intent-filter>
596 <action android:name="android.intent.action.VIEW"/>
597 </intent-filter>
598 </activity>
599
600 <!-- Service that is exclusively for the Phone application that sends out a view
601 notification. This service might be removed in future versions of the app.
602
603 This is called explicitly by the phone app via package name and class.
604 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
605 needs to be changed as well.
606 -->
607 <service
608 android:name=".ViewNotificationService"
609 android:exported="true"
610 android:permission="android.permission.WRITE_CONTACTS">
611 <intent-filter>
612 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
613 <data android:mimeType="vnd.android.cursor.item/contact"/>
614 </intent-filter>
615 </service>
616
617 <!-- Service used to run JobScheduler jobs -->
618 <service
619 android:name="com.android.contacts.ContactsJobService"
620 android:permission="android.permission.BIND_JOB_SERVICE"/>
621
622 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700623 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800624 android:authorities="@string/contacts_file_provider_authority"
625 android:exported="false"
626 android:grantUriPermissions="true">
627 <meta-data
628 android:name="android.support.FILE_PROVIDER_PATHS"
629 android:resource="@xml/file_paths"/>
630 </provider>
631
632 <meta-data
633 android:name="android.nfc.disable_beam_default"
634 android:value="true"/>
635
Gyanesh Mittal76816ec2023-06-06 17:42:47 +0000636 <provider
637 android:name="com.android.contacts.sdn.SdnProvider"
638 android:authorities="@string/contacts_sdn_provider_authority"
639 android:enabled="true"
640 android:exported="true"
641 android:readPermission="android.permission.BIND_DIRECTORY_SEARCH">
642 <meta-data
643 android:name="android.content.ContactDirectory"
644 android:value="true" />
645 </provider>
646
John Shaoc9c2c452016-12-20 17:12:03 -0800647 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700648
649 <!-- Allows the contacts app to see the activities and services needed
650 to detect accounts and show actions in QuickContact. -->
651 <queries>
652 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700653 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700654
655 <!-- quickcontact actions and verbs -->
656 <intent>
657 <action android:name="android.intent.action.SENDTO" />
658 <data android:scheme="imto" />
659 </intent>
660 <intent>
661 <action android:name="android.intent.action.SENDTO" />
662 <data android:scheme="xmpp" />
663 </intent>
664 <intent>
665 <action android:name="android.intent.action.SENDTO" />
666 <data android:scheme="mailto" />
667 </intent>
668 <intent>
669 <action android:name="android.intent.action.SENDTO" />
670 <data android:scheme="smsto" />
671 </intent>
672 <intent>
673 <action android:name="android.intent.action.VIEW"/>
674 <data android:scheme="geo"/>
675 </intent>
676 <!-- About card -->
677 <intent>
678 <!-- View CalendarContract Uris -->
679 <action android:name="android.intent.action.VIEW"/>
680 <data android:scheme="content" android:host="com.android.calendar"/>
681 </intent>
682 <intent>
683 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700684 <data android:scheme="https"/>
685 </intent>
686
687 <!-- Account loading -->
688 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700689 <action android:name="android.accounts.AccountAuthenticator"/>
690 </intent>
691 <intent>
692 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700693 <data android:scheme="content" android:host="com.android.contacts"
694 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700695 </intent>
696
697 <!-- calling -->
698 <package android:name="com.android.dialer"/>
699 <intent>
700 <action android:name="android.intent.action.CALL" />
701 <data android:scheme="tel" />
702 </intent>
703 <intent>
704 <action android:name="android.intent.action.DIAL" />
705 <data android:scheme="tel" />
706 </intent>
707 <intent>
708 <action android:name="android.intent.action.CALL" />
709 <data android:scheme="sip" />
710 </intent>
711 <intent>
712 <action android:name="android.intent.action.DIAL" />
713 <data android:scheme="sip" />
714 </intent>
715 <intent>
716 <action android:name="android.intent.action.CALL" />
717 <data android:scheme="voicemail" />
718 </intent>
719 <intent>
720 <action android:name="android.intent.action.DIAL" />
721 <data android:scheme="voicemail" />
722 </intent>
723
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700724 <!-- vcard export -->
725 <intent>
726 <action android:name="android.intent.action.CREATE_DOCUMENT" />
727 <data android:mimeType="text/x-vcard" />
728 <category android:name="android.intent.category.OPENABLE" />
729 </intent>
730
731 <!-- edit contact photo -->
732 <intent>
Gary Mai1ffb6382021-11-24 17:50:58 -0800733 <action android:name="android.media.action.IMAGE_CAPTURE" />
734 </intent>
735
736 <intent>
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700737 <action android:name="com.android.camera.action.CROP" />
738 <data android:mimeType="image/*" />
739 </intent>
740
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700741 </queries>
742
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800743</manifest>