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