blob: bc37284b90e296e2b1d51218f0ca5f7dbf560559 [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 Hagerottb6a44dd2020-04-22 08:58:40 -070019 android:versionCode="10732"
20 android:versionName="1.7.32">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
John Shaoc9c2c452016-12-20 17:12:03 -080022 <uses-sdk
23 android:minSdkVersion="21"
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -070024 android:targetSdkVersion="30"/>
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 Shaoc9c2c452016-12-20 17:12:03 -080056
57 <uses-feature
58 android:name="android.hardware.telephony"
59 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070060
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080061 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080062 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070063 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080064 android:icon="@mipmap/ic_contacts_launcher"
65 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080066 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080067 android:taskAffinity="android.task.contacts"
68 android:usesCleartextTraffic="false">
69 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
70 <activity
71 android:name=".activities.PeopleActivity"
72 android:alwaysRetainTaskState="true"
73 android:launchMode="singleTop"
74 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080075 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070076 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070077 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080078 >
79 <intent-filter>
80 <action android:name="android.intent.action.MAIN"/>
81
82 <category android:name="android.intent.category.DEFAULT"/>
83 <category android:name="android.intent.category.LAUNCHER"/>
84 <category android:name="android.intent.category.BROWSABLE"/>
85 <category android:name="android.intent.category.APP_CONTACTS"/>
86 </intent-filter>
87 <intent-filter>
88 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
89
90 <category android:name="android.intent.category.DEFAULT"/>
91 <category android:name="android.intent.category.TAB"/>
92 </intent-filter>
93
94 <intent-filter>
95 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
96
97 <category android:name="android.intent.category.DEFAULT"/>
98 <category android:name="android.intent.category.TAB"/>
99 </intent-filter>
100
101 <intent-filter>
102 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
103
104 <category android:name="android.intent.category.DEFAULT"/>
105 <category android:name="android.intent.category.TAB"/>
106 </intent-filter>
107
108 <intent-filter>
109 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
110
111 <category android:name="android.intent.category.DEFAULT"/>
112 <category android:name="android.intent.category.TAB"/>
113 </intent-filter>
114
115 <intent-filter>
116 <action android:name="com.android.contacts.action.LIST_STARRED"/>
117
118 <category android:name="android.intent.category.DEFAULT"/>
119 <category android:name="android.intent.category.TAB"/>
120 </intent-filter>
121
122 <intent-filter>
123 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
124
125 <category android:name="android.intent.category.DEFAULT"/>
126 <category android:name="android.intent.category.TAB"/>
127 </intent-filter>
128
129 <intent-filter>
130 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
131
132 <category android:name="android.intent.category.DEFAULT"/>
133 <category android:name="android.intent.category.TAB"/>
134 </intent-filter>
135
136 <intent-filter>
137 <action android:name="android.intent.action.SEARCH"/>
138 <category android:name="android.intent.category.DEFAULT"/>
139 <data android:mimeType="vnd.android.cursor.dir/contact"/>
140 </intent-filter>
141
142 <intent-filter>
143 <action android:name="android.intent.action.SEARCH"/>
144 <category android:name="android.intent.category.DEFAULT"/>
145 </intent-filter>
146
147 <intent-filter>
148 <action android:name="android.intent.action.VIEW"/>
149 <category android:name="android.intent.category.DEFAULT"/>
150
151 <data android:mimeType="vnd.android.cursor.dir/person"/>
152 <data android:mimeType="vnd.android.cursor.dir/contact"/>
153 <data android:mimeType="vnd.android.cursor.item/group"/>
154 </intent-filter>
155
156 <intent-filter>
157 <action android:name="android.intent.action.EDIT"/>
158 <category android:name="android.intent.category.DEFAULT"/>
159 <data android:mimeType="vnd.android.cursor.item/group"/>
160 </intent-filter>
161
162 <intent-filter>
163 <action android:name="android.intent.action.INSERT"/>
164 <category android:name="android.intent.category.DEFAULT"/>
165 <data android:mimeType="vnd.android.cursor.dir/group"/>
166 </intent-filter>
167
168 <meta-data
169 android:name="android.app.searchable"
170 android:resource="@xml/searchable"
171 />
172
173 <meta-data
174 android:name="android.app.shortcuts"
175 android:resource="@xml/shortcuts"
176 />
177
178 </activity>
179
180 <activity
181 android:name=".activities.ContactSelectionActivity"
182 android:clearTaskOnLaunch="true"
183 android:launchMode="singleTop"
184 android:theme="@style/ContactPickerTheme"
185 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800186 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700187 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800188 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700189 <meta-data android:name="android.app.shortcuts.new_config"
190 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800191 <intent-filter>
192 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
193 <category android:name="android.intent.category.DEFAULT"/>
194
195 <data android:mimeType="vnd.android.cursor.item/person"/>
196 <data android:mimeType="vnd.android.cursor.item/contact"/>
197 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
198 </intent-filter>
199
200 <intent-filter>
201 <action android:name="android.intent.action.PICK"/>
202 <category android:name="android.intent.category.DEFAULT"/>
203
204 <data android:mimeType="vnd.android.cursor.dir/contact"/>
205 <data android:mimeType="vnd.android.cursor.dir/person"/>
206 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
207 <data android:mimeType="vnd.android.cursor.dir/phone"/>
208 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
209 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
210 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
211 <data android:mimeType="vnd.android.cursor.dir/group"/>
212 </intent-filter>
213
214 <intent-filter>
215 <action android:name="android.intent.action.GET_CONTENT"/>
216 <category android:name="android.intent.category.DEFAULT"/>
217
218 <data android:mimeType="vnd.android.cursor.item/contact"/>
219 <data android:mimeType="vnd.android.cursor.item/person"/>
220 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
221 <data android:mimeType="vnd.android.cursor.item/phone"/>
222 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
223 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
224 </intent-filter>
225
226 <intent-filter>
227 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
228 <category android:name="android.intent.category.DEFAULT"/>
229 </intent-filter>
230 </activity>
231
232 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
233 <activity-alias
234 android:name="ContactsListActivity"
235 android:targetActivity=".activities.PeopleActivity"
236 />
237
238 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
239 <activity-alias
240 android:name=".activities.ContactsFrontDoor"
241 android:exported="true"
242 android:targetActivity=".activities.PeopleActivity"
243 />
244
245 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
246 <activity-alias
247 android:name="DialtactsContactsEntryActivity"
248 android:exported="true"
249 android:targetActivity=".activities.PeopleActivity"
250 />
251
252 <!-- Used to set options -->
253 <activity
254 android:name=".preference.ContactsPreferenceActivity"
255 android:exported="false"
256 android:label="@string/activity_title_settings"
257 android:launchMode="singleTop"
258 android:theme="@style/ContactsPreferencesTheme"/>
259
260 <activity
261 android:name=".activities.LicenseActivity"
262 android:exported="true"
263 android:label="@string/activity_title_licenses"
264 android:theme="@style/ContactsPreferencesTheme"/>
265
266 <!-- Used to filter contacts list by account -->
267 <activity
268 android:name=".list.AccountFilterActivity"
269 android:label="@string/activity_title_contacts_filter"
270 android:theme="@style/ContactListFilterTheme"/>
271
272 <!-- Used to select display and sync groups -->
273 <activity
274 android:name=".list.CustomContactListFilterActivity"
275 android:label="@string/custom_list_filter"
276 android:theme="@style/ContactListFilterTheme"/>
277
278 <activity
279 android:name=".activities.RequestPermissionsActivity"
280 android:exported="false"
281 android:theme="@style/PeopleTheme"/>
282
283 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800284 android:name=".activities.RequestImportVCardPermissionsActivity"
285 android:exported="false"
286 android:theme="@style/PeopleTheme"/>
287
288 <activity
289 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700290 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800291 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
292
293 <intent-filter>
294 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
295 <category android:name="android.intent.category.DEFAULT"/>
296
297 <data android:scheme="mailto"/>
298 <data android:scheme="tel"/>
299 </intent-filter>
300 </activity>
301
302 <activity
303 android:name=".quickcontact.QuickContactActivity"
304 android:excludeFromRecents="true"
305 android:launchMode="singleTop"
306 android:taskAffinity=""
307 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700308 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800309 android:windowSoftInputMode="stateUnchanged">
310
311 <intent-filter>
312 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
313 <action android:name="android.provider.action.QUICK_CONTACT"/>
314
315 <category android:name="android.intent.category.DEFAULT"/>
316
317 <data android:mimeType="vnd.android.cursor.item/contact"/>
318 <data android:mimeType="vnd.android.cursor.item/person"/>
319 </intent-filter>
320
321 <intent-filter>
322 <action android:name="android.intent.action.VIEW"/>
323 <category android:name="android.intent.category.DEFAULT"/>
324
325 <data android:mimeType="vnd.android.cursor.item/person"/>
326 <data android:mimeType="vnd.android.cursor.item/contact"/>
327 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
328 </intent-filter>
329 </activity>
330
331 <receiver
332 android:name=".quickcontact.QuickContactBroadcastReceiver"
333 android:exported="false"/>
334
Wenyi Wang7ae91362017-03-06 16:31:12 -0800335 <!-- Responsible for creating notification channels when boot is completed or when app is
336 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700337 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
338 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800339 <intent-filter>
340 <action android:name="android.intent.action.BOOT_COMPLETED" />
341 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
342 </intent-filter>
343 </receiver>
344
John Shaoc9c2c452016-12-20 17:12:03 -0800345 <activity-alias
346 android:name="ContactShortcut"
347 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
348 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700349 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800350 android:targetActivity=".activities.ContactSelectionActivity">
351
352 <intent-filter>
353 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
354 <category android:name="android.intent.category.DEFAULT"/>
355 </intent-filter>
356
357 </activity-alias>
358
359 <activity-alias
360 android:name="alias.DialShortcut"
361 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
362 android:label="@string/shortcutDialContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700363 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800364 android:targetActivity=".activities.ContactSelectionActivity">
365
366 <intent-filter>
367 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
368
369 <category android:name="android.intent.category.DEFAULT"/>
370 <category android:name="android.intent.category.CAR_MODE"/>
371 </intent-filter>
372
373 </activity-alias>
374
375 <activity-alias
376 android:name="alias.MessageShortcut"
377 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
378 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700379 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800380 android:targetActivity=".activities.ContactSelectionActivity">
381
382 <intent-filter>
383 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
384 <category android:name="android.intent.category.DEFAULT"/>
385 </intent-filter>
386
387 </activity-alias>
388
389 <!-- Accounts changed prompt that can appear when creating a new contact. -->
390 <activity
391 android:name=".activities.ContactEditorAccountsChangedActivity"
392 android:exported="false"
393 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
394 android:windowSoftInputMode="adjustResize"/>
395
396 <!-- Edit or create a contact with only the most important fields displayed initially. -->
397 <activity
398 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700399 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800400 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800401
402 <intent-filter>
403 <action android:name="android.intent.action.INSERT"/>
404 <category android:name="android.intent.category.DEFAULT"/>
405
406 <data android:mimeType="vnd.android.cursor.dir/person"/>
407 <data android:mimeType="vnd.android.cursor.dir/contact"/>
408 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
409 </intent-filter>
410 </activity>
411
412 <!-- Keep support for apps that expect the Compact editor -->
413 <activity-alias
414 android:name="com.android.contacts.activities.CompactContactEditorActivity"
415 android:exported="true"
416 android:targetActivity=".activities.ContactEditorActivity">
417 <intent-filter android:priority="-1">
418 <action android:name="android.intent.action.INSERT"/>
419 <category android:name="android.intent.category.DEFAULT"/>
420
421 <data android:mimeType="vnd.android.cursor.dir/person"/>
422 <data android:mimeType="vnd.android.cursor.dir/contact"/>
423 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
424 </intent-filter>
425 </activity-alias>
426
427 <activity
428 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700429 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800430 android:theme="@style/TransparentThemeAppCompat">
431
432 <intent-filter>
433 <action android:name="android.intent.action.EDIT"/>
434 <category android:name="android.intent.category.DEFAULT"/>
435
436 <data android:mimeType="vnd.android.cursor.item/person"/>
437 <data android:mimeType="vnd.android.cursor.item/contact"/>
438 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
439 </intent-filter>
440 </activity>
441
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700442 <activity android:name=".test.FragmentTestActivity"
443 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800444 <intent-filter>
445 <category android:name="android.intent.category.TEST"/>
446 </intent-filter>
447 </activity>
448
449 <!-- Stub service used to keep our process alive long enough for
450 background threads to finish their operations. -->
451 <service
452 android:name=".util.EmptyService"
453 android:exported="false"/>
454
455 <!-- Service to save a contact -->
456 <service
457 android:name=".ContactSaveService"
458 android:exported="false"/>
459
460 <!-- Service to import contacts from the SIM card -->
461 <service
462 android:name=".SimImportService"
463 android:exported="false"/>
464
465 <!-- Attaches a photo to a contact. Started from external applications -->
466 <activity
467 android:name=".activities.AttachPhotoActivity"
468 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700469 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800470 android:taskAffinity="">
471 <intent-filter>
472 <action android:name="android.intent.action.ATTACH_DATA"/>
473 <data android:mimeType="image/*"/>
474 <category android:name="android.intent.category.DEFAULT"/>
475 </intent-filter>
476 </activity>
477
478 <!-- vCard related -->
479 <activity
480 android:name=".vcard.ImportVCardActivity"
481 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700482 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800483 android:theme="@style/BackgroundOnlyTheme">
484 <intent-filter>
485 <action android:name="android.intent.action.VIEW"/>
486
487 <data android:mimeType="text/directory"/>
488 <data android:mimeType="text/vcard"/>
489 <data android:mimeType="text/x-vcard"/>
490
491 <category android:name="android.intent.category.DEFAULT"/>
492 </intent-filter>
493 </activity>
494
495 <activity
496 android:name=".vcard.NfcImportVCardActivity"
497 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700498 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800499 android:theme="@style/BackgroundOnlyTheme">
500 <intent-filter>
501 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
502
503 <data android:mimeType="text/vcard"/>
504 <data android:mimeType="text/x-vcard"/>
505
506 <category android:name="android.intent.category.DEFAULT"/>
507 </intent-filter>
508 </activity>
509
510 <activity
511 android:name=".vcard.CancelActivity"
512 android:theme="@style/BackgroundOnlyTheme"/>
513
514 <activity
515 android:name=".vcard.SelectAccountActivity"
516 android:theme="@style/BackgroundOnlyTheme"/>
517
518 <activity
519 android:name=".vcard.ExportVCardActivity"
520 android:theme="@style/BackgroundOnlyTheme"/>
521
522 <activity
523 android:name=".vcard.ShareVCardActivity"
524 android:theme="@style/BackgroundOnlyTheme"/>
525
526 <activity
527 android:name=".activities.SimImportActivity"
528 android:label="@string/sim_import_title"
529 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
530
531
532 <service
533 android:name=".vcard.VCardService"
534 android:exported="false"/>
535 <!-- end vCard related -->
536
537 <!-- Intercept Dialer Intents for devices without a phone.
538 This activity should have the same intent filters as the DialtactsActivity,
539 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
540 we don't want this to show up in the Launcher. The priorities of the intent-filters
541 are set lower, so that the user does not see a disambig dialog -->
542 <activity
543 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700544 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800545 android:theme="@style/NonPhoneActivityTheme">
546 <intent-filter android:priority="-1">
547 <action android:name="android.intent.action.MAIN"/>
548
549 <category android:name="android.intent.category.DEFAULT"/>
550 <category android:name="android.intent.category.BROWSABLE"/>
551 </intent-filter>
552 <intent-filter android:priority="-1">
553 <action android:name="android.intent.action.VIEW"/>
554
555 <category android:name="android.intent.category.DEFAULT"/>
556 <category android:name="android.intent.category.BROWSABLE"/>
557
558 <data android:scheme="tel"/>
559 </intent-filter>
560 <intent-filter android:priority="-1">
561 <action android:name="android.intent.action.VIEW"/>
562
563 <category android:name="android.intent.category.DEFAULT"/>
564 <category android:name="android.intent.category.BROWSABLE"/>
565
566 <data android:mimeType="vnd.android.cursor.dir/calls"/>
567 </intent-filter>
568 </activity>
569
570 <activity
571 android:name="com.android.contacts.dialog.CallSubjectDialog"
572 android:theme="@style/Theme.CallSubjectDialogTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700573 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800574 android:windowSoftInputMode="stateVisible|adjustResize">
575 <intent-filter>
576 <action android:name="android.intent.action.VIEW"/>
577 </intent-filter>
578 </activity>
579
580 <!-- Service that is exclusively for the Phone application that sends out a view
581 notification. This service might be removed in future versions of the app.
582
583 This is called explicitly by the phone app via package name and class.
584 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
585 needs to be changed as well.
586 -->
587 <service
588 android:name=".ViewNotificationService"
589 android:exported="true"
590 android:permission="android.permission.WRITE_CONTACTS">
591 <intent-filter>
592 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
593 <data android:mimeType="vnd.android.cursor.item/contact"/>
594 </intent-filter>
595 </service>
596
597 <!-- Service used to run JobScheduler jobs -->
598 <service
599 android:name="com.android.contacts.ContactsJobService"
600 android:permission="android.permission.BIND_JOB_SERVICE"/>
601
602 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700603 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800604 android:authorities="@string/contacts_file_provider_authority"
605 android:exported="false"
606 android:grantUriPermissions="true">
607 <meta-data
608 android:name="android.support.FILE_PROVIDER_PATHS"
609 android:resource="@xml/file_paths"/>
610 </provider>
611
612 <meta-data
613 android:name="android.nfc.disable_beam_default"
614 android:value="true"/>
615
616 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700617
618 <!-- Allows the contacts app to see the activities and services needed
619 to detect accounts and show actions in QuickContact. -->
620 <queries>
621 <!-- ContactsProvider2 -->
622 <package android:name="com.android.contacts"/>
623
624 <!-- quickcontact actions and verbs -->
625 <intent>
626 <action android:name="android.intent.action.SENDTO" />
627 <data android:scheme="imto" />
628 </intent>
629 <intent>
630 <action android:name="android.intent.action.SENDTO" />
631 <data android:scheme="xmpp" />
632 </intent>
633 <intent>
634 <action android:name="android.intent.action.SENDTO" />
635 <data android:scheme="mailto" />
636 </intent>
637 <intent>
638 <action android:name="android.intent.action.SENDTO" />
639 <data android:scheme="smsto" />
640 </intent>
641 <intent>
642 <action android:name="android.intent.action.VIEW"/>
643 <data android:scheme="geo"/>
644 </intent>
645 <!-- About card -->
646 <intent>
647 <!-- View CalendarContract Uris -->
648 <action android:name="android.intent.action.VIEW"/>
649 <data android:scheme="content" android:host="com.android.calendar"/>
650 </intent>
651 <intent>
652 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700653 <data android:scheme="https"/>
654 </intent>
655
656 <!-- Account loading -->
657 <intent>
658 <action android:name="android.content.SyncAdapter"/>
659 </intent>
660 <intent>
661 <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>