blob: 7a24d7fa65f38af44411c941682709a570a42801 [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" />
Gyanesh Mittalf9c17132023-06-09 00:53:54 +000060 <!-- Required in U to run Service.startForeground() under DATA_SYNC type -->
61 <uses-permission android:name="android.permission.FOREGROUND_SERVICE_DATA_SYNC"/>
John Shaoc9c2c452016-12-20 17:12:03 -080062
63 <uses-feature
64 android:name="android.hardware.telephony"
65 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070066
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080067 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080068 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070069 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080070 android:icon="@mipmap/ic_contacts_launcher"
71 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080072 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080073 android:taskAffinity="android.task.contacts"
74 android:usesCleartextTraffic="false">
75 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
76 <activity
77 android:name=".activities.PeopleActivity"
78 android:alwaysRetainTaskState="true"
79 android:launchMode="singleTop"
80 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080081 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070082 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070083 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080084 >
85 <intent-filter>
86 <action android:name="android.intent.action.MAIN"/>
87
88 <category android:name="android.intent.category.DEFAULT"/>
89 <category android:name="android.intent.category.LAUNCHER"/>
90 <category android:name="android.intent.category.BROWSABLE"/>
91 <category android:name="android.intent.category.APP_CONTACTS"/>
92 </intent-filter>
93 <intent-filter>
94 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
95
96 <category android:name="android.intent.category.DEFAULT"/>
97 <category android:name="android.intent.category.TAB"/>
98 </intent-filter>
99
100 <intent-filter>
101 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
102
103 <category android:name="android.intent.category.DEFAULT"/>
104 <category android:name="android.intent.category.TAB"/>
105 </intent-filter>
106
107 <intent-filter>
108 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
109
110 <category android:name="android.intent.category.DEFAULT"/>
111 <category android:name="android.intent.category.TAB"/>
112 </intent-filter>
113
114 <intent-filter>
115 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
116
117 <category android:name="android.intent.category.DEFAULT"/>
118 <category android:name="android.intent.category.TAB"/>
119 </intent-filter>
120
121 <intent-filter>
122 <action android:name="com.android.contacts.action.LIST_STARRED"/>
123
124 <category android:name="android.intent.category.DEFAULT"/>
125 <category android:name="android.intent.category.TAB"/>
126 </intent-filter>
127
128 <intent-filter>
129 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
130
131 <category android:name="android.intent.category.DEFAULT"/>
132 <category android:name="android.intent.category.TAB"/>
133 </intent-filter>
134
135 <intent-filter>
136 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
137
138 <category android:name="android.intent.category.DEFAULT"/>
139 <category android:name="android.intent.category.TAB"/>
140 </intent-filter>
141
142 <intent-filter>
143 <action android:name="android.intent.action.SEARCH"/>
144 <category android:name="android.intent.category.DEFAULT"/>
145 <data android:mimeType="vnd.android.cursor.dir/contact"/>
146 </intent-filter>
147
148 <intent-filter>
149 <action android:name="android.intent.action.SEARCH"/>
150 <category android:name="android.intent.category.DEFAULT"/>
151 </intent-filter>
152
153 <intent-filter>
154 <action android:name="android.intent.action.VIEW"/>
155 <category android:name="android.intent.category.DEFAULT"/>
156
157 <data android:mimeType="vnd.android.cursor.dir/person"/>
158 <data android:mimeType="vnd.android.cursor.dir/contact"/>
159 <data android:mimeType="vnd.android.cursor.item/group"/>
160 </intent-filter>
161
162 <intent-filter>
163 <action android:name="android.intent.action.EDIT"/>
164 <category android:name="android.intent.category.DEFAULT"/>
165 <data android:mimeType="vnd.android.cursor.item/group"/>
166 </intent-filter>
167
168 <intent-filter>
169 <action android:name="android.intent.action.INSERT"/>
170 <category android:name="android.intent.category.DEFAULT"/>
171 <data android:mimeType="vnd.android.cursor.dir/group"/>
172 </intent-filter>
173
174 <meta-data
175 android:name="android.app.searchable"
176 android:resource="@xml/searchable"
177 />
178
179 <meta-data
180 android:name="android.app.shortcuts"
181 android:resource="@xml/shortcuts"
182 />
183
184 </activity>
185
186 <activity
187 android:name=".activities.ContactSelectionActivity"
188 android:clearTaskOnLaunch="true"
189 android:launchMode="singleTop"
190 android:theme="@style/ContactPickerTheme"
191 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800192 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700193 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800194 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700195 <meta-data android:name="android.app.shortcuts.new_config"
196 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800197 <intent-filter>
198 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
199 <category android:name="android.intent.category.DEFAULT"/>
200
201 <data android:mimeType="vnd.android.cursor.item/person"/>
202 <data android:mimeType="vnd.android.cursor.item/contact"/>
203 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
204 </intent-filter>
205
206 <intent-filter>
207 <action android:name="android.intent.action.PICK"/>
208 <category android:name="android.intent.category.DEFAULT"/>
209
210 <data android:mimeType="vnd.android.cursor.dir/contact"/>
211 <data android:mimeType="vnd.android.cursor.dir/person"/>
212 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
213 <data android:mimeType="vnd.android.cursor.dir/phone"/>
214 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
215 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
216 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
217 <data android:mimeType="vnd.android.cursor.dir/group"/>
218 </intent-filter>
219
220 <intent-filter>
221 <action android:name="android.intent.action.GET_CONTENT"/>
222 <category android:name="android.intent.category.DEFAULT"/>
223
224 <data android:mimeType="vnd.android.cursor.item/contact"/>
225 <data android:mimeType="vnd.android.cursor.item/person"/>
226 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
227 <data android:mimeType="vnd.android.cursor.item/phone"/>
228 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
229 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
230 </intent-filter>
231
232 <intent-filter>
233 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
234 <category android:name="android.intent.category.DEFAULT"/>
235 </intent-filter>
236 </activity>
237
238 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
239 <activity-alias
240 android:name="ContactsListActivity"
241 android:targetActivity=".activities.PeopleActivity"
242 />
243
244 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
245 <activity-alias
246 android:name=".activities.ContactsFrontDoor"
247 android:exported="true"
248 android:targetActivity=".activities.PeopleActivity"
249 />
250
251 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
252 <activity-alias
253 android:name="DialtactsContactsEntryActivity"
254 android:exported="true"
255 android:targetActivity=".activities.PeopleActivity"
256 />
257
258 <!-- Used to set options -->
259 <activity
260 android:name=".preference.ContactsPreferenceActivity"
261 android:exported="false"
262 android:label="@string/activity_title_settings"
263 android:launchMode="singleTop"
264 android:theme="@style/ContactsPreferencesTheme"/>
265
266 <activity
Tingtinge17434d2022-01-07 23:47:04 +0000267 android:name=".preference.SetDefaultAccountActivity"
268 android:exported="true"
269 android:theme="@style/BackgroundOnlyTheme"
270 android:excludeFromRecents="true">
271 <intent-filter>
272 <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
273 <category android:name="android.intent.category.DEFAULT"/>
274 </intent-filter>
275 </activity>
276
277 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800278 android:name=".activities.LicenseActivity"
279 android:exported="true"
280 android:label="@string/activity_title_licenses"
281 android:theme="@style/ContactsPreferencesTheme"/>
282
283 <!-- Used to filter contacts list by account -->
284 <activity
285 android:name=".list.AccountFilterActivity"
286 android:label="@string/activity_title_contacts_filter"
287 android:theme="@style/ContactListFilterTheme"/>
288
289 <!-- Used to select display and sync groups -->
290 <activity
291 android:name=".list.CustomContactListFilterActivity"
292 android:label="@string/custom_list_filter"
293 android:theme="@style/ContactListFilterTheme"/>
294
295 <activity
296 android:name=".activities.RequestPermissionsActivity"
297 android:exported="false"
298 android:theme="@style/PeopleTheme"/>
299
300 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800301 android:name=".activities.RequestImportVCardPermissionsActivity"
302 android:exported="false"
303 android:theme="@style/PeopleTheme"/>
304
305 <activity
306 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700307 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800308 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
309
310 <intent-filter>
311 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
312 <category android:name="android.intent.category.DEFAULT"/>
313
314 <data android:scheme="mailto"/>
315 <data android:scheme="tel"/>
316 </intent-filter>
317 </activity>
318
319 <activity
320 android:name=".quickcontact.QuickContactActivity"
321 android:excludeFromRecents="true"
322 android:launchMode="singleTop"
323 android:taskAffinity=""
324 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700325 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800326 android:windowSoftInputMode="stateUnchanged">
327
328 <intent-filter>
329 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
330 <action android:name="android.provider.action.QUICK_CONTACT"/>
331
332 <category android:name="android.intent.category.DEFAULT"/>
333
334 <data android:mimeType="vnd.android.cursor.item/contact"/>
335 <data android:mimeType="vnd.android.cursor.item/person"/>
336 </intent-filter>
337
338 <intent-filter>
339 <action android:name="android.intent.action.VIEW"/>
340 <category android:name="android.intent.category.DEFAULT"/>
341
342 <data android:mimeType="vnd.android.cursor.item/person"/>
343 <data android:mimeType="vnd.android.cursor.item/contact"/>
344 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
345 </intent-filter>
346 </activity>
347
348 <receiver
349 android:name=".quickcontact.QuickContactBroadcastReceiver"
350 android:exported="false"/>
351
Wenyi Wang7ae91362017-03-06 16:31:12 -0800352 <!-- Responsible for creating notification channels when boot is completed or when app is
353 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700354 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
355 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800356 <intent-filter>
357 <action android:name="android.intent.action.BOOT_COMPLETED" />
358 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
359 </intent-filter>
360 </receiver>
361
John Shaoc9c2c452016-12-20 17:12:03 -0800362 <activity-alias
363 android:name="ContactShortcut"
364 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
365 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700366 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800367 android:targetActivity=".activities.ContactSelectionActivity">
368
369 <intent-filter>
370 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
371 <category android:name="android.intent.category.DEFAULT"/>
372 </intent-filter>
373
374 </activity-alias>
375
376 <activity-alias
377 android:name="alias.DialShortcut"
378 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
379 android:label="@string/shortcutDialContact"
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
386 <category android:name="android.intent.category.DEFAULT"/>
387 <category android:name="android.intent.category.CAR_MODE"/>
388 </intent-filter>
389
390 </activity-alias>
391
392 <activity-alias
393 android:name="alias.MessageShortcut"
394 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
395 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700396 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800397 android:targetActivity=".activities.ContactSelectionActivity">
398
399 <intent-filter>
400 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
401 <category android:name="android.intent.category.DEFAULT"/>
402 </intent-filter>
403
404 </activity-alias>
405
406 <!-- Accounts changed prompt that can appear when creating a new contact. -->
407 <activity
408 android:name=".activities.ContactEditorAccountsChangedActivity"
409 android:exported="false"
410 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
411 android:windowSoftInputMode="adjustResize"/>
412
413 <!-- Edit or create a contact with only the most important fields displayed initially. -->
414 <activity
415 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700416 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800417 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800418
419 <intent-filter>
420 <action android:name="android.intent.action.INSERT"/>
421 <category android:name="android.intent.category.DEFAULT"/>
422
423 <data android:mimeType="vnd.android.cursor.dir/person"/>
424 <data android:mimeType="vnd.android.cursor.dir/contact"/>
425 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
426 </intent-filter>
427 </activity>
428
429 <!-- Keep support for apps that expect the Compact editor -->
430 <activity-alias
431 android:name="com.android.contacts.activities.CompactContactEditorActivity"
432 android:exported="true"
433 android:targetActivity=".activities.ContactEditorActivity">
434 <intent-filter android:priority="-1">
435 <action android:name="android.intent.action.INSERT"/>
436 <category android:name="android.intent.category.DEFAULT"/>
437
438 <data android:mimeType="vnd.android.cursor.dir/person"/>
439 <data android:mimeType="vnd.android.cursor.dir/contact"/>
440 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
441 </intent-filter>
442 </activity-alias>
443
444 <activity
445 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700446 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800447 android:theme="@style/TransparentThemeAppCompat">
448
449 <intent-filter>
450 <action android:name="android.intent.action.EDIT"/>
451 <category android:name="android.intent.category.DEFAULT"/>
452
453 <data android:mimeType="vnd.android.cursor.item/person"/>
454 <data android:mimeType="vnd.android.cursor.item/contact"/>
455 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
456 </intent-filter>
457 </activity>
458
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700459 <activity android:name=".test.FragmentTestActivity"
460 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800461 <intent-filter>
462 <category android:name="android.intent.category.TEST"/>
463 </intent-filter>
464 </activity>
465
466 <!-- Stub service used to keep our process alive long enough for
467 background threads to finish their operations. -->
468 <service
469 android:name=".util.EmptyService"
470 android:exported="false"/>
471
472 <!-- Service to save a contact -->
473 <service
474 android:name=".ContactSaveService"
475 android:exported="false"/>
476
477 <!-- Service to import contacts from the SIM card -->
478 <service
479 android:name=".SimImportService"
480 android:exported="false"/>
481
482 <!-- Attaches a photo to a contact. Started from external applications -->
483 <activity
484 android:name=".activities.AttachPhotoActivity"
485 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700486 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800487 android:taskAffinity="">
488 <intent-filter>
489 <action android:name="android.intent.action.ATTACH_DATA"/>
490 <data android:mimeType="image/*"/>
491 <category android:name="android.intent.category.DEFAULT"/>
492 </intent-filter>
493 </activity>
494
495 <!-- vCard related -->
496 <activity
497 android:name=".vcard.ImportVCardActivity"
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.intent.action.VIEW"/>
503
504 <data android:mimeType="text/directory"/>
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.NfcImportVCardActivity"
John Shao024c62f2021-08-25 23:29:56 +0000514 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800515 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700516 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800517 android:theme="@style/BackgroundOnlyTheme">
518 <intent-filter>
519 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
520
521 <data android:mimeType="text/vcard"/>
522 <data android:mimeType="text/x-vcard"/>
523
524 <category android:name="android.intent.category.DEFAULT"/>
525 </intent-filter>
526 </activity>
527
528 <activity
529 android:name=".vcard.CancelActivity"
530 android:theme="@style/BackgroundOnlyTheme"/>
531
532 <activity
533 android:name=".vcard.SelectAccountActivity"
534 android:theme="@style/BackgroundOnlyTheme"/>
535
536 <activity
537 android:name=".vcard.ExportVCardActivity"
538 android:theme="@style/BackgroundOnlyTheme"/>
539
540 <activity
541 android:name=".vcard.ShareVCardActivity"
542 android:theme="@style/BackgroundOnlyTheme"/>
543
544 <activity
545 android:name=".activities.SimImportActivity"
546 android:label="@string/sim_import_title"
547 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
548
549
550 <service
551 android:name=".vcard.VCardService"
keparal.li78278832023-03-24 17:25:28 +0800552 android:exported="false"
553 android:foregroundServiceType="dataSync"/>
John Shaoc9c2c452016-12-20 17:12:03 -0800554 <!-- end vCard related -->
555
556 <!-- Intercept Dialer Intents for devices without a phone.
557 This activity should have the same intent filters as the DialtactsActivity,
558 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
559 we don't want this to show up in the Launcher. The priorities of the intent-filters
560 are set lower, so that the user does not see a disambig dialog -->
561 <activity
562 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700563 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800564 android:theme="@style/NonPhoneActivityTheme">
565 <intent-filter android:priority="-1">
566 <action android:name="android.intent.action.MAIN"/>
567
568 <category android:name="android.intent.category.DEFAULT"/>
569 <category android:name="android.intent.category.BROWSABLE"/>
570 </intent-filter>
571 <intent-filter android:priority="-1">
572 <action android:name="android.intent.action.VIEW"/>
573
574 <category android:name="android.intent.category.DEFAULT"/>
575 <category android:name="android.intent.category.BROWSABLE"/>
576
577 <data android:scheme="tel"/>
578 </intent-filter>
579 <intent-filter android:priority="-1">
580 <action android:name="android.intent.action.VIEW"/>
581
582 <category android:name="android.intent.category.DEFAULT"/>
583 <category android:name="android.intent.category.BROWSABLE"/>
584
585 <data android:mimeType="vnd.android.cursor.dir/calls"/>
586 </intent-filter>
587 </activity>
588
589 <activity
590 android:name="com.android.contacts.dialog.CallSubjectDialog"
591 android:theme="@style/Theme.CallSubjectDialogTheme"
John Shaoaf44f5a2022-02-24 22:20:11 +0000592 android:exported="false"
John Shaoc9c2c452016-12-20 17:12:03 -0800593 android:windowSoftInputMode="stateVisible|adjustResize">
594 <intent-filter>
595 <action android:name="android.intent.action.VIEW"/>
596 </intent-filter>
597 </activity>
598
599 <!-- Service that is exclusively for the Phone application that sends out a view
600 notification. This service might be removed in future versions of the app.
601
602 This is called explicitly by the phone app via package name and class.
603 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
604 needs to be changed as well.
605 -->
606 <service
607 android:name=".ViewNotificationService"
608 android:exported="true"
609 android:permission="android.permission.WRITE_CONTACTS">
610 <intent-filter>
611 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
612 <data android:mimeType="vnd.android.cursor.item/contact"/>
613 </intent-filter>
614 </service>
615
616 <!-- Service used to run JobScheduler jobs -->
617 <service
618 android:name="com.android.contacts.ContactsJobService"
619 android:permission="android.permission.BIND_JOB_SERVICE"/>
620
621 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700622 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800623 android:authorities="@string/contacts_file_provider_authority"
624 android:exported="false"
625 android:grantUriPermissions="true">
626 <meta-data
627 android:name="android.support.FILE_PROVIDER_PATHS"
628 android:resource="@xml/file_paths"/>
629 </provider>
630
631 <meta-data
632 android:name="android.nfc.disable_beam_default"
633 android:value="true"/>
634
635 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700636
637 <!-- Allows the contacts app to see the activities and services needed
638 to detect accounts and show actions in QuickContact. -->
639 <queries>
640 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700641 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700642
643 <!-- quickcontact actions and verbs -->
644 <intent>
645 <action android:name="android.intent.action.SENDTO" />
646 <data android:scheme="imto" />
647 </intent>
648 <intent>
649 <action android:name="android.intent.action.SENDTO" />
650 <data android:scheme="xmpp" />
651 </intent>
652 <intent>
653 <action android:name="android.intent.action.SENDTO" />
654 <data android:scheme="mailto" />
655 </intent>
656 <intent>
657 <action android:name="android.intent.action.SENDTO" />
658 <data android:scheme="smsto" />
659 </intent>
660 <intent>
661 <action android:name="android.intent.action.VIEW"/>
662 <data android:scheme="geo"/>
663 </intent>
664 <!-- About card -->
665 <intent>
666 <!-- View CalendarContract Uris -->
667 <action android:name="android.intent.action.VIEW"/>
668 <data android:scheme="content" android:host="com.android.calendar"/>
669 </intent>
670 <intent>
671 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700672 <data android:scheme="https"/>
673 </intent>
674
675 <!-- Account loading -->
676 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700677 <action android:name="android.accounts.AccountAuthenticator"/>
678 </intent>
679 <intent>
680 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700681 <data android:scheme="content" android:host="com.android.contacts"
682 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700683 </intent>
684
685 <!-- calling -->
686 <package android:name="com.android.dialer"/>
687 <intent>
688 <action android:name="android.intent.action.CALL" />
689 <data android:scheme="tel" />
690 </intent>
691 <intent>
692 <action android:name="android.intent.action.DIAL" />
693 <data android:scheme="tel" />
694 </intent>
695 <intent>
696 <action android:name="android.intent.action.CALL" />
697 <data android:scheme="sip" />
698 </intent>
699 <intent>
700 <action android:name="android.intent.action.DIAL" />
701 <data android:scheme="sip" />
702 </intent>
703 <intent>
704 <action android:name="android.intent.action.CALL" />
705 <data android:scheme="voicemail" />
706 </intent>
707 <intent>
708 <action android:name="android.intent.action.DIAL" />
709 <data android:scheme="voicemail" />
710 </intent>
711
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700712 <!-- vcard export -->
713 <intent>
714 <action android:name="android.intent.action.CREATE_DOCUMENT" />
715 <data android:mimeType="text/x-vcard" />
716 <category android:name="android.intent.category.OPENABLE" />
717 </intent>
718
719 <!-- edit contact photo -->
720 <intent>
Gary Mai1ffb6382021-11-24 17:50:58 -0800721 <action android:name="android.media.action.IMAGE_CAPTURE" />
722 </intent>
723
724 <intent>
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700725 <action android:name="com.android.camera.action.CROP" />
726 <data android:mimeType="image/*" />
727 </intent>
728
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700729 </queries>
730
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800731</manifest>