blob: e59d24f4fccfadc1246fa4e1a6ce4054263ce73f [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"
Marcus Hagerottc23eb652020-06-10 10:18:42 -070019 android:versionCode="10733"
20 android:versionName="1.7.33">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
John Shaoc9c2c452016-12-20 17:12:03 -080022 <uses-sdk
John Shao9b094122021-10-27 22:22:46 +000023 android:minSdkVersion="31"
24 android:targetSdkVersion="31"/>
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"/>
31 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
32 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
33 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
34 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
35 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
36 <uses-permission android:name="android.permission.CALL_PHONE"/>
37 <uses-permission android:name="android.permission.READ_PROFILE"/>
38 <uses-permission android:name="android.permission.WRITE_PROFILE"/>
39 <uses-permission android:name="android.permission.INTERNET"/>
40 <uses-permission android:name="android.permission.NFC"/>
John Shao7575f242022-01-04 19:24:08 +000041 <uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080042 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
43 <uses-permission android:name="android.permission.WAKE_LOCK"/>
44 <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
45 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
46 <uses-permission android:name="android.permission.VIBRATE"/>
47 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
48 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
49 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
John Shaoc9c2c452016-12-20 17:12:03 -080050 <!-- Following used for Contact metadata syncing -->
51 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
52 <!-- Following used for getting the status of the contacts sync adapter -->
53 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
Wenyi Wangbf7745a2017-03-23 10:28:24 -070054 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Marcus Hagerott7b9c80d2018-03-02 16:32:56 -080055 <!-- Required in P to run Service.startForeground() -->
56 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
John Shaoaa189a02020-12-23 22:21:30 +000057 <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
John Shaoc9c2c452016-12-20 17:12:03 -080058
59 <uses-feature
60 android:name="android.hardware.telephony"
61 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070062
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080063 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080064 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070065 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080066 android:icon="@mipmap/ic_contacts_launcher"
67 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080068 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080069 android:taskAffinity="android.task.contacts"
70 android:usesCleartextTraffic="false">
71 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
72 <activity
73 android:name=".activities.PeopleActivity"
74 android:alwaysRetainTaskState="true"
75 android:launchMode="singleTop"
76 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080077 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070078 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070079 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080080 >
81 <intent-filter>
82 <action android:name="android.intent.action.MAIN"/>
83
84 <category android:name="android.intent.category.DEFAULT"/>
85 <category android:name="android.intent.category.LAUNCHER"/>
86 <category android:name="android.intent.category.BROWSABLE"/>
87 <category android:name="android.intent.category.APP_CONTACTS"/>
88 </intent-filter>
89 <intent-filter>
90 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
91
92 <category android:name="android.intent.category.DEFAULT"/>
93 <category android:name="android.intent.category.TAB"/>
94 </intent-filter>
95
96 <intent-filter>
97 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
98
99 <category android:name="android.intent.category.DEFAULT"/>
100 <category android:name="android.intent.category.TAB"/>
101 </intent-filter>
102
103 <intent-filter>
104 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
105
106 <category android:name="android.intent.category.DEFAULT"/>
107 <category android:name="android.intent.category.TAB"/>
108 </intent-filter>
109
110 <intent-filter>
111 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
112
113 <category android:name="android.intent.category.DEFAULT"/>
114 <category android:name="android.intent.category.TAB"/>
115 </intent-filter>
116
117 <intent-filter>
118 <action android:name="com.android.contacts.action.LIST_STARRED"/>
119
120 <category android:name="android.intent.category.DEFAULT"/>
121 <category android:name="android.intent.category.TAB"/>
122 </intent-filter>
123
124 <intent-filter>
125 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
126
127 <category android:name="android.intent.category.DEFAULT"/>
128 <category android:name="android.intent.category.TAB"/>
129 </intent-filter>
130
131 <intent-filter>
132 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
133
134 <category android:name="android.intent.category.DEFAULT"/>
135 <category android:name="android.intent.category.TAB"/>
136 </intent-filter>
137
138 <intent-filter>
139 <action android:name="android.intent.action.SEARCH"/>
140 <category android:name="android.intent.category.DEFAULT"/>
141 <data android:mimeType="vnd.android.cursor.dir/contact"/>
142 </intent-filter>
143
144 <intent-filter>
145 <action android:name="android.intent.action.SEARCH"/>
146 <category android:name="android.intent.category.DEFAULT"/>
147 </intent-filter>
148
149 <intent-filter>
150 <action android:name="android.intent.action.VIEW"/>
151 <category android:name="android.intent.category.DEFAULT"/>
152
153 <data android:mimeType="vnd.android.cursor.dir/person"/>
154 <data android:mimeType="vnd.android.cursor.dir/contact"/>
155 <data android:mimeType="vnd.android.cursor.item/group"/>
156 </intent-filter>
157
158 <intent-filter>
159 <action android:name="android.intent.action.EDIT"/>
160 <category android:name="android.intent.category.DEFAULT"/>
161 <data android:mimeType="vnd.android.cursor.item/group"/>
162 </intent-filter>
163
164 <intent-filter>
165 <action android:name="android.intent.action.INSERT"/>
166 <category android:name="android.intent.category.DEFAULT"/>
167 <data android:mimeType="vnd.android.cursor.dir/group"/>
168 </intent-filter>
169
170 <meta-data
171 android:name="android.app.searchable"
172 android:resource="@xml/searchable"
173 />
174
175 <meta-data
176 android:name="android.app.shortcuts"
177 android:resource="@xml/shortcuts"
178 />
179
180 </activity>
181
182 <activity
183 android:name=".activities.ContactSelectionActivity"
184 android:clearTaskOnLaunch="true"
185 android:launchMode="singleTop"
186 android:theme="@style/ContactPickerTheme"
187 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800188 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700189 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800190 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700191 <meta-data android:name="android.app.shortcuts.new_config"
192 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800193 <intent-filter>
194 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
195 <category android:name="android.intent.category.DEFAULT"/>
196
197 <data android:mimeType="vnd.android.cursor.item/person"/>
198 <data android:mimeType="vnd.android.cursor.item/contact"/>
199 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
200 </intent-filter>
201
202 <intent-filter>
203 <action android:name="android.intent.action.PICK"/>
204 <category android:name="android.intent.category.DEFAULT"/>
205
206 <data android:mimeType="vnd.android.cursor.dir/contact"/>
207 <data android:mimeType="vnd.android.cursor.dir/person"/>
208 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
209 <data android:mimeType="vnd.android.cursor.dir/phone"/>
210 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
211 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
212 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
213 <data android:mimeType="vnd.android.cursor.dir/group"/>
214 </intent-filter>
215
216 <intent-filter>
217 <action android:name="android.intent.action.GET_CONTENT"/>
218 <category android:name="android.intent.category.DEFAULT"/>
219
220 <data android:mimeType="vnd.android.cursor.item/contact"/>
221 <data android:mimeType="vnd.android.cursor.item/person"/>
222 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
223 <data android:mimeType="vnd.android.cursor.item/phone"/>
224 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
225 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
226 </intent-filter>
227
228 <intent-filter>
229 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
230 <category android:name="android.intent.category.DEFAULT"/>
231 </intent-filter>
232 </activity>
233
234 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
235 <activity-alias
236 android:name="ContactsListActivity"
237 android:targetActivity=".activities.PeopleActivity"
238 />
239
240 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
241 <activity-alias
242 android:name=".activities.ContactsFrontDoor"
243 android:exported="true"
244 android:targetActivity=".activities.PeopleActivity"
245 />
246
247 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
248 <activity-alias
249 android:name="DialtactsContactsEntryActivity"
250 android:exported="true"
251 android:targetActivity=".activities.PeopleActivity"
252 />
253
254 <!-- Used to set options -->
255 <activity
256 android:name=".preference.ContactsPreferenceActivity"
257 android:exported="false"
258 android:label="@string/activity_title_settings"
259 android:launchMode="singleTop"
260 android:theme="@style/ContactsPreferencesTheme"/>
261
262 <activity
263 android:name=".activities.LicenseActivity"
264 android:exported="true"
265 android:label="@string/activity_title_licenses"
266 android:theme="@style/ContactsPreferencesTheme"/>
267
268 <!-- Used to filter contacts list by account -->
269 <activity
270 android:name=".list.AccountFilterActivity"
271 android:label="@string/activity_title_contacts_filter"
272 android:theme="@style/ContactListFilterTheme"/>
273
274 <!-- Used to select display and sync groups -->
275 <activity
276 android:name=".list.CustomContactListFilterActivity"
277 android:label="@string/custom_list_filter"
278 android:theme="@style/ContactListFilterTheme"/>
279
280 <activity
281 android:name=".activities.RequestPermissionsActivity"
282 android:exported="false"
283 android:theme="@style/PeopleTheme"/>
284
285 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800286 android:name=".activities.RequestImportVCardPermissionsActivity"
287 android:exported="false"
288 android:theme="@style/PeopleTheme"/>
289
290 <activity
291 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700292 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800293 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
294
295 <intent-filter>
296 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
297 <category android:name="android.intent.category.DEFAULT"/>
298
299 <data android:scheme="mailto"/>
300 <data android:scheme="tel"/>
301 </intent-filter>
302 </activity>
303
304 <activity
305 android:name=".quickcontact.QuickContactActivity"
306 android:excludeFromRecents="true"
307 android:launchMode="singleTop"
308 android:taskAffinity=""
309 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700310 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800311 android:windowSoftInputMode="stateUnchanged">
312
313 <intent-filter>
314 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
315 <action android:name="android.provider.action.QUICK_CONTACT"/>
316
317 <category android:name="android.intent.category.DEFAULT"/>
318
319 <data android:mimeType="vnd.android.cursor.item/contact"/>
320 <data android:mimeType="vnd.android.cursor.item/person"/>
321 </intent-filter>
322
323 <intent-filter>
324 <action android:name="android.intent.action.VIEW"/>
325 <category android:name="android.intent.category.DEFAULT"/>
326
327 <data android:mimeType="vnd.android.cursor.item/person"/>
328 <data android:mimeType="vnd.android.cursor.item/contact"/>
329 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
330 </intent-filter>
331 </activity>
332
333 <receiver
334 android:name=".quickcontact.QuickContactBroadcastReceiver"
335 android:exported="false"/>
336
Wenyi Wang7ae91362017-03-06 16:31:12 -0800337 <!-- Responsible for creating notification channels when boot is completed or when app is
338 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700339 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
340 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800341 <intent-filter>
342 <action android:name="android.intent.action.BOOT_COMPLETED" />
343 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
344 </intent-filter>
345 </receiver>
346
John Shaoc9c2c452016-12-20 17:12:03 -0800347 <activity-alias
348 android:name="ContactShortcut"
349 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
350 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700351 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800352 android:targetActivity=".activities.ContactSelectionActivity">
353
354 <intent-filter>
355 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
356 <category android:name="android.intent.category.DEFAULT"/>
357 </intent-filter>
358
359 </activity-alias>
360
361 <activity-alias
362 android:name="alias.DialShortcut"
363 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
364 android:label="@string/shortcutDialContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700365 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800366 android:targetActivity=".activities.ContactSelectionActivity">
367
368 <intent-filter>
369 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
370
371 <category android:name="android.intent.category.DEFAULT"/>
372 <category android:name="android.intent.category.CAR_MODE"/>
373 </intent-filter>
374
375 </activity-alias>
376
377 <activity-alias
378 android:name="alias.MessageShortcut"
379 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
380 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700381 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800382 android:targetActivity=".activities.ContactSelectionActivity">
383
384 <intent-filter>
385 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
386 <category android:name="android.intent.category.DEFAULT"/>
387 </intent-filter>
388
389 </activity-alias>
390
391 <!-- Accounts changed prompt that can appear when creating a new contact. -->
392 <activity
393 android:name=".activities.ContactEditorAccountsChangedActivity"
394 android:exported="false"
395 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
396 android:windowSoftInputMode="adjustResize"/>
397
398 <!-- Edit or create a contact with only the most important fields displayed initially. -->
399 <activity
400 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700401 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800402 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800403
404 <intent-filter>
405 <action android:name="android.intent.action.INSERT"/>
406 <category android:name="android.intent.category.DEFAULT"/>
407
408 <data android:mimeType="vnd.android.cursor.dir/person"/>
409 <data android:mimeType="vnd.android.cursor.dir/contact"/>
410 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
411 </intent-filter>
412 </activity>
413
414 <!-- Keep support for apps that expect the Compact editor -->
415 <activity-alias
416 android:name="com.android.contacts.activities.CompactContactEditorActivity"
417 android:exported="true"
418 android:targetActivity=".activities.ContactEditorActivity">
419 <intent-filter android:priority="-1">
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-alias>
428
429 <activity
430 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700431 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800432 android:theme="@style/TransparentThemeAppCompat">
433
434 <intent-filter>
435 <action android:name="android.intent.action.EDIT"/>
436 <category android:name="android.intent.category.DEFAULT"/>
437
438 <data android:mimeType="vnd.android.cursor.item/person"/>
439 <data android:mimeType="vnd.android.cursor.item/contact"/>
440 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
441 </intent-filter>
442 </activity>
443
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700444 <activity android:name=".test.FragmentTestActivity"
445 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800446 <intent-filter>
447 <category android:name="android.intent.category.TEST"/>
448 </intent-filter>
449 </activity>
450
451 <!-- Stub service used to keep our process alive long enough for
452 background threads to finish their operations. -->
453 <service
454 android:name=".util.EmptyService"
455 android:exported="false"/>
456
457 <!-- Service to save a contact -->
458 <service
459 android:name=".ContactSaveService"
460 android:exported="false"/>
461
462 <!-- Service to import contacts from the SIM card -->
463 <service
464 android:name=".SimImportService"
465 android:exported="false"/>
466
467 <!-- Attaches a photo to a contact. Started from external applications -->
468 <activity
469 android:name=".activities.AttachPhotoActivity"
470 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700471 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800472 android:taskAffinity="">
473 <intent-filter>
474 <action android:name="android.intent.action.ATTACH_DATA"/>
475 <data android:mimeType="image/*"/>
476 <category android:name="android.intent.category.DEFAULT"/>
477 </intent-filter>
478 </activity>
479
480 <!-- vCard related -->
481 <activity
482 android:name=".vcard.ImportVCardActivity"
483 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700484 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800485 android:theme="@style/BackgroundOnlyTheme">
486 <intent-filter>
487 <action android:name="android.intent.action.VIEW"/>
488
489 <data android:mimeType="text/directory"/>
490 <data android:mimeType="text/vcard"/>
491 <data android:mimeType="text/x-vcard"/>
492
493 <category android:name="android.intent.category.DEFAULT"/>
494 </intent-filter>
495 </activity>
496
497 <activity
498 android:name=".vcard.NfcImportVCardActivity"
John Shao80dd1ab2021-08-25 23:29:56 +0000499 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800500 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700501 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800502 android:theme="@style/BackgroundOnlyTheme">
503 <intent-filter>
504 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
505
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.CancelActivity"
515 android:theme="@style/BackgroundOnlyTheme"/>
516
517 <activity
518 android:name=".vcard.SelectAccountActivity"
519 android:theme="@style/BackgroundOnlyTheme"/>
520
521 <activity
522 android:name=".vcard.ExportVCardActivity"
523 android:theme="@style/BackgroundOnlyTheme"/>
524
525 <activity
526 android:name=".vcard.ShareVCardActivity"
527 android:theme="@style/BackgroundOnlyTheme"/>
528
529 <activity
530 android:name=".activities.SimImportActivity"
531 android:label="@string/sim_import_title"
532 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
533
534
535 <service
536 android:name=".vcard.VCardService"
537 android:exported="false"/>
538 <!-- end vCard related -->
539
540 <!-- Intercept Dialer Intents for devices without a phone.
541 This activity should have the same intent filters as the DialtactsActivity,
542 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
543 we don't want this to show up in the Launcher. The priorities of the intent-filters
544 are set lower, so that the user does not see a disambig dialog -->
545 <activity
546 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700547 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800548 android:theme="@style/NonPhoneActivityTheme">
549 <intent-filter android:priority="-1">
550 <action android:name="android.intent.action.MAIN"/>
551
552 <category android:name="android.intent.category.DEFAULT"/>
553 <category android:name="android.intent.category.BROWSABLE"/>
554 </intent-filter>
555 <intent-filter android:priority="-1">
556 <action android:name="android.intent.action.VIEW"/>
557
558 <category android:name="android.intent.category.DEFAULT"/>
559 <category android:name="android.intent.category.BROWSABLE"/>
560
561 <data android:scheme="tel"/>
562 </intent-filter>
563 <intent-filter android:priority="-1">
564 <action android:name="android.intent.action.VIEW"/>
565
566 <category android:name="android.intent.category.DEFAULT"/>
567 <category android:name="android.intent.category.BROWSABLE"/>
568
569 <data android:mimeType="vnd.android.cursor.dir/calls"/>
570 </intent-filter>
571 </activity>
572
573 <activity
574 android:name="com.android.contacts.dialog.CallSubjectDialog"
575 android:theme="@style/Theme.CallSubjectDialogTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700576 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800577 android:windowSoftInputMode="stateVisible|adjustResize">
578 <intent-filter>
579 <action android:name="android.intent.action.VIEW"/>
580 </intent-filter>
581 </activity>
582
583 <!-- Service that is exclusively for the Phone application that sends out a view
584 notification. This service might be removed in future versions of the app.
585
586 This is called explicitly by the phone app via package name and class.
587 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
588 needs to be changed as well.
589 -->
590 <service
591 android:name=".ViewNotificationService"
592 android:exported="true"
593 android:permission="android.permission.WRITE_CONTACTS">
594 <intent-filter>
595 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
596 <data android:mimeType="vnd.android.cursor.item/contact"/>
597 </intent-filter>
598 </service>
599
600 <!-- Service used to run JobScheduler jobs -->
601 <service
602 android:name="com.android.contacts.ContactsJobService"
603 android:permission="android.permission.BIND_JOB_SERVICE"/>
604
605 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700606 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800607 android:authorities="@string/contacts_file_provider_authority"
608 android:exported="false"
609 android:grantUriPermissions="true">
610 <meta-data
611 android:name="android.support.FILE_PROVIDER_PATHS"
612 android:resource="@xml/file_paths"/>
613 </provider>
614
615 <meta-data
616 android:name="android.nfc.disable_beam_default"
617 android:value="true"/>
618
619 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700620
621 <!-- Allows the contacts app to see the activities and services needed
622 to detect accounts and show actions in QuickContact. -->
623 <queries>
624 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700625 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700626
627 <!-- quickcontact actions and verbs -->
628 <intent>
629 <action android:name="android.intent.action.SENDTO" />
630 <data android:scheme="imto" />
631 </intent>
632 <intent>
633 <action android:name="android.intent.action.SENDTO" />
634 <data android:scheme="xmpp" />
635 </intent>
636 <intent>
637 <action android:name="android.intent.action.SENDTO" />
638 <data android:scheme="mailto" />
639 </intent>
640 <intent>
641 <action android:name="android.intent.action.SENDTO" />
642 <data android:scheme="smsto" />
643 </intent>
644 <intent>
645 <action android:name="android.intent.action.VIEW"/>
646 <data android:scheme="geo"/>
647 </intent>
648 <!-- About card -->
649 <intent>
650 <!-- View CalendarContract Uris -->
651 <action android:name="android.intent.action.VIEW"/>
652 <data android:scheme="content" android:host="com.android.calendar"/>
653 </intent>
654 <intent>
655 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700656 <data android:scheme="https"/>
657 </intent>
658
659 <!-- Account loading -->
660 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700661 <action android:name="android.accounts.AccountAuthenticator"/>
662 </intent>
663 <intent>
664 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700665 <data android:scheme="content" android:host="com.android.contacts"
666 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700667 </intent>
668
669 <!-- calling -->
670 <package android:name="com.android.dialer"/>
671 <intent>
672 <action android:name="android.intent.action.CALL" />
673 <data android:scheme="tel" />
674 </intent>
675 <intent>
676 <action android:name="android.intent.action.DIAL" />
677 <data android:scheme="tel" />
678 </intent>
679 <intent>
680 <action android:name="android.intent.action.CALL" />
681 <data android:scheme="sip" />
682 </intent>
683 <intent>
684 <action android:name="android.intent.action.DIAL" />
685 <data android:scheme="sip" />
686 </intent>
687 <intent>
688 <action android:name="android.intent.action.CALL" />
689 <data android:scheme="voicemail" />
690 </intent>
691 <intent>
692 <action android:name="android.intent.action.DIAL" />
693 <data android:scheme="voicemail" />
694 </intent>
695
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700696 <!-- vcard export -->
697 <intent>
698 <action android:name="android.intent.action.CREATE_DOCUMENT" />
699 <data android:mimeType="text/x-vcard" />
700 <category android:name="android.intent.category.OPENABLE" />
701 </intent>
702
703 <!-- edit contact photo -->
704 <intent>
705 <action android:name="com.android.camera.action.CROP" />
706 <data android:mimeType="image/*" />
707 </intent>
708
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700709 </queries>
710
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800711</manifest>