blob: 6b44920b465d3c464c6f22ea662b97b801e81048 [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"/>
Gyanesh Mittal3dc85352023-06-09 00:53:51 +000031 <uses-permission android:name="android.permission.READ_CALL_LOG"/>
John Shaoc9c2c452016-12-20 17:12:03 -080032 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
33 <uses-permission android:name="android.permission.GET_ACCOUNTS"/>
34 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/>
35 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
36 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
37 <uses-permission android:name="android.permission.CALL_PHONE"/>
38 <uses-permission android:name="android.permission.READ_PROFILE"/>
39 <uses-permission android:name="android.permission.WRITE_PROFILE"/>
40 <uses-permission android:name="android.permission.INTERNET"/>
41 <uses-permission android:name="android.permission.NFC"/>
John Shao7575f242022-01-04 19:24:08 +000042 <uses-permission android:name="android.permission.READ_PHONE_NUMBERS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080043 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
44 <uses-permission android:name="android.permission.WAKE_LOCK"/>
45 <uses-permission android:name="android.permission.WRITE_SETTINGS"/>
46 <uses-permission android:name="android.permission.USE_CREDENTIALS"/>
47 <uses-permission android:name="android.permission.VIBRATE"/>
48 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/>
49 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/>
Tingting793e03f2021-10-27 19:12:55 +000050 <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080051 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
John Shaoc9c2c452016-12-20 17:12:03 -080052 <!-- Following used for Contact metadata syncing -->
53 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
54 <!-- Following used for getting the status of the contacts sync adapter -->
55 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
Wenyi Wangbf7745a2017-03-23 10:28:24 -070056 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Marcus Hagerott7b9c80d2018-03-02 16:32:56 -080057 <!-- Required in P to run Service.startForeground() -->
58 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
John Shaoaa189a02020-12-23 22:21:30 +000059 <uses-permission android:name="android.permission.HIDE_NON_SYSTEM_OVERLAY_WINDOWS" />
Steve Elliott9a12ef42021-12-10 19:08:21 +000060 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
John Shaoc9c2c452016-12-20 17:12:03 -080061
62 <uses-feature
63 android:name="android.hardware.telephony"
64 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070065
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080066 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080067 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070068 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080069 android:icon="@mipmap/ic_contacts_launcher"
70 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080071 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080072 android:taskAffinity="android.task.contacts"
73 android:usesCleartextTraffic="false">
74 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
75 <activity
76 android:name=".activities.PeopleActivity"
77 android:alwaysRetainTaskState="true"
78 android:launchMode="singleTop"
79 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080080 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070081 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070082 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080083 >
84 <intent-filter>
85 <action android:name="android.intent.action.MAIN"/>
86
87 <category android:name="android.intent.category.DEFAULT"/>
88 <category android:name="android.intent.category.LAUNCHER"/>
89 <category android:name="android.intent.category.BROWSABLE"/>
90 <category android:name="android.intent.category.APP_CONTACTS"/>
91 </intent-filter>
92 <intent-filter>
93 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
94
95 <category android:name="android.intent.category.DEFAULT"/>
96 <category android:name="android.intent.category.TAB"/>
97 </intent-filter>
98
99 <intent-filter>
100 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
101
102 <category android:name="android.intent.category.DEFAULT"/>
103 <category android:name="android.intent.category.TAB"/>
104 </intent-filter>
105
106 <intent-filter>
107 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
108
109 <category android:name="android.intent.category.DEFAULT"/>
110 <category android:name="android.intent.category.TAB"/>
111 </intent-filter>
112
113 <intent-filter>
114 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
115
116 <category android:name="android.intent.category.DEFAULT"/>
117 <category android:name="android.intent.category.TAB"/>
118 </intent-filter>
119
120 <intent-filter>
121 <action android:name="com.android.contacts.action.LIST_STARRED"/>
122
123 <category android:name="android.intent.category.DEFAULT"/>
124 <category android:name="android.intent.category.TAB"/>
125 </intent-filter>
126
127 <intent-filter>
128 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
129
130 <category android:name="android.intent.category.DEFAULT"/>
131 <category android:name="android.intent.category.TAB"/>
132 </intent-filter>
133
134 <intent-filter>
135 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
136
137 <category android:name="android.intent.category.DEFAULT"/>
138 <category android:name="android.intent.category.TAB"/>
139 </intent-filter>
140
141 <intent-filter>
142 <action android:name="android.intent.action.SEARCH"/>
143 <category android:name="android.intent.category.DEFAULT"/>
144 <data android:mimeType="vnd.android.cursor.dir/contact"/>
145 </intent-filter>
146
147 <intent-filter>
148 <action android:name="android.intent.action.SEARCH"/>
149 <category android:name="android.intent.category.DEFAULT"/>
150 </intent-filter>
151
152 <intent-filter>
153 <action android:name="android.intent.action.VIEW"/>
154 <category android:name="android.intent.category.DEFAULT"/>
155
156 <data android:mimeType="vnd.android.cursor.dir/person"/>
157 <data android:mimeType="vnd.android.cursor.dir/contact"/>
158 <data android:mimeType="vnd.android.cursor.item/group"/>
159 </intent-filter>
160
161 <intent-filter>
162 <action android:name="android.intent.action.EDIT"/>
163 <category android:name="android.intent.category.DEFAULT"/>
164 <data android:mimeType="vnd.android.cursor.item/group"/>
165 </intent-filter>
166
167 <intent-filter>
168 <action android:name="android.intent.action.INSERT"/>
169 <category android:name="android.intent.category.DEFAULT"/>
170 <data android:mimeType="vnd.android.cursor.dir/group"/>
171 </intent-filter>
172
173 <meta-data
174 android:name="android.app.searchable"
175 android:resource="@xml/searchable"
176 />
177
178 <meta-data
179 android:name="android.app.shortcuts"
180 android:resource="@xml/shortcuts"
181 />
182
183 </activity>
184
185 <activity
186 android:name=".activities.ContactSelectionActivity"
187 android:clearTaskOnLaunch="true"
188 android:launchMode="singleTop"
189 android:theme="@style/ContactPickerTheme"
190 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800191 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700192 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800193 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700194 <meta-data android:name="android.app.shortcuts.new_config"
195 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800196 <intent-filter>
197 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
198 <category android:name="android.intent.category.DEFAULT"/>
199
200 <data android:mimeType="vnd.android.cursor.item/person"/>
201 <data android:mimeType="vnd.android.cursor.item/contact"/>
202 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
203 </intent-filter>
204
205 <intent-filter>
206 <action android:name="android.intent.action.PICK"/>
207 <category android:name="android.intent.category.DEFAULT"/>
208
209 <data android:mimeType="vnd.android.cursor.dir/contact"/>
210 <data android:mimeType="vnd.android.cursor.dir/person"/>
211 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
212 <data android:mimeType="vnd.android.cursor.dir/phone"/>
213 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
214 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
215 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
216 <data android:mimeType="vnd.android.cursor.dir/group"/>
217 </intent-filter>
218
219 <intent-filter>
220 <action android:name="android.intent.action.GET_CONTENT"/>
221 <category android:name="android.intent.category.DEFAULT"/>
222
223 <data android:mimeType="vnd.android.cursor.item/contact"/>
224 <data android:mimeType="vnd.android.cursor.item/person"/>
225 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
226 <data android:mimeType="vnd.android.cursor.item/phone"/>
227 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
228 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
229 </intent-filter>
230
231 <intent-filter>
232 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
233 <category android:name="android.intent.category.DEFAULT"/>
234 </intent-filter>
235 </activity>
236
237 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
238 <activity-alias
239 android:name="ContactsListActivity"
240 android:targetActivity=".activities.PeopleActivity"
241 />
242
243 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
244 <activity-alias
245 android:name=".activities.ContactsFrontDoor"
246 android:exported="true"
247 android:targetActivity=".activities.PeopleActivity"
248 />
249
250 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
251 <activity-alias
252 android:name="DialtactsContactsEntryActivity"
253 android:exported="true"
254 android:targetActivity=".activities.PeopleActivity"
255 />
256
257 <!-- Used to set options -->
258 <activity
259 android:name=".preference.ContactsPreferenceActivity"
260 android:exported="false"
261 android:label="@string/activity_title_settings"
262 android:launchMode="singleTop"
263 android:theme="@style/ContactsPreferencesTheme"/>
264
265 <activity
Tingtinge17434d2022-01-07 23:47:04 +0000266 android:name=".preference.SetDefaultAccountActivity"
267 android:exported="true"
268 android:theme="@style/BackgroundOnlyTheme"
269 android:excludeFromRecents="true">
270 <intent-filter>
271 <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
272 <category android:name="android.intent.category.DEFAULT"/>
273 </intent-filter>
274 </activity>
275
276 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800277 android:name=".activities.LicenseActivity"
278 android:exported="true"
279 android:label="@string/activity_title_licenses"
280 android:theme="@style/ContactsPreferencesTheme"/>
281
282 <!-- Used to filter contacts list by account -->
283 <activity
284 android:name=".list.AccountFilterActivity"
285 android:label="@string/activity_title_contacts_filter"
286 android:theme="@style/ContactListFilterTheme"/>
287
288 <!-- Used to select display and sync groups -->
289 <activity
290 android:name=".list.CustomContactListFilterActivity"
291 android:label="@string/custom_list_filter"
292 android:theme="@style/ContactListFilterTheme"/>
293
294 <activity
295 android:name=".activities.RequestPermissionsActivity"
296 android:exported="false"
297 android:theme="@style/PeopleTheme"/>
298
299 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800300 android:name=".activities.RequestImportVCardPermissionsActivity"
301 android:exported="false"
302 android:theme="@style/PeopleTheme"/>
303
304 <activity
305 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700306 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800307 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
308
309 <intent-filter>
310 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
311 <category android:name="android.intent.category.DEFAULT"/>
312
313 <data android:scheme="mailto"/>
314 <data android:scheme="tel"/>
315 </intent-filter>
316 </activity>
317
318 <activity
319 android:name=".quickcontact.QuickContactActivity"
320 android:excludeFromRecents="true"
321 android:launchMode="singleTop"
322 android:taskAffinity=""
323 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700324 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800325 android:windowSoftInputMode="stateUnchanged">
326
327 <intent-filter>
328 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
329 <action android:name="android.provider.action.QUICK_CONTACT"/>
330
331 <category android:name="android.intent.category.DEFAULT"/>
332
333 <data android:mimeType="vnd.android.cursor.item/contact"/>
334 <data android:mimeType="vnd.android.cursor.item/person"/>
335 </intent-filter>
336
337 <intent-filter>
338 <action android:name="android.intent.action.VIEW"/>
339 <category android:name="android.intent.category.DEFAULT"/>
340
341 <data android:mimeType="vnd.android.cursor.item/person"/>
342 <data android:mimeType="vnd.android.cursor.item/contact"/>
343 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
344 </intent-filter>
345 </activity>
346
347 <receiver
348 android:name=".quickcontact.QuickContactBroadcastReceiver"
349 android:exported="false"/>
350
Wenyi Wang7ae91362017-03-06 16:31:12 -0800351 <!-- Responsible for creating notification channels when boot is completed or when app is
352 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700353 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
354 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800355 <intent-filter>
356 <action android:name="android.intent.action.BOOT_COMPLETED" />
357 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
358 </intent-filter>
359 </receiver>
360
John Shaoc9c2c452016-12-20 17:12:03 -0800361 <activity-alias
362 android:name="ContactShortcut"
363 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
364 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700365 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800366 android:targetActivity=".activities.ContactSelectionActivity">
367
368 <intent-filter>
369 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
370 <category android:name="android.intent.category.DEFAULT"/>
371 </intent-filter>
372
373 </activity-alias>
374
375 <activity-alias
376 android:name="alias.DialShortcut"
377 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
378 android:label="@string/shortcutDialContact"
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
385 <category android:name="android.intent.category.DEFAULT"/>
386 <category android:name="android.intent.category.CAR_MODE"/>
387 </intent-filter>
388
389 </activity-alias>
390
391 <activity-alias
392 android:name="alias.MessageShortcut"
393 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
394 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700395 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800396 android:targetActivity=".activities.ContactSelectionActivity">
397
398 <intent-filter>
399 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
400 <category android:name="android.intent.category.DEFAULT"/>
401 </intent-filter>
402
403 </activity-alias>
404
405 <!-- Accounts changed prompt that can appear when creating a new contact. -->
406 <activity
407 android:name=".activities.ContactEditorAccountsChangedActivity"
408 android:exported="false"
409 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
410 android:windowSoftInputMode="adjustResize"/>
411
412 <!-- Edit or create a contact with only the most important fields displayed initially. -->
413 <activity
414 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700415 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800416 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800417
418 <intent-filter>
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>
427
428 <!-- Keep support for apps that expect the Compact editor -->
429 <activity-alias
430 android:name="com.android.contacts.activities.CompactContactEditorActivity"
431 android:exported="true"
432 android:targetActivity=".activities.ContactEditorActivity">
433 <intent-filter android:priority="-1">
434 <action android:name="android.intent.action.INSERT"/>
435 <category android:name="android.intent.category.DEFAULT"/>
436
437 <data android:mimeType="vnd.android.cursor.dir/person"/>
438 <data android:mimeType="vnd.android.cursor.dir/contact"/>
439 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
440 </intent-filter>
441 </activity-alias>
442
443 <activity
444 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700445 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800446 android:theme="@style/TransparentThemeAppCompat">
447
448 <intent-filter>
449 <action android:name="android.intent.action.EDIT"/>
450 <category android:name="android.intent.category.DEFAULT"/>
451
452 <data android:mimeType="vnd.android.cursor.item/person"/>
453 <data android:mimeType="vnd.android.cursor.item/contact"/>
454 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
455 </intent-filter>
456 </activity>
457
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700458 <activity android:name=".test.FragmentTestActivity"
459 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800460 <intent-filter>
461 <category android:name="android.intent.category.TEST"/>
462 </intent-filter>
463 </activity>
464
465 <!-- Stub service used to keep our process alive long enough for
466 background threads to finish their operations. -->
467 <service
468 android:name=".util.EmptyService"
469 android:exported="false"/>
470
471 <!-- Service to save a contact -->
472 <service
473 android:name=".ContactSaveService"
474 android:exported="false"/>
475
476 <!-- Service to import contacts from the SIM card -->
477 <service
478 android:name=".SimImportService"
479 android:exported="false"/>
480
481 <!-- Attaches a photo to a contact. Started from external applications -->
482 <activity
483 android:name=".activities.AttachPhotoActivity"
484 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700485 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800486 android:taskAffinity="">
487 <intent-filter>
488 <action android:name="android.intent.action.ATTACH_DATA"/>
489 <data android:mimeType="image/*"/>
490 <category android:name="android.intent.category.DEFAULT"/>
491 </intent-filter>
492 </activity>
493
494 <!-- vCard related -->
495 <activity
496 android:name=".vcard.ImportVCardActivity"
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.intent.action.VIEW"/>
502
503 <data android:mimeType="text/directory"/>
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.NfcImportVCardActivity"
John Shao024c62f2021-08-25 23:29:56 +0000513 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800514 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700515 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800516 android:theme="@style/BackgroundOnlyTheme">
517 <intent-filter>
518 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
519
520 <data android:mimeType="text/vcard"/>
521 <data android:mimeType="text/x-vcard"/>
522
523 <category android:name="android.intent.category.DEFAULT"/>
524 </intent-filter>
525 </activity>
526
527 <activity
528 android:name=".vcard.CancelActivity"
529 android:theme="@style/BackgroundOnlyTheme"/>
530
531 <activity
532 android:name=".vcard.SelectAccountActivity"
533 android:theme="@style/BackgroundOnlyTheme"/>
534
535 <activity
536 android:name=".vcard.ExportVCardActivity"
537 android:theme="@style/BackgroundOnlyTheme"/>
538
539 <activity
540 android:name=".vcard.ShareVCardActivity"
541 android:theme="@style/BackgroundOnlyTheme"/>
542
543 <activity
544 android:name=".activities.SimImportActivity"
545 android:label="@string/sim_import_title"
546 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
547
548
549 <service
550 android:name=".vcard.VCardService"
keparal.li78278832023-03-24 17:25:28 +0800551 android:exported="false"
552 android:foregroundServiceType="dataSync"/>
John Shaoc9c2c452016-12-20 17:12:03 -0800553 <!-- end vCard related -->
554
555 <!-- Intercept Dialer Intents for devices without a phone.
556 This activity should have the same intent filters as the DialtactsActivity,
557 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
558 we don't want this to show up in the Launcher. The priorities of the intent-filters
559 are set lower, so that the user does not see a disambig dialog -->
560 <activity
561 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700562 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800563 android:theme="@style/NonPhoneActivityTheme">
564 <intent-filter android:priority="-1">
565 <action android:name="android.intent.action.MAIN"/>
566
567 <category android:name="android.intent.category.DEFAULT"/>
568 <category android:name="android.intent.category.BROWSABLE"/>
569 </intent-filter>
570 <intent-filter android:priority="-1">
571 <action android:name="android.intent.action.VIEW"/>
572
573 <category android:name="android.intent.category.DEFAULT"/>
574 <category android:name="android.intent.category.BROWSABLE"/>
575
576 <data android:scheme="tel"/>
577 </intent-filter>
578 <intent-filter android:priority="-1">
579 <action android:name="android.intent.action.VIEW"/>
580
581 <category android:name="android.intent.category.DEFAULT"/>
582 <category android:name="android.intent.category.BROWSABLE"/>
583
584 <data android:mimeType="vnd.android.cursor.dir/calls"/>
585 </intent-filter>
586 </activity>
587
588 <activity
589 android:name="com.android.contacts.dialog.CallSubjectDialog"
590 android:theme="@style/Theme.CallSubjectDialogTheme"
John Shaoaf44f5a2022-02-24 22:20:11 +0000591 android:exported="false"
John Shaoc9c2c452016-12-20 17:12:03 -0800592 android:windowSoftInputMode="stateVisible|adjustResize">
593 <intent-filter>
594 <action android:name="android.intent.action.VIEW"/>
595 </intent-filter>
596 </activity>
597
598 <!-- Service that is exclusively for the Phone application that sends out a view
599 notification. This service might be removed in future versions of the app.
600
601 This is called explicitly by the phone app via package name and class.
602 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
603 needs to be changed as well.
604 -->
605 <service
606 android:name=".ViewNotificationService"
607 android:exported="true"
608 android:permission="android.permission.WRITE_CONTACTS">
609 <intent-filter>
610 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
611 <data android:mimeType="vnd.android.cursor.item/contact"/>
612 </intent-filter>
613 </service>
614
615 <!-- Service used to run JobScheduler jobs -->
616 <service
617 android:name="com.android.contacts.ContactsJobService"
618 android:permission="android.permission.BIND_JOB_SERVICE"/>
619
620 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700621 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800622 android:authorities="@string/contacts_file_provider_authority"
623 android:exported="false"
624 android:grantUriPermissions="true">
625 <meta-data
626 android:name="android.support.FILE_PROVIDER_PATHS"
627 android:resource="@xml/file_paths"/>
628 </provider>
629
630 <meta-data
631 android:name="android.nfc.disable_beam_default"
632 android:value="true"/>
633
634 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700635
636 <!-- Allows the contacts app to see the activities and services needed
637 to detect accounts and show actions in QuickContact. -->
638 <queries>
639 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700640 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700641
642 <!-- quickcontact actions and verbs -->
643 <intent>
644 <action android:name="android.intent.action.SENDTO" />
645 <data android:scheme="imto" />
646 </intent>
647 <intent>
648 <action android:name="android.intent.action.SENDTO" />
649 <data android:scheme="xmpp" />
650 </intent>
651 <intent>
652 <action android:name="android.intent.action.SENDTO" />
653 <data android:scheme="mailto" />
654 </intent>
655 <intent>
656 <action android:name="android.intent.action.SENDTO" />
657 <data android:scheme="smsto" />
658 </intent>
659 <intent>
660 <action android:name="android.intent.action.VIEW"/>
661 <data android:scheme="geo"/>
662 </intent>
663 <!-- About card -->
664 <intent>
665 <!-- View CalendarContract Uris -->
666 <action android:name="android.intent.action.VIEW"/>
667 <data android:scheme="content" android:host="com.android.calendar"/>
668 </intent>
669 <intent>
670 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700671 <data android:scheme="https"/>
672 </intent>
673
674 <!-- Account loading -->
675 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700676 <action android:name="android.accounts.AccountAuthenticator"/>
677 </intent>
678 <intent>
679 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700680 <data android:scheme="content" android:host="com.android.contacts"
681 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700682 </intent>
683
684 <!-- calling -->
685 <package android:name="com.android.dialer"/>
686 <intent>
687 <action android:name="android.intent.action.CALL" />
688 <data android:scheme="tel" />
689 </intent>
690 <intent>
691 <action android:name="android.intent.action.DIAL" />
692 <data android:scheme="tel" />
693 </intent>
694 <intent>
695 <action android:name="android.intent.action.CALL" />
696 <data android:scheme="sip" />
697 </intent>
698 <intent>
699 <action android:name="android.intent.action.DIAL" />
700 <data android:scheme="sip" />
701 </intent>
702 <intent>
703 <action android:name="android.intent.action.CALL" />
704 <data android:scheme="voicemail" />
705 </intent>
706 <intent>
707 <action android:name="android.intent.action.DIAL" />
708 <data android:scheme="voicemail" />
709 </intent>
710
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700711 <!-- vcard export -->
712 <intent>
713 <action android:name="android.intent.action.CREATE_DOCUMENT" />
714 <data android:mimeType="text/x-vcard" />
715 <category android:name="android.intent.category.OPENABLE" />
716 </intent>
717
718 <!-- edit contact photo -->
719 <intent>
Gary Mai1ffb6382021-11-24 17:50:58 -0800720 <action android:name="android.media.action.IMAGE_CAPTURE" />
721 </intent>
722
723 <intent>
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700724 <action android:name="com.android.camera.action.CROP" />
725 <data android:mimeType="image/*" />
726 </intent>
727
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700728 </queries>
729
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800730</manifest>