The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 1 | <?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 Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Neel Parekh | be406ff | 2009-09-16 15:31:22 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 10 | 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 Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 18 | package="com.android.contacts" |
Arthur Wang | 10bb7e2 | 2017-03-15 10:22:51 -0700 | [diff] [blame] | 19 | android:versionCode="10708" |
| 20 | android:versionName="1.7.8"> |
Jeff Sharkey | 26c7e73 | 2009-04-01 17:30:46 -0700 | [diff] [blame] | 21 | |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 22 | <uses-sdk |
| 23 | android:minSdkVersion="21" |
| 24 | android:targetSdkVersion="25"/> |
Walter Jang | 30cd189 | 2016-07-01 12:16:57 -0700 | [diff] [blame] | 25 | |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 26 | <original-package android:name="com.android.contacts"/> |
Jeff Hamilton | e788353 | 2010-02-11 16:25:48 -0600 | [diff] [blame] | 27 | |
John Shao | b5f5e8b | 2016-09-26 11:19:55 -0700 | [diff] [blame] | 28 | <!-- Contacts permission listed first because order determines |
| 29 | order that permissions are requested with some OEMs --> |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 31 | <uses-permission android:name="android.permission.WRITE_CONTACTS"/> |
| 32 | <uses-permission android:name="android.permission.GET_ACCOUNTS"/> |
| 33 | <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED"/> |
| 34 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/> |
| 35 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 36 | <uses-permission android:name="android.permission.CALL_PHONE"/> |
| 37 | <uses-permission android:name="android.permission.READ_PROFILE"/> |
| 38 | <uses-permission android:name="android.permission.WRITE_PROFILE"/> |
| 39 | <uses-permission android:name="android.permission.INTERNET"/> |
| 40 | <uses-permission android:name="android.permission.NFC"/> |
| 41 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
| 42 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 43 | <uses-permission android:name="android.permission.WRITE_SETTINGS"/> |
| 44 | <uses-permission android:name="android.permission.USE_CREDENTIALS"/> |
| 45 | <uses-permission android:name="android.permission.VIBRATE"/> |
| 46 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS"/> |
| 47 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
| 48 | <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/> |
| 49 | <!-- Following used for QuickContacts --> |
| 50 | <uses-permission android:name="android.permission.READ_CALL_LOG"/> |
| 51 | <uses-permission android:name="android.permission.READ_SMS"/> |
| 52 | <uses-permission android:name="android.permission.READ_CALENDAR"/> |
| 53 | <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL"/> |
| 54 | <!-- Following used for Contact metadata syncing --> |
| 55 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/> |
| 56 | <!-- Following used for getting the status of the contacts sync adapter --> |
| 57 | <uses-permission android:name="android.permission.READ_SYNC_STATS"/> |
Wenyi Wang | bf7745a | 2017-03-23 10:28:24 -0700 | [diff] [blame^] | 58 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 59 | |
| 60 | <uses-feature |
| 61 | android:name="android.hardware.telephony" |
| 62 | android:required="false"/> |
Walter Jang | 0e723d9 | 2016-07-07 19:00:30 -0700 | [diff] [blame] | 63 | |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 64 | <application |
Dmitri Plotnikov | f049ff0 | 2010-11-29 10:15:24 -0800 | [diff] [blame] | 65 | android:name="com.android.contacts.ContactsApplication" |
Daniel Lehmann | 57b5aa1 | 2010-09-23 17:42:23 -0700 | [diff] [blame] | 66 | android:hardwareAccelerated="true" |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 67 | android:icon="@mipmap/ic_contacts_launcher" |
| 68 | android:label="@string/applicationLabel" |
Yorke Lee | a7109d7 | 2013-01-17 11:47:23 -0800 | [diff] [blame] | 69 | android:supportsRtl="true" |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 70 | 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" |
yaolu | f31d697 | 2017-02-20 23:03:00 -0800 | [diff] [blame] | 78 | android:theme="@style/LaunchScreenTheme" |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 79 | > |
| 80 | <intent-filter> |
| 81 | <action android:name="android.intent.action.MAIN"/> |
| 82 | |
| 83 | <category android:name="android.intent.category.DEFAULT"/> |
| 84 | <category android:name="android.intent.category.LAUNCHER"/> |
| 85 | <category android:name="android.intent.category.BROWSABLE"/> |
| 86 | <category android:name="android.intent.category.APP_CONTACTS"/> |
| 87 | </intent-filter> |
| 88 | <intent-filter> |
| 89 | <action android:name="com.android.contacts.action.LIST_DEFAULT"/> |
| 90 | |
| 91 | <category android:name="android.intent.category.DEFAULT"/> |
| 92 | <category android:name="android.intent.category.TAB"/> |
| 93 | </intent-filter> |
| 94 | |
| 95 | <intent-filter> |
| 96 | <action android:name="com.android.contacts.action.LIST_CONTACTS"/> |
| 97 | |
| 98 | <category android:name="android.intent.category.DEFAULT"/> |
| 99 | <category android:name="android.intent.category.TAB"/> |
| 100 | </intent-filter> |
| 101 | |
| 102 | <intent-filter> |
| 103 | <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS"/> |
| 104 | |
| 105 | <category android:name="android.intent.category.DEFAULT"/> |
| 106 | <category android:name="android.intent.category.TAB"/> |
| 107 | </intent-filter> |
| 108 | |
| 109 | <intent-filter> |
| 110 | <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES"/> |
| 111 | |
| 112 | <category android:name="android.intent.category.DEFAULT"/> |
| 113 | <category android:name="android.intent.category.TAB"/> |
| 114 | </intent-filter> |
| 115 | |
| 116 | <intent-filter> |
| 117 | <action android:name="com.android.contacts.action.LIST_STARRED"/> |
| 118 | |
| 119 | <category android:name="android.intent.category.DEFAULT"/> |
| 120 | <category android:name="android.intent.category.TAB"/> |
| 121 | </intent-filter> |
| 122 | |
| 123 | <intent-filter> |
| 124 | <action android:name="com.android.contacts.action.LIST_FREQUENT"/> |
| 125 | |
| 126 | <category android:name="android.intent.category.DEFAULT"/> |
| 127 | <category android:name="android.intent.category.TAB"/> |
| 128 | </intent-filter> |
| 129 | |
| 130 | <intent-filter> |
| 131 | <action android:name="com.android.contacts.action.LIST_STREQUENT"/> |
| 132 | |
| 133 | <category android:name="android.intent.category.DEFAULT"/> |
| 134 | <category android:name="android.intent.category.TAB"/> |
| 135 | </intent-filter> |
| 136 | |
| 137 | <intent-filter> |
| 138 | <action android:name="android.intent.action.SEARCH"/> |
| 139 | <category android:name="android.intent.category.DEFAULT"/> |
| 140 | <data android:mimeType="vnd.android.cursor.dir/contact"/> |
| 141 | </intent-filter> |
| 142 | |
| 143 | <intent-filter> |
| 144 | <action android:name="android.intent.action.SEARCH"/> |
| 145 | <category android:name="android.intent.category.DEFAULT"/> |
| 146 | </intent-filter> |
| 147 | |
| 148 | <intent-filter> |
| 149 | <action android:name="android.intent.action.VIEW"/> |
| 150 | <category android:name="android.intent.category.DEFAULT"/> |
| 151 | |
| 152 | <data android:mimeType="vnd.android.cursor.dir/person"/> |
| 153 | <data android:mimeType="vnd.android.cursor.dir/contact"/> |
| 154 | <data android:mimeType="vnd.android.cursor.item/group"/> |
| 155 | </intent-filter> |
| 156 | |
| 157 | <intent-filter> |
| 158 | <action android:name="android.intent.action.EDIT"/> |
| 159 | <category android:name="android.intent.category.DEFAULT"/> |
| 160 | <data android:mimeType="vnd.android.cursor.item/group"/> |
| 161 | </intent-filter> |
| 162 | |
| 163 | <intent-filter> |
| 164 | <action android:name="android.intent.action.INSERT"/> |
| 165 | <category android:name="android.intent.category.DEFAULT"/> |
| 166 | <data android:mimeType="vnd.android.cursor.dir/group"/> |
| 167 | </intent-filter> |
| 168 | |
| 169 | <meta-data |
| 170 | android:name="android.app.searchable" |
| 171 | android:resource="@xml/searchable" |
| 172 | /> |
| 173 | |
| 174 | <meta-data |
| 175 | android:name="android.app.shortcuts" |
| 176 | android:resource="@xml/shortcuts" |
| 177 | /> |
| 178 | |
| 179 | </activity> |
| 180 | |
| 181 | <activity |
| 182 | android:name=".activities.ContactSelectionActivity" |
| 183 | android:clearTaskOnLaunch="true" |
| 184 | android:launchMode="singleTop" |
| 185 | android:theme="@style/ContactPickerTheme" |
| 186 | android:uiOptions="splitActionBarWhenNarrow" |
Chad Brubaker | 49f2e91 | 2017-01-25 15:22:37 -0800 | [diff] [blame] | 187 | android:windowSoftInputMode="adjustResize" |
| 188 | android:visibleToInstantApps="true"> |
Gary Mai | 08d87ee | 2017-03-15 11:01:28 -0700 | [diff] [blame] | 189 | <meta-data android:name="android.app.shortcuts.new_config" |
| 190 | android:value="true" /> |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 191 | <intent-filter> |
| 192 | <action android:name="android.intent.action.INSERT_OR_EDIT"/> |
| 193 | <category android:name="android.intent.category.DEFAULT"/> |
| 194 | |
| 195 | <data android:mimeType="vnd.android.cursor.item/person"/> |
| 196 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 197 | <data android:mimeType="vnd.android.cursor.item/raw_contact"/> |
| 198 | </intent-filter> |
| 199 | |
| 200 | <intent-filter> |
| 201 | <action android:name="android.intent.action.PICK"/> |
| 202 | <category android:name="android.intent.category.DEFAULT"/> |
| 203 | |
| 204 | <data android:mimeType="vnd.android.cursor.dir/contact"/> |
| 205 | <data android:mimeType="vnd.android.cursor.dir/person"/> |
| 206 | <data android:mimeType="vnd.android.cursor.dir/phone_v2"/> |
| 207 | <data android:mimeType="vnd.android.cursor.dir/phone"/> |
| 208 | <data android:mimeType="vnd.android.cursor.dir/postal-address_v2"/> |
| 209 | <data android:mimeType="vnd.android.cursor.dir/postal-address"/> |
| 210 | <data android:mimeType="vnd.android.cursor.dir/email_v2"/> |
| 211 | <data android:mimeType="vnd.android.cursor.dir/group"/> |
| 212 | </intent-filter> |
| 213 | |
| 214 | <intent-filter> |
| 215 | <action android:name="android.intent.action.GET_CONTENT"/> |
| 216 | <category android:name="android.intent.category.DEFAULT"/> |
| 217 | |
| 218 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 219 | <data android:mimeType="vnd.android.cursor.item/person"/> |
| 220 | <data android:mimeType="vnd.android.cursor.item/phone_v2"/> |
| 221 | <data android:mimeType="vnd.android.cursor.item/phone"/> |
| 222 | <data android:mimeType="vnd.android.cursor.item/postal-address_v2"/> |
| 223 | <data android:mimeType="vnd.android.cursor.item/postal-address"/> |
| 224 | </intent-filter> |
| 225 | |
| 226 | <intent-filter> |
| 227 | <action android:name="com.android.contacts.action.JOIN_CONTACT"/> |
| 228 | <category android:name="android.intent.category.DEFAULT"/> |
| 229 | </intent-filter> |
| 230 | </activity> |
| 231 | |
| 232 | <!-- Backwards compatibility: somebody may have hard coded this activity name --> |
| 233 | <activity-alias |
| 234 | android:name="ContactsListActivity" |
| 235 | android:targetActivity=".activities.PeopleActivity" |
| 236 | /> |
| 237 | |
| 238 | <!-- Backwards compatibility: "Contacts" from Honeycomb --> |
| 239 | <activity-alias |
| 240 | android:name=".activities.ContactsFrontDoor" |
| 241 | android:exported="true" |
| 242 | android:targetActivity=".activities.PeopleActivity" |
| 243 | /> |
| 244 | |
| 245 | <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier --> |
| 246 | <activity-alias |
| 247 | android:name="DialtactsContactsEntryActivity" |
| 248 | android:exported="true" |
| 249 | android:targetActivity=".activities.PeopleActivity" |
| 250 | /> |
| 251 | |
| 252 | <!-- Used to set options --> |
| 253 | <activity |
| 254 | android:name=".preference.ContactsPreferenceActivity" |
| 255 | android:exported="false" |
| 256 | android:label="@string/activity_title_settings" |
| 257 | android:launchMode="singleTop" |
| 258 | android:theme="@style/ContactsPreferencesTheme"/> |
| 259 | |
| 260 | <activity |
| 261 | android:name=".activities.LicenseActivity" |
| 262 | android:exported="true" |
| 263 | android:label="@string/activity_title_licenses" |
| 264 | android:theme="@style/ContactsPreferencesTheme"/> |
| 265 | |
| 266 | <!-- Used to filter contacts list by account --> |
| 267 | <activity |
| 268 | android:name=".list.AccountFilterActivity" |
| 269 | android:label="@string/activity_title_contacts_filter" |
| 270 | android:theme="@style/ContactListFilterTheme"/> |
| 271 | |
| 272 | <!-- Used to select display and sync groups --> |
| 273 | <activity |
| 274 | android:name=".list.CustomContactListFilterActivity" |
| 275 | android:label="@string/custom_list_filter" |
| 276 | android:theme="@style/ContactListFilterTheme"/> |
| 277 | |
| 278 | <activity |
| 279 | android:name=".activities.RequestPermissionsActivity" |
| 280 | android:exported="false" |
| 281 | android:theme="@style/PeopleTheme"/> |
| 282 | |
| 283 | <activity |
| 284 | android:name=".activities.RequestDesiredPermissionsActivity" |
| 285 | android:exported="false" |
| 286 | android:theme="@style/PeopleTheme"/> |
| 287 | |
| 288 | <activity |
| 289 | android:name=".activities.RequestImportVCardPermissionsActivity" |
| 290 | android:exported="false" |
| 291 | android:theme="@style/PeopleTheme"/> |
| 292 | |
| 293 | <activity |
| 294 | android:name=".activities.ShowOrCreateActivity" |
| 295 | android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar"> |
| 296 | |
| 297 | <intent-filter> |
| 298 | <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT"/> |
| 299 | <category android:name="android.intent.category.DEFAULT"/> |
| 300 | |
| 301 | <data android:scheme="mailto"/> |
| 302 | <data android:scheme="tel"/> |
| 303 | </intent-filter> |
| 304 | </activity> |
| 305 | |
| 306 | <activity |
| 307 | android:name=".quickcontact.QuickContactActivity" |
| 308 | android:excludeFromRecents="true" |
| 309 | android:launchMode="singleTop" |
| 310 | android:taskAffinity="" |
| 311 | android:theme="@style/Theme.QuickContact" |
| 312 | android:windowSoftInputMode="stateUnchanged"> |
| 313 | |
| 314 | <intent-filter> |
| 315 | <action android:name="com.android.contacts.action.QUICK_CONTACT"/> |
| 316 | <action android:name="android.provider.action.QUICK_CONTACT"/> |
| 317 | |
| 318 | <category android:name="android.intent.category.DEFAULT"/> |
| 319 | |
| 320 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 321 | <data android:mimeType="vnd.android.cursor.item/person"/> |
| 322 | </intent-filter> |
| 323 | |
| 324 | <intent-filter> |
| 325 | <action android:name="android.intent.action.VIEW"/> |
| 326 | <category android:name="android.intent.category.DEFAULT"/> |
| 327 | |
| 328 | <data android:mimeType="vnd.android.cursor.item/person"/> |
| 329 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 330 | <data android:mimeType="vnd.android.cursor.item/raw_contact"/> |
| 331 | </intent-filter> |
| 332 | </activity> |
| 333 | |
| 334 | <receiver |
| 335 | android:name=".quickcontact.QuickContactBroadcastReceiver" |
| 336 | android:exported="false"/> |
| 337 | |
Wenyi Wang | 7ae9136 | 2017-03-06 16:31:12 -0800 | [diff] [blame] | 338 | <!-- Responsible for creating notification channels when boot is completed or when app is |
| 339 | re-installed --> |
| 340 | <receiver android:name=".interactions.OnBootOrUpgradeReceiver"> |
| 341 | <intent-filter> |
| 342 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 343 | <action android:name="android.intent.action.MY_PACKAGE_REPLACED" /> |
| 344 | </intent-filter> |
| 345 | </receiver> |
| 346 | |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 347 | <activity-alias |
| 348 | android:name="ContactShortcut" |
| 349 | android:icon="@drawable/logo_quick_contacts_color_44in48dp" |
| 350 | android:label="@string/shortcutContact" |
| 351 | android:targetActivity=".activities.ContactSelectionActivity"> |
| 352 | |
| 353 | <intent-filter> |
| 354 | <action android:name="android.intent.action.CREATE_SHORTCUT"/> |
| 355 | <category android:name="android.intent.category.DEFAULT"/> |
| 356 | </intent-filter> |
| 357 | |
| 358 | </activity-alias> |
| 359 | |
| 360 | <activity-alias |
| 361 | android:name="alias.DialShortcut" |
| 362 | android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp" |
| 363 | android:label="@string/shortcutDialContact" |
| 364 | android:targetActivity=".activities.ContactSelectionActivity"> |
| 365 | |
| 366 | <intent-filter> |
| 367 | <action android:name="android.intent.action.CREATE_SHORTCUT"/> |
| 368 | |
| 369 | <category android:name="android.intent.category.DEFAULT"/> |
| 370 | <category android:name="android.intent.category.CAR_MODE"/> |
| 371 | </intent-filter> |
| 372 | |
| 373 | </activity-alias> |
| 374 | |
| 375 | <activity-alias |
| 376 | android:name="alias.MessageShortcut" |
| 377 | android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp" |
| 378 | android:label="@string/shortcutMessageContact" |
| 379 | android:targetActivity=".activities.ContactSelectionActivity"> |
| 380 | |
| 381 | <intent-filter> |
| 382 | <action android:name="android.intent.action.CREATE_SHORTCUT"/> |
| 383 | <category android:name="android.intent.category.DEFAULT"/> |
| 384 | </intent-filter> |
| 385 | |
| 386 | </activity-alias> |
| 387 | |
| 388 | <!-- Accounts changed prompt that can appear when creating a new contact. --> |
| 389 | <activity |
| 390 | android:name=".activities.ContactEditorAccountsChangedActivity" |
| 391 | android:exported="false" |
| 392 | android:theme="@style/ContactEditorAccountsChangedActivityTheme" |
| 393 | android:windowSoftInputMode="adjustResize"/> |
| 394 | |
| 395 | <!-- Edit or create a contact with only the most important fields displayed initially. --> |
| 396 | <activity |
| 397 | android:name=".activities.ContactEditorActivity" |
Gary Mai | befbd85 | 2017-01-10 16:24:50 -0800 | [diff] [blame] | 398 | android:theme="@style/EditorActivityTheme"> |
John Shao | c9c2c45 | 2016-12-20 17:12:03 -0800 | [diff] [blame] | 399 | |
| 400 | <intent-filter> |
| 401 | <action android:name="android.intent.action.INSERT"/> |
| 402 | <category android:name="android.intent.category.DEFAULT"/> |
| 403 | |
| 404 | <data android:mimeType="vnd.android.cursor.dir/person"/> |
| 405 | <data android:mimeType="vnd.android.cursor.dir/contact"/> |
| 406 | <data android:mimeType="vnd.android.cursor.dir/raw_contact"/> |
| 407 | </intent-filter> |
| 408 | </activity> |
| 409 | |
| 410 | <!-- Keep support for apps that expect the Compact editor --> |
| 411 | <activity-alias |
| 412 | android:name="com.android.contacts.activities.CompactContactEditorActivity" |
| 413 | android:exported="true" |
| 414 | android:targetActivity=".activities.ContactEditorActivity"> |
| 415 | <intent-filter android:priority="-1"> |
| 416 | <action android:name="android.intent.action.INSERT"/> |
| 417 | <category android:name="android.intent.category.DEFAULT"/> |
| 418 | |
| 419 | <data android:mimeType="vnd.android.cursor.dir/person"/> |
| 420 | <data android:mimeType="vnd.android.cursor.dir/contact"/> |
| 421 | <data android:mimeType="vnd.android.cursor.dir/raw_contact"/> |
| 422 | </intent-filter> |
| 423 | </activity-alias> |
| 424 | |
| 425 | <activity |
| 426 | android:name=".activities.ContactEditorSpringBoardActivity" |
| 427 | android:theme="@style/TransparentThemeAppCompat"> |
| 428 | |
| 429 | <intent-filter> |
| 430 | <action android:name="android.intent.action.EDIT"/> |
| 431 | <category android:name="android.intent.category.DEFAULT"/> |
| 432 | |
| 433 | <data android:mimeType="vnd.android.cursor.item/person"/> |
| 434 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 435 | <data android:mimeType="vnd.android.cursor.item/raw_contact"/> |
| 436 | </intent-filter> |
| 437 | </activity> |
| 438 | |
| 439 | <activity android:name=".test.FragmentTestActivity"> |
| 440 | <intent-filter> |
| 441 | <category android:name="android.intent.category.TEST"/> |
| 442 | </intent-filter> |
| 443 | </activity> |
| 444 | |
| 445 | <!-- Stub service used to keep our process alive long enough for |
| 446 | background threads to finish their operations. --> |
| 447 | <service |
| 448 | android:name=".util.EmptyService" |
| 449 | android:exported="false"/> |
| 450 | |
| 451 | <!-- Service to save a contact --> |
| 452 | <service |
| 453 | android:name=".ContactSaveService" |
| 454 | android:exported="false"/> |
| 455 | |
| 456 | <!-- Service to import contacts from the SIM card --> |
| 457 | <service |
| 458 | android:name=".SimImportService" |
| 459 | android:exported="false"/> |
| 460 | |
| 461 | <!-- Attaches a photo to a contact. Started from external applications --> |
| 462 | <activity |
| 463 | android:name=".activities.AttachPhotoActivity" |
| 464 | android:label="@string/attach_photo_dialog_title" |
| 465 | android:taskAffinity=""> |
| 466 | <intent-filter> |
| 467 | <action android:name="android.intent.action.ATTACH_DATA"/> |
| 468 | <data android:mimeType="image/*"/> |
| 469 | <category android:name="android.intent.category.DEFAULT"/> |
| 470 | </intent-filter> |
| 471 | </activity> |
| 472 | |
| 473 | <!-- vCard related --> |
| 474 | <activity |
| 475 | android:name=".vcard.ImportVCardActivity" |
| 476 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 477 | android:theme="@style/BackgroundOnlyTheme"> |
| 478 | <intent-filter> |
| 479 | <action android:name="android.intent.action.VIEW"/> |
| 480 | |
| 481 | <data android:mimeType="text/directory"/> |
| 482 | <data android:mimeType="text/vcard"/> |
| 483 | <data android:mimeType="text/x-vcard"/> |
| 484 | |
| 485 | <category android:name="android.intent.category.DEFAULT"/> |
| 486 | </intent-filter> |
| 487 | </activity> |
| 488 | |
| 489 | <activity |
| 490 | android:name=".vcard.NfcImportVCardActivity" |
| 491 | android:configChanges="orientation|screenSize|keyboardHidden" |
| 492 | android:theme="@style/BackgroundOnlyTheme"> |
| 493 | <intent-filter> |
| 494 | <action android:name="android.nfc.action.NDEF_DISCOVERED"/> |
| 495 | |
| 496 | <data android:mimeType="text/vcard"/> |
| 497 | <data android:mimeType="text/x-vcard"/> |
| 498 | |
| 499 | <category android:name="android.intent.category.DEFAULT"/> |
| 500 | </intent-filter> |
| 501 | </activity> |
| 502 | |
| 503 | <activity |
| 504 | android:name=".vcard.CancelActivity" |
| 505 | android:theme="@style/BackgroundOnlyTheme"/> |
| 506 | |
| 507 | <activity |
| 508 | android:name=".vcard.SelectAccountActivity" |
| 509 | android:theme="@style/BackgroundOnlyTheme"/> |
| 510 | |
| 511 | <activity |
| 512 | android:name=".vcard.ExportVCardActivity" |
| 513 | android:theme="@style/BackgroundOnlyTheme"/> |
| 514 | |
| 515 | <activity |
| 516 | android:name=".vcard.ShareVCardActivity" |
| 517 | android:theme="@style/BackgroundOnlyTheme"/> |
| 518 | |
| 519 | <activity |
| 520 | android:name=".activities.SimImportActivity" |
| 521 | android:label="@string/sim_import_title" |
| 522 | android:theme="@style/PeopleThemeAppCompat.FullScreenDialog.SimImportActivity"/> |
| 523 | |
| 524 | |
| 525 | <service |
| 526 | android:name=".vcard.VCardService" |
| 527 | android:exported="false"/> |
| 528 | <!-- end vCard related --> |
| 529 | |
| 530 | <!-- Intercept Dialer Intents for devices without a phone. |
| 531 | This activity should have the same intent filters as the DialtactsActivity, |
| 532 | so that its capturing the same events. Omit android.intent.category.LAUNCHER, because |
| 533 | we don't want this to show up in the Launcher. The priorities of the intent-filters |
| 534 | are set lower, so that the user does not see a disambig dialog --> |
| 535 | <activity |
| 536 | android:name="com.android.contacts.NonPhoneActivity" |
| 537 | android:theme="@style/NonPhoneActivityTheme"> |
| 538 | <intent-filter android:priority="-1"> |
| 539 | <action android:name="android.intent.action.MAIN"/> |
| 540 | |
| 541 | <category android:name="android.intent.category.DEFAULT"/> |
| 542 | <category android:name="android.intent.category.BROWSABLE"/> |
| 543 | </intent-filter> |
| 544 | <intent-filter android:priority="-1"> |
| 545 | <action android:name="android.intent.action.VIEW"/> |
| 546 | |
| 547 | <category android:name="android.intent.category.DEFAULT"/> |
| 548 | <category android:name="android.intent.category.BROWSABLE"/> |
| 549 | |
| 550 | <data android:scheme="tel"/> |
| 551 | </intent-filter> |
| 552 | <intent-filter android:priority="-1"> |
| 553 | <action android:name="android.intent.action.VIEW"/> |
| 554 | |
| 555 | <category android:name="android.intent.category.DEFAULT"/> |
| 556 | <category android:name="android.intent.category.BROWSABLE"/> |
| 557 | |
| 558 | <data android:mimeType="vnd.android.cursor.dir/calls"/> |
| 559 | </intent-filter> |
| 560 | </activity> |
| 561 | |
| 562 | <activity |
| 563 | android:name="com.android.contacts.dialog.CallSubjectDialog" |
| 564 | android:theme="@style/Theme.CallSubjectDialogTheme" |
| 565 | android:windowSoftInputMode="stateVisible|adjustResize"> |
| 566 | <intent-filter> |
| 567 | <action android:name="android.intent.action.VIEW"/> |
| 568 | </intent-filter> |
| 569 | </activity> |
| 570 | |
| 571 | <!-- Service that is exclusively for the Phone application that sends out a view |
| 572 | notification. This service might be removed in future versions of the app. |
| 573 | |
| 574 | This is called explicitly by the phone app via package name and class. |
| 575 | (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone |
| 576 | needs to be changed as well. |
| 577 | --> |
| 578 | <service |
| 579 | android:name=".ViewNotificationService" |
| 580 | android:exported="true" |
| 581 | android:permission="android.permission.WRITE_CONTACTS"> |
| 582 | <intent-filter> |
| 583 | <action android:name="com.android.contacts.VIEW_NOTIFICATION"/> |
| 584 | <data android:mimeType="vnd.android.cursor.item/contact"/> |
| 585 | </intent-filter> |
| 586 | </service> |
| 587 | |
| 588 | <!-- Service used to run JobScheduler jobs --> |
| 589 | <service |
| 590 | android:name="com.android.contacts.ContactsJobService" |
| 591 | android:permission="android.permission.BIND_JOB_SERVICE"/> |
| 592 | |
| 593 | <provider |
| 594 | android:name="android.support.v4.content.FileProvider" |
| 595 | android:authorities="@string/contacts_file_provider_authority" |
| 596 | android:exported="false" |
| 597 | android:grantUriPermissions="true"> |
| 598 | <meta-data |
| 599 | android:name="android.support.FILE_PROVIDER_PATHS" |
| 600 | android:resource="@xml/file_paths"/> |
| 601 | </provider> |
| 602 | |
| 603 | <meta-data |
| 604 | android:name="android.nfc.disable_beam_default" |
| 605 | android:value="true"/> |
| 606 | |
| 607 | </application> |
The Android Open Source Project | 7aa0e4c | 2009-03-03 19:32:21 -0800 | [diff] [blame] | 608 | </manifest> |