blob: a5b25debd5dbe6a04ebab9a7cee18f62aa4d2c69 [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
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 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"
498 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700499 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800500 android:theme="@style/BackgroundOnlyTheme">
501 <intent-filter>
502 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
503
504 <data android:mimeType="text/vcard"/>
505 <data android:mimeType="text/x-vcard"/>
506
507 <category android:name="android.intent.category.DEFAULT"/>
508 </intent-filter>
509 </activity>
510
511 <activity
512 android:name=".vcard.CancelActivity"
513 android:theme="@style/BackgroundOnlyTheme"/>
514
515 <activity
516 android:name=".vcard.SelectAccountActivity"
517 android:theme="@style/BackgroundOnlyTheme"/>
518
519 <activity
520 android:name=".vcard.ExportVCardActivity"
521 android:theme="@style/BackgroundOnlyTheme"/>
522
523 <activity
524 android:name=".vcard.ShareVCardActivity"
525 android:theme="@style/BackgroundOnlyTheme"/>
526
527 <activity
528 android:name=".activities.SimImportActivity"
529 android:label="@string/sim_import_title"
530 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
531
532
533 <service
534 android:name=".vcard.VCardService"
535 android:exported="false"/>
536 <!-- end vCard related -->
537
538 <!-- Intercept Dialer Intents for devices without a phone.
539 This activity should have the same intent filters as the DialtactsActivity,
540 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
541 we don't want this to show up in the Launcher. The priorities of the intent-filters
542 are set lower, so that the user does not see a disambig dialog -->
543 <activity
544 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700545 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800546 android:theme="@style/NonPhoneActivityTheme">
547 <intent-filter android:priority="-1">
548 <action android:name="android.intent.action.MAIN"/>
549
550 <category android:name="android.intent.category.DEFAULT"/>
551 <category android:name="android.intent.category.BROWSABLE"/>
552 </intent-filter>
553 <intent-filter android:priority="-1">
554 <action android:name="android.intent.action.VIEW"/>
555
556 <category android:name="android.intent.category.DEFAULT"/>
557 <category android:name="android.intent.category.BROWSABLE"/>
558
559 <data android:scheme="tel"/>
560 </intent-filter>
561 <intent-filter android:priority="-1">
562 <action android:name="android.intent.action.VIEW"/>
563
564 <category android:name="android.intent.category.DEFAULT"/>
565 <category android:name="android.intent.category.BROWSABLE"/>
566
567 <data android:mimeType="vnd.android.cursor.dir/calls"/>
568 </intent-filter>
569 </activity>
570
571 <activity
572 android:name="com.android.contacts.dialog.CallSubjectDialog"
573 android:theme="@style/Theme.CallSubjectDialogTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700574 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800575 android:windowSoftInputMode="stateVisible|adjustResize">
576 <intent-filter>
577 <action android:name="android.intent.action.VIEW"/>
578 </intent-filter>
579 </activity>
580
581 <!-- Service that is exclusively for the Phone application that sends out a view
582 notification. This service might be removed in future versions of the app.
583
584 This is called explicitly by the phone app via package name and class.
585 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
586 needs to be changed as well.
587 -->
588 <service
589 android:name=".ViewNotificationService"
590 android:exported="true"
591 android:permission="android.permission.WRITE_CONTACTS">
592 <intent-filter>
593 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
594 <data android:mimeType="vnd.android.cursor.item/contact"/>
595 </intent-filter>
596 </service>
597
598 <!-- Service used to run JobScheduler jobs -->
599 <service
600 android:name="com.android.contacts.ContactsJobService"
601 android:permission="android.permission.BIND_JOB_SERVICE"/>
602
603 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700604 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800605 android:authorities="@string/contacts_file_provider_authority"
606 android:exported="false"
607 android:grantUriPermissions="true">
608 <meta-data
609 android:name="android.support.FILE_PROVIDER_PATHS"
610 android:resource="@xml/file_paths"/>
611 </provider>
612
613 <meta-data
614 android:name="android.nfc.disable_beam_default"
615 android:value="true"/>
616
617 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700618
619 <!-- Allows the contacts app to see the activities and services needed
620 to detect accounts and show actions in QuickContact. -->
621 <queries>
622 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700623 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700624
625 <!-- quickcontact actions and verbs -->
626 <intent>
627 <action android:name="android.intent.action.SENDTO" />
628 <data android:scheme="imto" />
629 </intent>
630 <intent>
631 <action android:name="android.intent.action.SENDTO" />
632 <data android:scheme="xmpp" />
633 </intent>
634 <intent>
635 <action android:name="android.intent.action.SENDTO" />
636 <data android:scheme="mailto" />
637 </intent>
638 <intent>
639 <action android:name="android.intent.action.SENDTO" />
640 <data android:scheme="smsto" />
641 </intent>
642 <intent>
643 <action android:name="android.intent.action.VIEW"/>
644 <data android:scheme="geo"/>
645 </intent>
646 <!-- About card -->
647 <intent>
648 <!-- View CalendarContract Uris -->
649 <action android:name="android.intent.action.VIEW"/>
650 <data android:scheme="content" android:host="com.android.calendar"/>
651 </intent>
652 <intent>
653 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700654 <data android:scheme="https"/>
655 </intent>
656
657 <!-- Account loading -->
658 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700659 <action android:name="android.accounts.AccountAuthenticator"/>
660 </intent>
661 <intent>
662 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700663 <data android:scheme="content" android:host="com.android.contacts"
664 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700665 </intent>
666
667 <!-- calling -->
668 <package android:name="com.android.dialer"/>
669 <intent>
670 <action android:name="android.intent.action.CALL" />
671 <data android:scheme="tel" />
672 </intent>
673 <intent>
674 <action android:name="android.intent.action.DIAL" />
675 <data android:scheme="tel" />
676 </intent>
677 <intent>
678 <action android:name="android.intent.action.CALL" />
679 <data android:scheme="sip" />
680 </intent>
681 <intent>
682 <action android:name="android.intent.action.DIAL" />
683 <data android:scheme="sip" />
684 </intent>
685 <intent>
686 <action android:name="android.intent.action.CALL" />
687 <data android:scheme="voicemail" />
688 </intent>
689 <intent>
690 <action android:name="android.intent.action.DIAL" />
691 <data android:scheme="voicemail" />
692 </intent>
693
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700694 <!-- vcard export -->
695 <intent>
696 <action android:name="android.intent.action.CREATE_DOCUMENT" />
697 <data android:mimeType="text/x-vcard" />
698 <category android:name="android.intent.category.OPENABLE" />
699 </intent>
700
701 <!-- edit contact photo -->
702 <intent>
703 <action android:name="com.android.camera.action.CROP" />
704 <data android:mimeType="image/*" />
705 </intent>
706
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700707 </queries>
708
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800709</manifest>