blob: 0e59458504cac742a8536e22eb98a4cdc98f7137 [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"/>
Tingting793e03f2021-10-27 19:12:55 +000048 <uses-permission android:name="android.permission.SET_DEFAULT_ACCOUNT_FOR_CONTACTS"/>
John Shaoc9c2c452016-12-20 17:12:03 -080049 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
John Shaoc9c2c452016-12-20 17:12:03 -080050 <!-- Following used for Contact metadata syncing -->
51 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
52 <!-- Following used for getting the status of the contacts sync adapter -->
53 <uses-permission android:name="android.permission.READ_SYNC_STATS"/>
Wenyi Wangbf7745a2017-03-23 10:28:24 -070054 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
Marcus Hagerott7b9c80d2018-03-02 16:32:56 -080055 <!-- Required in P to run Service.startForeground() -->
56 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
John Shao58f2a032022-02-24 22:46:00 +000057 <uses-permission android:name="android.permission.HIDE_OVERLAY_WINDOWS" />
Steve Elliott9a12ef42021-12-10 19:08:21 +000058 <uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
John Shaoc9c2c452016-12-20 17:12:03 -080059
60 <uses-feature
61 android:name="android.hardware.telephony"
62 android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070063
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080064 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080065 android:name="com.android.contacts.ContactsApplication"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070066 android:hardwareAccelerated="true"
John Shaoc9c2c452016-12-20 17:12:03 -080067 android:icon="@mipmap/ic_contacts_launcher"
68 android:label="@string/applicationLabel"
Yorke Leea7109d72013-01-17 11:47:23 -080069 android:supportsRtl="true"
John Shaoc9c2c452016-12-20 17:12:03 -080070 android:taskAffinity="android.task.contacts"
71 android:usesCleartextTraffic="false">
72 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
73 <activity
74 android:name=".activities.PeopleActivity"
75 android:alwaysRetainTaskState="true"
76 android:launchMode="singleTop"
77 android:resizeableActivity="true"
yaoluf31d6972017-02-20 23:03:00 -080078 android:theme="@style/LaunchScreenTheme"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -070079 android:exported="true"
Chad Brubakerd8b90382017-04-13 11:24:49 -070080 android:visibleToInstantApps="true"
John Shaoc9c2c452016-12-20 17:12:03 -080081 >
82 <intent-filter>
83 <action android:name="android.intent.action.MAIN"/>
84
85 <category android:name="android.intent.category.DEFAULT"/>
86 <category android:name="android.intent.category.LAUNCHER"/>
87 <category android:name="android.intent.category.BROWSABLE"/>
88 <category android:name="android.intent.category.APP_CONTACTS"/>
89 </intent-filter>
90 <intent-filter>
91 <action android:name="com.android.contacts.action.LIST_DEFAULT"/>
92
93 <category android:name="android.intent.category.DEFAULT"/>
94 <category android:name="android.intent.category.TAB"/>
95 </intent-filter>
96
97 <intent-filter>
98 <action android:name="com.android.contacts.action.LIST_CONTACTS"/>
99
100 <category android:name="android.intent.category.DEFAULT"/>
101 <category android:name="android.intent.category.TAB"/>
102 </intent-filter>
103
104 <intent-filter>
105 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/>
106
107 <category android:name="android.intent.category.DEFAULT"/>
108 <category android:name="android.intent.category.TAB"/>
109 </intent-filter>
110
111 <intent-filter>
112 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/>
113
114 <category android:name="android.intent.category.DEFAULT"/>
115 <category android:name="android.intent.category.TAB"/>
116 </intent-filter>
117
118 <intent-filter>
119 <action android:name="com.android.contacts.action.LIST_STARRED"/>
120
121 <category android:name="android.intent.category.DEFAULT"/>
122 <category android:name="android.intent.category.TAB"/>
123 </intent-filter>
124
125 <intent-filter>
126 <action android:name="com.android.contacts.action.LIST_FREQUENT"/>
127
128 <category android:name="android.intent.category.DEFAULT"/>
129 <category android:name="android.intent.category.TAB"/>
130 </intent-filter>
131
132 <intent-filter>
133 <action android:name="com.android.contacts.action.LIST_STREQUENT"/>
134
135 <category android:name="android.intent.category.DEFAULT"/>
136 <category android:name="android.intent.category.TAB"/>
137 </intent-filter>
138
139 <intent-filter>
140 <action android:name="android.intent.action.SEARCH"/>
141 <category android:name="android.intent.category.DEFAULT"/>
142 <data android:mimeType="vnd.android.cursor.dir/contact"/>
143 </intent-filter>
144
145 <intent-filter>
146 <action android:name="android.intent.action.SEARCH"/>
147 <category android:name="android.intent.category.DEFAULT"/>
148 </intent-filter>
149
150 <intent-filter>
151 <action android:name="android.intent.action.VIEW"/>
152 <category android:name="android.intent.category.DEFAULT"/>
153
154 <data android:mimeType="vnd.android.cursor.dir/person"/>
155 <data android:mimeType="vnd.android.cursor.dir/contact"/>
156 <data android:mimeType="vnd.android.cursor.item/group"/>
157 </intent-filter>
158
159 <intent-filter>
160 <action android:name="android.intent.action.EDIT"/>
161 <category android:name="android.intent.category.DEFAULT"/>
162 <data android:mimeType="vnd.android.cursor.item/group"/>
163 </intent-filter>
164
165 <intent-filter>
166 <action android:name="android.intent.action.INSERT"/>
167 <category android:name="android.intent.category.DEFAULT"/>
168 <data android:mimeType="vnd.android.cursor.dir/group"/>
169 </intent-filter>
170
171 <meta-data
172 android:name="android.app.searchable"
173 android:resource="@xml/searchable"
174 />
175
176 <meta-data
177 android:name="android.app.shortcuts"
178 android:resource="@xml/shortcuts"
179 />
180
181 </activity>
182
183 <activity
184 android:name=".activities.ContactSelectionActivity"
185 android:clearTaskOnLaunch="true"
186 android:launchMode="singleTop"
187 android:theme="@style/ContactPickerTheme"
188 android:uiOptions="splitActionBarWhenNarrow"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800189 android:windowSoftInputMode="adjustResize"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700190 android:exported="true"
Chad Brubaker49f2e912017-01-25 15:22:37 -0800191 android:visibleToInstantApps="true">
Gary Mai08d87ee2017-03-15 11:01:28 -0700192 <meta-data android:name="android.app.shortcuts.new_config"
193 android:value="true" />
John Shaoc9c2c452016-12-20 17:12:03 -0800194 <intent-filter>
195 <action android:name="android.intent.action.INSERT_OR_EDIT"/>
196 <category android:name="android.intent.category.DEFAULT"/>
197
198 <data android:mimeType="vnd.android.cursor.item/person"/>
199 <data android:mimeType="vnd.android.cursor.item/contact"/>
200 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
201 </intent-filter>
202
203 <intent-filter>
204 <action android:name="android.intent.action.PICK"/>
205 <category android:name="android.intent.category.DEFAULT"/>
206
207 <data android:mimeType="vnd.android.cursor.dir/contact"/>
208 <data android:mimeType="vnd.android.cursor.dir/person"/>
209 <data android:mimeType="vnd.android.cursor.dir/phone_v2"/>
210 <data android:mimeType="vnd.android.cursor.dir/phone"/>
211 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/>
212 <data android:mimeType="vnd.android.cursor.dir/postal-address"/>
213 <data android:mimeType="vnd.android.cursor.dir/email_v2"/>
214 <data android:mimeType="vnd.android.cursor.dir/group"/>
215 </intent-filter>
216
217 <intent-filter>
218 <action android:name="android.intent.action.GET_CONTENT"/>
219 <category android:name="android.intent.category.DEFAULT"/>
220
221 <data android:mimeType="vnd.android.cursor.item/contact"/>
222 <data android:mimeType="vnd.android.cursor.item/person"/>
223 <data android:mimeType="vnd.android.cursor.item/phone_v2"/>
224 <data android:mimeType="vnd.android.cursor.item/phone"/>
225 <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/>
226 <data android:mimeType="vnd.android.cursor.item/postal-address"/>
227 </intent-filter>
228
229 <intent-filter>
230 <action android:name="com.android.contacts.action.JOIN_CONTACT"/>
231 <category android:name="android.intent.category.DEFAULT"/>
232 </intent-filter>
233 </activity>
234
235 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
236 <activity-alias
237 android:name="ContactsListActivity"
238 android:targetActivity=".activities.PeopleActivity"
239 />
240
241 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
242 <activity-alias
243 android:name=".activities.ContactsFrontDoor"
244 android:exported="true"
245 android:targetActivity=".activities.PeopleActivity"
246 />
247
248 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
249 <activity-alias
250 android:name="DialtactsContactsEntryActivity"
251 android:exported="true"
252 android:targetActivity=".activities.PeopleActivity"
253 />
254
255 <!-- Used to set options -->
256 <activity
257 android:name=".preference.ContactsPreferenceActivity"
258 android:exported="false"
259 android:label="@string/activity_title_settings"
260 android:launchMode="singleTop"
261 android:theme="@style/ContactsPreferencesTheme"/>
262
263 <activity
Tingtinge17434d2022-01-07 23:47:04 +0000264 android:name=".preference.SetDefaultAccountActivity"
265 android:exported="true"
266 android:theme="@style/BackgroundOnlyTheme"
267 android:excludeFromRecents="true">
268 <intent-filter>
269 <action android:name="android.provider.action.SET_DEFAULT_ACCOUNT"/>
270 <category android:name="android.intent.category.DEFAULT"/>
271 </intent-filter>
272 </activity>
273
274 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800275 android:name=".activities.LicenseActivity"
276 android:exported="true"
277 android:label="@string/activity_title_licenses"
278 android:theme="@style/ContactsPreferencesTheme"/>
279
280 <!-- Used to filter contacts list by account -->
281 <activity
282 android:name=".list.AccountFilterActivity"
283 android:label="@string/activity_title_contacts_filter"
284 android:theme="@style/ContactListFilterTheme"/>
285
286 <!-- Used to select display and sync groups -->
287 <activity
288 android:name=".list.CustomContactListFilterActivity"
289 android:label="@string/custom_list_filter"
290 android:theme="@style/ContactListFilterTheme"/>
291
292 <activity
293 android:name=".activities.RequestPermissionsActivity"
294 android:exported="false"
295 android:theme="@style/PeopleTheme"/>
296
297 <activity
John Shaoc9c2c452016-12-20 17:12:03 -0800298 android:name=".activities.RequestImportVCardPermissionsActivity"
299 android:exported="false"
300 android:theme="@style/PeopleTheme"/>
301
302 <activity
303 android:name=".activities.ShowOrCreateActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700304 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800305 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
306
307 <intent-filter>
308 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/>
309 <category android:name="android.intent.category.DEFAULT"/>
310
311 <data android:scheme="mailto"/>
312 <data android:scheme="tel"/>
313 </intent-filter>
314 </activity>
315
316 <activity
317 android:name=".quickcontact.QuickContactActivity"
318 android:excludeFromRecents="true"
319 android:launchMode="singleTop"
320 android:taskAffinity=""
321 android:theme="@style/Theme.QuickContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700322 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800323 android:windowSoftInputMode="stateUnchanged">
324
325 <intent-filter>
326 <action android:name="com.android.contacts.action.QUICK_CONTACT"/>
327 <action android:name="android.provider.action.QUICK_CONTACT"/>
328
329 <category android:name="android.intent.category.DEFAULT"/>
330
331 <data android:mimeType="vnd.android.cursor.item/contact"/>
332 <data android:mimeType="vnd.android.cursor.item/person"/>
333 </intent-filter>
334
335 <intent-filter>
336 <action android:name="android.intent.action.VIEW"/>
337 <category android:name="android.intent.category.DEFAULT"/>
338
339 <data android:mimeType="vnd.android.cursor.item/person"/>
340 <data android:mimeType="vnd.android.cursor.item/contact"/>
341 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
342 </intent-filter>
343 </activity>
344
345 <receiver
346 android:name=".quickcontact.QuickContactBroadcastReceiver"
347 android:exported="false"/>
348
Wenyi Wang7ae91362017-03-06 16:31:12 -0800349 <!-- Responsible for creating notification channels when boot is completed or when app is
350 re-installed -->
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700351 <receiver android:name=".interactions.OnBootOrUpgradeReceiver"
352 android:exported="true">
Wenyi Wang7ae91362017-03-06 16:31:12 -0800353 <intent-filter>
354 <action android:name="android.intent.action.BOOT_COMPLETED" />
355 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
356 </intent-filter>
357 </receiver>
358
John Shaoc9c2c452016-12-20 17:12:03 -0800359 <activity-alias
360 android:name="ContactShortcut"
361 android:icon="@drawable/logo_quick_contacts_color_44in48dp"
362 android:label="@string/shortcutContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700363 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800364 android:targetActivity=".activities.ContactSelectionActivity">
365
366 <intent-filter>
367 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
368 <category android:name="android.intent.category.DEFAULT"/>
369 </intent-filter>
370
371 </activity-alias>
372
373 <activity-alias
374 android:name="alias.DialShortcut"
375 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
376 android:label="@string/shortcutDialContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700377 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800378 android:targetActivity=".activities.ContactSelectionActivity">
379
380 <intent-filter>
381 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
382
383 <category android:name="android.intent.category.DEFAULT"/>
384 <category android:name="android.intent.category.CAR_MODE"/>
385 </intent-filter>
386
387 </activity-alias>
388
389 <activity-alias
390 android:name="alias.MessageShortcut"
391 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
392 android:label="@string/shortcutMessageContact"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700393 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800394 android:targetActivity=".activities.ContactSelectionActivity">
395
396 <intent-filter>
397 <action android:name="android.intent.action.CREATE_SHORTCUT"/>
398 <category android:name="android.intent.category.DEFAULT"/>
399 </intent-filter>
400
401 </activity-alias>
402
403 <!-- Accounts changed prompt that can appear when creating a new contact. -->
404 <activity
405 android:name=".activities.ContactEditorAccountsChangedActivity"
406 android:exported="false"
407 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
408 android:windowSoftInputMode="adjustResize"/>
409
410 <!-- Edit or create a contact with only the most important fields displayed initially. -->
411 <activity
412 android:name=".activities.ContactEditorActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700413 android:exported="true"
Gary Maibefbd852017-01-10 16:24:50 -0800414 android:theme="@style/EditorActivityTheme">
John Shaoc9c2c452016-12-20 17:12:03 -0800415
416 <intent-filter>
417 <action android:name="android.intent.action.INSERT"/>
418 <category android:name="android.intent.category.DEFAULT"/>
419
420 <data android:mimeType="vnd.android.cursor.dir/person"/>
421 <data android:mimeType="vnd.android.cursor.dir/contact"/>
422 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
423 </intent-filter>
424 </activity>
425
426 <!-- Keep support for apps that expect the Compact editor -->
427 <activity-alias
428 android:name="com.android.contacts.activities.CompactContactEditorActivity"
429 android:exported="true"
430 android:targetActivity=".activities.ContactEditorActivity">
431 <intent-filter android:priority="-1">
432 <action android:name="android.intent.action.INSERT"/>
433 <category android:name="android.intent.category.DEFAULT"/>
434
435 <data android:mimeType="vnd.android.cursor.dir/person"/>
436 <data android:mimeType="vnd.android.cursor.dir/contact"/>
437 <data android:mimeType="vnd.android.cursor.dir/raw_contact"/>
438 </intent-filter>
439 </activity-alias>
440
441 <activity
442 android:name=".activities.ContactEditorSpringBoardActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700443 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800444 android:theme="@style/TransparentThemeAppCompat">
445
446 <intent-filter>
447 <action android:name="android.intent.action.EDIT"/>
448 <category android:name="android.intent.category.DEFAULT"/>
449
450 <data android:mimeType="vnd.android.cursor.item/person"/>
451 <data android:mimeType="vnd.android.cursor.item/contact"/>
452 <data android:mimeType="vnd.android.cursor.item/raw_contact"/>
453 </intent-filter>
454 </activity>
455
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700456 <activity android:name=".test.FragmentTestActivity"
457 android:exported="true">
John Shaoc9c2c452016-12-20 17:12:03 -0800458 <intent-filter>
459 <category android:name="android.intent.category.TEST"/>
460 </intent-filter>
461 </activity>
462
463 <!-- Stub service used to keep our process alive long enough for
464 background threads to finish their operations. -->
465 <service
466 android:name=".util.EmptyService"
467 android:exported="false"/>
468
469 <!-- Service to save a contact -->
470 <service
471 android:name=".ContactSaveService"
472 android:exported="false"/>
473
474 <!-- Service to import contacts from the SIM card -->
475 <service
476 android:name=".SimImportService"
477 android:exported="false"/>
478
479 <!-- Attaches a photo to a contact. Started from external applications -->
480 <activity
481 android:name=".activities.AttachPhotoActivity"
482 android:label="@string/attach_photo_dialog_title"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700483 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800484 android:taskAffinity="">
485 <intent-filter>
486 <action android:name="android.intent.action.ATTACH_DATA"/>
487 <data android:mimeType="image/*"/>
488 <category android:name="android.intent.category.DEFAULT"/>
489 </intent-filter>
490 </activity>
491
492 <!-- vCard related -->
493 <activity
494 android:name=".vcard.ImportVCardActivity"
495 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700496 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800497 android:theme="@style/BackgroundOnlyTheme">
498 <intent-filter>
499 <action android:name="android.intent.action.VIEW"/>
500
501 <data android:mimeType="text/directory"/>
502 <data android:mimeType="text/vcard"/>
503 <data android:mimeType="text/x-vcard"/>
504
505 <category android:name="android.intent.category.DEFAULT"/>
506 </intent-filter>
507 </activity>
508
509 <activity
510 android:name=".vcard.NfcImportVCardActivity"
John Shao024c62f2021-08-25 23:29:56 +0000511 android:permission="android.permission.DISPATCH_NFC_MESSAGE"
John Shaoc9c2c452016-12-20 17:12:03 -0800512 android:configChanges="orientation|screenSize|keyboardHidden"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700513 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800514 android:theme="@style/BackgroundOnlyTheme">
515 <intent-filter>
516 <action android:name="android.nfc.action.NDEF_DISCOVERED"/>
517
518 <data android:mimeType="text/vcard"/>
519 <data android:mimeType="text/x-vcard"/>
520
521 <category android:name="android.intent.category.DEFAULT"/>
522 </intent-filter>
523 </activity>
524
525 <activity
526 android:name=".vcard.CancelActivity"
527 android:theme="@style/BackgroundOnlyTheme"/>
528
529 <activity
530 android:name=".vcard.SelectAccountActivity"
531 android:theme="@style/BackgroundOnlyTheme"/>
532
533 <activity
534 android:name=".vcard.ExportVCardActivity"
535 android:theme="@style/BackgroundOnlyTheme"/>
536
537 <activity
538 android:name=".vcard.ShareVCardActivity"
539 android:theme="@style/BackgroundOnlyTheme"/>
540
541 <activity
542 android:name=".activities.SimImportActivity"
543 android:label="@string/sim_import_title"
544 android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/>
545
546
547 <service
548 android:name=".vcard.VCardService"
549 android:exported="false"/>
550 <!-- end vCard related -->
551
552 <!-- Intercept Dialer Intents for devices without a phone.
553 This activity should have the same intent filters as the DialtactsActivity,
554 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
555 we don't want this to show up in the Launcher. The priorities of the intent-filters
556 are set lower, so that the user does not see a disambig dialog -->
557 <activity
558 android:name="com.android.contacts.NonPhoneActivity"
Ashwini Oruganti71a59f32020-05-20 11:12:02 -0700559 android:exported="true"
John Shaoc9c2c452016-12-20 17:12:03 -0800560 android:theme="@style/NonPhoneActivityTheme">
561 <intent-filter android:priority="-1">
562 <action android:name="android.intent.action.MAIN"/>
563
564 <category android:name="android.intent.category.DEFAULT"/>
565 <category android:name="android.intent.category.BROWSABLE"/>
566 </intent-filter>
567 <intent-filter android:priority="-1">
568 <action android:name="android.intent.action.VIEW"/>
569
570 <category android:name="android.intent.category.DEFAULT"/>
571 <category android:name="android.intent.category.BROWSABLE"/>
572
573 <data android:scheme="tel"/>
574 </intent-filter>
575 <intent-filter android:priority="-1">
576 <action android:name="android.intent.action.VIEW"/>
577
578 <category android:name="android.intent.category.DEFAULT"/>
579 <category android:name="android.intent.category.BROWSABLE"/>
580
581 <data android:mimeType="vnd.android.cursor.dir/calls"/>
582 </intent-filter>
583 </activity>
584
585 <activity
586 android:name="com.android.contacts.dialog.CallSubjectDialog"
587 android:theme="@style/Theme.CallSubjectDialogTheme"
John Shaoeadb0b12022-02-24 22:20:11 +0000588 android:exported="false"
John Shaoc9c2c452016-12-20 17:12:03 -0800589 android:windowSoftInputMode="stateVisible|adjustResize">
590 <intent-filter>
591 <action android:name="android.intent.action.VIEW"/>
592 </intent-filter>
593 </activity>
594
595 <!-- Service that is exclusively for the Phone application that sends out a view
596 notification. This service might be removed in future versions of the app.
597
598 This is called explicitly by the phone app via package name and class.
599 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
600 needs to be changed as well.
601 -->
602 <service
603 android:name=".ViewNotificationService"
604 android:exported="true"
605 android:permission="android.permission.WRITE_CONTACTS">
606 <intent-filter>
607 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
608 <data android:mimeType="vnd.android.cursor.item/contact"/>
609 </intent-filter>
610 </service>
611
612 <!-- Service used to run JobScheduler jobs -->
613 <service
614 android:name="com.android.contacts.ContactsJobService"
615 android:permission="android.permission.BIND_JOB_SERVICE"/>
616
617 <provider
Aravind Sreekumar71212852018-04-06 15:47:45 -0700618 android:name="androidx.core.content.FileProvider"
John Shaoc9c2c452016-12-20 17:12:03 -0800619 android:authorities="@string/contacts_file_provider_authority"
620 android:exported="false"
621 android:grantUriPermissions="true">
622 <meta-data
623 android:name="android.support.FILE_PROVIDER_PATHS"
624 android:resource="@xml/file_paths"/>
625 </provider>
626
627 <meta-data
628 android:name="android.nfc.disable_beam_default"
629 android:value="true"/>
630
631 </application>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700632
633 <!-- Allows the contacts app to see the activities and services needed
634 to detect accounts and show actions in QuickContact. -->
635 <queries>
636 <!-- ContactsProvider2 -->
Marcus Hagerott152b8f12020-06-10 12:51:54 -0700637 <package android:name="com.android.providers.contacts"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700638
639 <!-- quickcontact actions and verbs -->
640 <intent>
641 <action android:name="android.intent.action.SENDTO" />
642 <data android:scheme="imto" />
643 </intent>
644 <intent>
645 <action android:name="android.intent.action.SENDTO" />
646 <data android:scheme="xmpp" />
647 </intent>
648 <intent>
649 <action android:name="android.intent.action.SENDTO" />
650 <data android:scheme="mailto" />
651 </intent>
652 <intent>
653 <action android:name="android.intent.action.SENDTO" />
654 <data android:scheme="smsto" />
655 </intent>
656 <intent>
657 <action android:name="android.intent.action.VIEW"/>
658 <data android:scheme="geo"/>
659 </intent>
660 <!-- About card -->
661 <intent>
662 <!-- View CalendarContract Uris -->
663 <action android:name="android.intent.action.VIEW"/>
664 <data android:scheme="content" android:host="com.android.calendar"/>
665 </intent>
666 <intent>
667 <action android:name="android.intent.action.VIEW"/>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700668 <data android:scheme="https"/>
669 </intent>
670
671 <!-- Account loading -->
672 <intent>
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700673 <action android:name="android.accounts.AccountAuthenticator"/>
674 </intent>
675 <intent>
676 <action android:name="android.intent.action.VIEW" />
Marcus Hagerott3f6255f2020-06-08 14:11:39 -0700677 <data android:scheme="content" android:host="com.android.contacts"
678 android:mimeType="vnd.android.cursor.item/*" />
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700679 </intent>
680
681 <!-- calling -->
682 <package android:name="com.android.dialer"/>
683 <intent>
684 <action android:name="android.intent.action.CALL" />
685 <data android:scheme="tel" />
686 </intent>
687 <intent>
688 <action android:name="android.intent.action.DIAL" />
689 <data android:scheme="tel" />
690 </intent>
691 <intent>
692 <action android:name="android.intent.action.CALL" />
693 <data android:scheme="sip" />
694 </intent>
695 <intent>
696 <action android:name="android.intent.action.DIAL" />
697 <data android:scheme="sip" />
698 </intent>
699 <intent>
700 <action android:name="android.intent.action.CALL" />
701 <data android:scheme="voicemail" />
702 </intent>
703 <intent>
704 <action android:name="android.intent.action.DIAL" />
705 <data android:scheme="voicemail" />
706 </intent>
707
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700708 <!-- vcard export -->
709 <intent>
710 <action android:name="android.intent.action.CREATE_DOCUMENT" />
711 <data android:mimeType="text/x-vcard" />
712 <category android:name="android.intent.category.OPENABLE" />
713 </intent>
714
715 <!-- edit contact photo -->
716 <intent>
Gary Mai1ffb6382021-11-24 17:50:58 -0800717 <action android:name="android.media.action.IMAGE_CAPTURE" />
718 </intent>
719
720 <intent>
Marcus Hagerott7fb52362020-05-19 08:42:56 -0700721 <action android:name="com.android.camera.action.CROP" />
722 <data android:mimeType="image/*" />
723 </intent>
724
Marcus Hagerottb6a44dd2020-04-22 08:58:40 -0700725 </queries>
726
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800727</manifest>