blob: d4d3068b9e7693bbc571c215a2954a8f7a09e3a5 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Neel Parekhbe406ff2009-09-16 15:31:22 -07007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Neel Parekhbe406ff2009-09-16 15:31:22 -07009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
John Shaoc9c2c452016-12-20 17:12:03 -080018 package="com.android.contacts"
Gary Mai1ffb6382021-11-24 17:50:58 -080019 android:versionCode="10734"
20 android:versionName="1.7.34">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
John Shaoc9c2c452016-12-20 17:12:03 -080022 <uses-sdk
John Shao6ae0eb12022-04-29 00:13:22 +000023 android:minSdkVersion="33"
24 android:targetSdkVersion="33"/>
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"/>
Tingting793e03f2021-10-27 19:12:55 +000049 <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080050 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
John Shaoc9c2c452016-12-20 17:12:03 -080051 <!-- Following used for Contact metadata syncing -->
52 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
53 <!-- Following used for getting the status of the contacts sync adapter -->
54 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
Wenyi Wangbf7745a2017-03-23 10:28:24 -070055 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Marcus Hagerott7b9c80d2018-03-02 16:32:56 -080056 <!-- Required in P to run Service.startForeground() -->
57 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
John Shaoaa189a02020-12-23 22:21:30 +000058 <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
Steve Elliott9a12ef42021-12-10 19:08:21 +000059 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
John Shaoc9c2c452016-12-20 17:12:03 -080060
61 <uses-feature
62 android:name="android.hardware.telephony"
63 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070064
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080065 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080066 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070067 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080068 android:icon="@mipmap/ic_contacts_launcher"
69 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080070 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080071 android:taskAffinity="android.task.contacts"
72 android:usesCleartextTraffic="false">
73 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
74 <activity
75 android:name=".activities.PeopleActivity"
76 android:alwaysRetainTaskState="true"
77 android:launchMode="singleTop"
78 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080079 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070080 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070081 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080082 >
83 <intent-filter>
84 <action android:name="android.intent.action.MAIN"/>
85
86 <category android:name="android.intent.category.DEFAULT"/>
87 <category android:name="android.intent.category.LAUNCHER"/>
88 <category android:name="android.intent.category.BROWSABLE"/>
89 <category android:name="android.intent.category.APP_CONTACTS"/>
90 </intent-filter>
91 <intent-filter>
92 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
93
94 <category android:name="android.intent.category.DEFAULT"/>
95 <category android:name="android.intent.category.TAB"/>
96 </intent-filter>
97
98 <intent-filter>
99 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
100
101 <category android:name="android.intent.category.DEFAULT"/>
102 <category android:name="android.intent.category.TAB"/>
103 </intent-filter>
104
105 <intent-filter>
106 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
107
108 <category android:name="android.intent.category.DEFAULT"/>
109 <category android:name="android.intent.category.TAB"/>
110 </intent-filter>
111
112 <intent-filter>
113 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
114
115 <category android:name="android.intent.category.DEFAULT"/>
116 <category android:name="android.intent.category.TAB"/>
117 </intent-filter>
118
119 <intent-filter>
120 <action android:name="com.android.contacts.action.LIST_STARRED"/>
121
122 <category android:name="android.intent.category.DEFAULT"/>
123 <category android:name="android.intent.category.TAB"/>
124 </intent-filter>
125
126 <intent-filter>
127 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
128
129 <category android:name="android.intent.category.DEFAULT"/>
130 <category android:name="android.intent.category.TAB"/>
131 </intent-filter>
132
133 <intent-filter>
134 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
135
136 <category android:name="android.intent.category.DEFAULT"/>
137 <category android:name="android.intent.category.TAB"/>
138 </intent-filter>
139
140 <intent-filter>
141 <action android:name="android.intent.action.SEARCH"/>
142 <category android:name="android.intent.category.DEFAULT"/>
143 <data android:mimeType="vnd.android.cursor.dir/contact"/>
144 </intent-filter>
145
146 <intent-filter>
147 <action android:name="android.intent.action.SEARCH"/>
148 <category android:name="android.intent.category.DEFAULT"/>
149 </intent-filter>
150
151 <intent-filter>
152 <action android:name="android.intent.action.VIEW"/>
153 <category android:name="android.intent.category.DEFAULT"/>
154
155 <data android:mimeType="vnd.android.cursor.dir/person"/>
156 <data android:mimeType="vnd.android.cursor.dir/contact"/>
157 <data android:mimeType="vnd.android.cursor.item/group"/>
158 </intent-filter>
159
160 <intent-filter>
161 <action android:name="android.intent.action.EDIT"/>
162 <category android:name="android.intent.category.DEFAULT"/>
163 <data android:mimeType="vnd.android.cursor.item/group"/>
164 </intent-filter>
165
166 <intent-filter>
167 <action android:name="android.intent.action.INSERT"/>
168 <category android:name="android.intent.category.DEFAULT"/>
169 <data android:mimeType="vnd.android.cursor.dir/group"/>
170 </intent-filter>
171
172 <meta-data
173 android:name="android.app.searchable"
174 android:resource="@xml/searchable"
175 />
176
177 <meta-data
178 android:name="android.app.shortcuts"
179 android:resource="@xml/shortcuts"
180 />
181
182 </activity>
183
184 <activity
185 android:name=".activities.ContactSelectionActivity"
186 android:clearTaskOnLaunch="true"
187 android:launchMode="singleTop"
188 android:theme="@style/ContactPickerTheme"
189 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800190 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700191 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800192 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700193 <meta-data android:name="android.app.shortcuts.new_config"
194 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800195 <intent-filter>
196 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
197 <category android:name="android.intent.category.DEFAULT"/>
198
199 <data android:mimeType="vnd.android.cursor.item/person"/>
200 <data android:mimeType="vnd.android.cursor.item/contact"/>
201 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
202 </intent-filter>
203
204 <intent-filter>
205 <action android:name="android.intent.action.PICK"/>
206 <category android:name="android.intent.category.DEFAULT"/>
207
208 <data android:mimeType="vnd.android.cursor.dir/contact"/>
209 <data android:mimeType="vnd.android.cursor.dir/person"/>
210 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
211 <data android:mimeType="vnd.android.cursor.dir/phone"/>
212 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
213 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
214 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
215 <data android:mimeType="vnd.android.cursor.dir/group"/>
216 </intent-filter>
217
218 <intent-filter>
219 <action android:name="android.intent.action.GET_CONTENT"/>
220 <category android:name="android.intent.category.DEFAULT"/>
221
222 <data android:mimeType="vnd.android.cursor.item/contact"/>
223 <data android:mimeType="vnd.android.cursor.item/person"/>
224 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
225 <data android:mimeType="vnd.android.cursor.item/phone"/>
226 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
227 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
228 </intent-filter>
229
230 <intent-filter>
231 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
232 <category android:name="android.intent.category.DEFAULT"/>
233 </intent-filter>
234 </activity>
235
236 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
237 <activity-alias
238 android:name="ContactsListActivity"
239 android:targetActivity=".activities.PeopleActivity"
240 />
241
242 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
243 <activity-alias
244 android:name=".activities.ContactsFrontDoor"
245 android:exported="true"
246 android:targetActivity=".activities.PeopleActivity"
247 />
248
249 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
250 <activity-alias
251 android:name="DialtactsContactsEntryActivity"
252 android:exported="true"
253 android:targetActivity=".activities.PeopleActivity"
254 />
255
256 <!-- Used to set options -->
257 <activity
258 android:name=".preference.ContactsPreferenceActivity"
259 android:exported="false"
260 android:label="@string/activity_title_settings"
261 android:launchMode="singleTop"
262 android:theme="@style/ContactsPreferencesTheme"/>
263
264 <activity
Tingtinge17434d2022-01-07 23:47:04 +0000265 android:name=".preference.SetDefaultAccountActivity"
266 android:exported="true"
267 android:theme="@style/BackgroundOnlyTheme"
268 android:excludeFromRecents="true">
269 <intent-filter>
270 <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
271 <category android:name="android.intent.category.DEFAULT"/>
272 </intent-filter>
273 </activity>
274
275 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800276 android:name=".activities.LicenseActivity"
277 android:exported="true"
278 android:label="@string/activity_title_licenses"
279 android:theme="@style/ContactsPreferencesTheme"/>
280
281 <!-- Used to filter contacts list by account -->
282 <activity
283 android:name=".list.AccountFilterActivity"
284 android:label="@string/activity_title_contacts_filter"
285 android:theme="@style/ContactListFilterTheme"/>
286
287 <!-- Used to select display and sync groups -->
288 <activity
289 android:name=".list.CustomContactListFilterActivity"
290 android:label="@string/custom_list_filter"
291 android:theme="@style/ContactListFilterTheme"/>
292
293 <activity
294 android:name=".activities.RequestPermissionsActivity"
295 android:exported="false"
296 android:theme="@style/PeopleTheme"/>
297
298 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800299 android:name=".activities.RequestImportVCardPermissionsActivity"
300 android:exported="false"
301 android:theme="@style/PeopleTheme"/>
302
303 <activity
304 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700305 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800306 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
307
308 <intent-filter>
309 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
310 <category android:name="android.intent.category.DEFAULT"/>
311
312 <data android:scheme="mailto"/>
313 <data android:scheme="tel"/>
314 </intent-filter>
315 </activity>
316
317 <activity
318 android:name=".quickcontact.QuickContactActivity"
319 android:excludeFromRecents="true"
320 android:launchMode="singleTop"
321 android:taskAffinity=""
322 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700323 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800324 android:windowSoftInputMode="stateUnchanged">
325
326 <intent-filter>
327 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
328 <action android:name="android.provider.action.QUICK_CONTACT"/>
329
330 <category android:name="android.intent.category.DEFAULT"/>
331
332 <data android:mimeType="vnd.android.cursor.item/contact"/>
333 <data android:mimeType="vnd.android.cursor.item/person"/>
334 </intent-filter>
335
336 <intent-filter>
337 <action android:name="android.intent.action.VIEW"/>
338 <category android:name="android.intent.category.DEFAULT"/>
339
340 <data android:mimeType="vnd.android.cursor.item/person"/>
341 <data android:mimeType="vnd.android.cursor.item/contact"/>
342 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
343 </intent-filter>
344 </activity>
345
346 <receiver
347 android:name=".quickcontact.QuickContactBroadcastReceiver"
348 android:exported="false"/>
349
Wenyi Wang7ae91362017-03-06 16:31:12 -0800350 <!-- Responsible for creating notification channels when boot is completed or when app is
351 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700352 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
353 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800354 <intent-filter>
355 <action android:name="android.intent.action.BOOT_COMPLETED" />
356 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
357 </intent-filter>
358 </receiver>
359
John Shaoc9c2c452016-12-20 17:12:03 -0800360 <activity-alias
361 android:name="ContactShortcut"
362 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
363 android:label="@string/shortcutContact"
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 <category android:name="android.intent.category.DEFAULT"/>
370 </intent-filter>
371
372 </activity-alias>
373
374 <activity-alias
375 android:name="alias.DialShortcut"
376 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
377 android:label="@string/shortcutDialContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700378 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800379 android:targetActivity=".activities.ContactSelectionActivity">
380
381 <intent-filter>
382 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
383
384 <category android:name="android.intent.category.DEFAULT"/>
385 <category android:name="android.intent.category.CAR_MODE"/>
386 </intent-filter>
387
388 </activity-alias>
389
390 <activity-alias
391 android:name="alias.MessageShortcut"
392 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
393 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700394 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800395 android:targetActivity=".activities.ContactSelectionActivity">
396
397 <intent-filter>
398 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
399 <category android:name="android.intent.category.DEFAULT"/>
400 </intent-filter>
401
402 </activity-alias>
403
404 <!-- Accounts changed prompt that can appear when creating a new contact. -->
405 <activity
406 android:name=".activities.ContactEditorAccountsChangedActivity"
407 android:exported="false"
408 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
409 android:windowSoftInputMode="adjustResize"/>
410
411 <!-- Edit or create a contact with only the most important fields displayed initially. -->
412 <activity
413 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700414 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800415 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800416
417 <intent-filter>
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>
426
427 <!-- Keep support for apps that expect the Compact editor -->
428 <activity-alias
429 android:name="com.android.contacts.activities.CompactContactEditorActivity"
430 android:exported="true"
431 android:targetActivity=".activities.ContactEditorActivity">
432 <intent-filter android:priority="-1">
433 <action android:name="android.intent.action.INSERT"/>
434 <category android:name="android.intent.category.DEFAULT"/>
435
436 <data android:mimeType="vnd.android.cursor.dir/person"/>
437 <data android:mimeType="vnd.android.cursor.dir/contact"/>
438 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
439 </intent-filter>
440 </activity-alias>
441
442 <activity
443 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700444 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800445 android:theme="@style/TransparentThemeAppCompat">
446
447 <intent-filter>
448 <action android:name="android.intent.action.EDIT"/>
449 <category android:name="android.intent.category.DEFAULT"/>
450
451 <data android:mimeType="vnd.android.cursor.item/person"/>
452 <data android:mimeType="vnd.android.cursor.item/contact"/>
453 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
454 </intent-filter>
455 </activity>
456
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700457 <activity android:name=".test.FragmentTestActivity"
458 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800459 <intent-filter>
460 <category android:name="android.intent.category.TEST"/>
461 </intent-filter>
462 </activity>
463
464 <!-- Stub service used to keep our process alive long enough for
465 background threads to finish their operations. -->
466 <service
467 android:name=".util.EmptyService"
468 android:exported="false"/>
469
470 <!-- Service to save a contact -->
471 <service
472 android:name=".ContactSaveService"
473 android:exported="false"/>
474
475 <!-- Service to import contacts from the SIM card -->
476 <service
477 android:name=".SimImportService"
478 android:exported="false"/>
479
480 <!-- Attaches a photo to a contact. Started from external applications -->
481 <activity
482 android:name=".activities.AttachPhotoActivity"
483 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700484 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800485 android:taskAffinity="">
486 <intent-filter>
487 <action android:name="android.intent.action.ATTACH_DATA"/>
488 <data android:mimeType="image/*"/>
489 <category android:name="android.intent.category.DEFAULT"/>
490 </intent-filter>
491 </activity>
492
493 <!-- vCard related -->
494 <activity
495 android:name=".vcard.ImportVCardActivity"
496 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700497 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800498 android:theme="@style/BackgroundOnlyTheme">
499 <intent-filter>
500 <action android:name="android.intent.action.VIEW"/>
501
502 <data android:mimeType="text/directory"/>
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.NfcImportVCardActivity"
John Shao024c62f2021-08-25 23:29:56 +0000512 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800513 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700514 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800515 android:theme="@style/BackgroundOnlyTheme">
516 <intent-filter>
517 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
518
519 <data android:mimeType="text/vcard"/>
520 <data android:mimeType="text/x-vcard"/>
521
522 <category android:name="android.intent.category.DEFAULT"/>
523 </intent-filter>
524 </activity>
525
526 <activity
527 android:name=".vcard.CancelActivity"
528 android:theme="@style/BackgroundOnlyTheme"/>
529
530 <activity
531 android:name=".vcard.SelectAccountActivity"
532 android:theme="@style/BackgroundOnlyTheme"/>
533
534 <activity
535 android:name=".vcard.ExportVCardActivity"
536 android:theme="@style/BackgroundOnlyTheme"/>
537
538 <activity
539 android:name=".vcard.ShareVCardActivity"
540 android:theme="@style/BackgroundOnlyTheme"/>
541
542 <activity
543 android:name=".activities.SimImportActivity"
544 android:label="@string/sim_import_title"
545 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
546
547
548 <service
549 android:name=".vcard.VCardService"
keparal.li78278832023-03-24 17:25:28 +0800550 android:exported="false"
551 android:foregroundServiceType="dataSync"/>
John Shaoc9c2c452016-12-20 17:12:03 -0800552 <!-- end vCard related -->
553
554 <!-- Intercept Dialer Intents for devices without a phone.
555 This activity should have the same intent filters as the DialtactsActivity,
556 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
557 we don't want this to show up in the Launcher. The priorities of the intent-filters
558 are set lower, so that the user does not see a disambig dialog -->
559 <activity
560 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700561 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800562 android:theme="@style/NonPhoneActivityTheme">
563 <intent-filter android:priority="-1">
564 <action android:name="android.intent.action.MAIN"/>
565
566 <category android:name="android.intent.category.DEFAULT"/>
567 <category android:name="android.intent.category.BROWSABLE"/>
568 </intent-filter>
569 <intent-filter android:priority="-1">
570 <action android:name="android.intent.action.VIEW"/>
571
572 <category android:name="android.intent.category.DEFAULT"/>
573 <category android:name="android.intent.category.BROWSABLE"/>
574
575 <data android:scheme="tel"/>
576 </intent-filter>
577 <intent-filter android:priority="-1">
578 <action android:name="android.intent.action.VIEW"/>
579
580 <category android:name="android.intent.category.DEFAULT"/>
581 <category android:name="android.intent.category.BROWSABLE"/>
582
583 <data android:mimeType="vnd.android.cursor.dir/calls"/>
584 </intent-filter>
585 </activity>
586
587 <activity
588 android:name="com.android.contacts.dialog.CallSubjectDialog"
589 android:theme="@style/Theme.CallSubjectDialogTheme"
John Shaoaf44f5a2022-02-24 22:20:11 +0000590 android:exported="false"
John Shaoc9c2c452016-12-20 17:12:03 -0800591 android:windowSoftInputMode="stateVisible|adjustResize">
592 <intent-filter>
593 <action android:name="android.intent.action.VIEW"/>
594 </intent-filter>
595 </activity>
596
597 <!-- Service that is exclusively for the Phone application that sends out a view
598 notification. This service might be removed in future versions of the app.
599
600 This is called explicitly by the phone app via package name and class.
601 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
602 needs to be changed as well.
603 -->
604 <service
605 android:name=".ViewNotificationService"
606 android:exported="true"
607 android:permission="android.permission.WRITE_CONTACTS">
608 <intent-filter>
609 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
610 <data android:mimeType="vnd.android.cursor.item/contact"/>
611 </intent-filter>
612 </service>
613
614 <!-- Service used to run JobScheduler jobs -->
615 <service
616 android:name="com.android.contacts.ContactsJobService"
617 android:permission="android.permission.BIND_JOB_SERVICE"/>
618
619 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700620 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800621 android:authorities="@string/contacts_file_provider_authority"
622 android:exported="false"
623 android:grantUriPermissions="true">
624 <meta-data
625 android:name="android.support.FILE_PROVIDER_PATHS"
626 android:resource="@xml/file_paths"/>
627 </provider>
628
629 <meta-data
630 android:name="android.nfc.disable_beam_default"
631 android:value="true"/>
632
633 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700634
635 <!-- Allows the contacts app to see the activities and services needed
636 to detect accounts and show actions in QuickContact. -->
637 <queries>
638 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700639 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700640
641 <!-- quickcontact actions and verbs -->
642 <intent>
643 <action android:name="android.intent.action.SENDTO" />
644 <data android:scheme="imto" />
645 </intent>
646 <intent>
647 <action android:name="android.intent.action.SENDTO" />
648 <data android:scheme="xmpp" />
649 </intent>
650 <intent>
651 <action android:name="android.intent.action.SENDTO" />
652 <data android:scheme="mailto" />
653 </intent>
654 <intent>
655 <action android:name="android.intent.action.SENDTO" />
656 <data android:scheme="smsto" />
657 </intent>
658 <intent>
659 <action android:name="android.intent.action.VIEW"/>
660 <data android:scheme="geo"/>
661 </intent>
662 <!-- About card -->
663 <intent>
664 <!-- View CalendarContract Uris -->
665 <action android:name="android.intent.action.VIEW"/>
666 <data android:scheme="content" android:host="com.android.calendar"/>
667 </intent>
668 <intent>
669 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700670 <data android:scheme="https"/>
671 </intent>
672
673 <!-- Account loading -->
674 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700675 <action android:name="android.accounts.AccountAuthenticator"/>
676 </intent>
677 <intent>
678 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700679 <data android:scheme="content" android:host="com.android.contacts"
680 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700681 </intent>
682
683 <!-- calling -->
684 <package android:name="com.android.dialer"/>
685 <intent>
686 <action android:name="android.intent.action.CALL" />
687 <data android:scheme="tel" />
688 </intent>
689 <intent>
690 <action android:name="android.intent.action.DIAL" />
691 <data android:scheme="tel" />
692 </intent>
693 <intent>
694 <action android:name="android.intent.action.CALL" />
695 <data android:scheme="sip" />
696 </intent>
697 <intent>
698 <action android:name="android.intent.action.DIAL" />
699 <data android:scheme="sip" />
700 </intent>
701 <intent>
702 <action android:name="android.intent.action.CALL" />
703 <data android:scheme="voicemail" />
704 </intent>
705 <intent>
706 <action android:name="android.intent.action.DIAL" />
707 <data android:scheme="voicemail" />
708 </intent>
709
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700710 <!-- vcard export -->
711 <intent>
712 <action android:name="android.intent.action.CREATE_DOCUMENT" />
713 <data android:mimeType="text/x-vcard" />
714 <category android:name="android.intent.category.OPENABLE" />
715 </intent>
716
717 <!-- edit contact photo -->
718 <intent>
Gary Mai1ffb6382021-11-24 17:50:58 -0800719 <action android:name="android.media.action.IMAGE_CAPTURE" />
720 </intent>
721
722 <intent>
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700723 <action android:name="com.android.camera.action.CROP" />
724 <data android:mimeType="image/*" />
725 </intent>
726
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700727 </queries>
728
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800729</manifest>