blob: ff3346f072b65e2a829e4a1effb1954fd7d5e6c6 [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"
Jeff Sharkey26c7e732009-04-01 17:30:46 -070018 package="com.android.contacts"
Arthur Wang3e346e52016-09-22 14:55:21 -070019 android:versionCode="10603"
20 android:versionName="1.6.3">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070021
Walter Jangb69f4cc2016-07-15 16:35:50 -070022 <uses-sdk android:minSdkVersion="21" android:targetSdkVersion="25" />
Walter Jang30cd1892016-07-01 12:16:57 -070023
Jeff Hamiltone7883532010-02-11 16:25:48 -060024 <original-package android:name="com.android.contacts" />
25
John Shaob5f5e8b2016-09-26 11:19:55 -070026 <!-- Contacts permission listed first because order determines
27 order that permissions are requested with some OEMs -->
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080028 <uses-permission android:name="android.permission.READ_CONTACTS" />
29 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070030 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Tingting Wangc423ee62016-02-11 17:05:22 -080031 <uses-permission android:name="android.permission.GET_ACCOUNTS_PRIVILEGED" />
John Shaob5f5e8b2016-09-26 11:19:55 -070032 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Walter Jang90427ce2015-11-10 18:48:48 -080033 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
John Shaob5f5e8b2016-09-26 11:19:55 -070034 <uses-permission android:name="android.permission.CALL_PHONE" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070035 <uses-permission android:name="android.permission.READ_PROFILE" />
36 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080037 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020038 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080039 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090040 <uses-permission android:name="android.permission.WAKE_LOCK" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080041 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070042 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080043 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070044 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Walter Jang270b9ef2015-07-23 19:03:52 -070045 <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
Maurice Chu056a8462012-04-11 18:29:32 -070046 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070047 <!-- Following used for QuickContacts -->
48 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070049 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070050 <uses-permission android:name="android.permission.READ_CALENDAR" />
Brian Attwellbdd32642015-05-08 17:03:15 -070051 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
Tingting Wang1e7b4d12016-01-13 10:35:15 -080052 <!-- Following used for Contact metadata syncing -->
53 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080054
Walter Jang5de24572016-07-26 12:13:25 -070055 <uses-feature android:name="android.hardware.telephony" android:required="false"/>
Walter Jang0e723d92016-07-07 19:00:30 -070056
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080057 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080058 android:name="com.android.contacts.ContactsApplication"
Jay Shrauner39570862014-09-03 15:08:49 -070059 android:label="@string/applicationLabel"
Walter Jangf3118662016-07-28 19:10:55 -070060 android:icon="@mipmap/ic_contacts_launcher_square"
Walter Jang0aad5722016-07-13 11:54:16 -070061 android:roundIcon="@mipmap/ic_contacts_launcher"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080062 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070063 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080064 android:supportsRtl="true"
Alex Klyubin6746d252015-04-02 12:51:40 -070065 android:usesCleartextTraffic="false"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080066 >
67
Katherine Kuan9856fce2011-06-01 10:24:09 -070068 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
69 <activity android:name=".activities.PeopleActivity"
Wenyi Wang3c3b6f12016-04-02 13:58:43 -070070 android:theme="@style/PeopleActivityTheme"
Wenyi Wangdb4f11f2016-07-01 08:56:46 -070071 android:alwaysRetainTaskState="true"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080072 android:launchMode="singleTop"
Tingting Wang598ce092016-01-07 14:04:59 -080073 android:resizeableActivity="true"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080074 >
75 <intent-filter>
76 <action android:name="android.intent.action.MAIN" />
77 <category android:name="android.intent.category.DEFAULT" />
78 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070079 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080080 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080081 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080082 <intent-filter>
83 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
84 <category android:name="android.intent.category.DEFAULT" />
85 <category android:name="android.intent.category.TAB" />
86 </intent-filter>
87
88 <intent-filter>
89 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.TAB" />
92 </intent-filter>
93
94 <intent-filter>
95 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
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_WITH_PHONES" />
102 <category android:name="android.intent.category.DEFAULT" />
103 <category android:name="android.intent.category.TAB" />
104 </intent-filter>
105
John Shao365bd5d2016-08-16 17:34:39 -0700106 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800107 <action android:name="com.android.contacts.action.LIST_STARRED" />
108 <category android:name="android.intent.category.DEFAULT" />
109 <category android:name="android.intent.category.TAB" />
110 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700111
John Shao365bd5d2016-08-16 17:34:39 -0700112 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800113 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
114 <category android:name="android.intent.category.DEFAULT" />
115 <category android:name="android.intent.category.TAB" />
116 </intent-filter>
117
John Shao365bd5d2016-08-16 17:34:39 -0700118 <intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800119 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
120 <category android:name="android.intent.category.DEFAULT" />
121 <category android:name="android.intent.category.TAB" />
122 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700123
124 <intent-filter>
125 <action android:name="android.intent.action.SEARCH" />
126 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800127 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700128 </intent-filter>
129
130 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800131 <action android:name="android.intent.action.SEARCH" />
132 <category android:name="android.intent.category.DEFAULT" />
133 </intent-filter>
134
135 <intent-filter>
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700136 <action android:name="android.intent.action.VIEW" />
137 <category android:name="android.intent.category.DEFAULT" />
138 <data android:mimeType="vnd.android.cursor.dir/person" />
139 <data android:mimeType="vnd.android.cursor.dir/contact" />
140 </intent-filter>
141
Walter Jang1110d672016-07-25 17:55:12 +0000142 <intent-filter>
143 <action android:name="android.intent.action.INSERT" />
144 <category android:name="android.intent.category.DEFAULT" />
145 <data android:mimeType="vnd.android.cursor.dir/group" />
146 </intent-filter>
147
Mathew Inwood700d3692013-09-30 15:48:28 +0100148 <meta-data android:name="android.app.searchable"
149 android:resource="@xml/searchable"
150 />
Walter Jang5f996862016-07-13 11:16:25 -0700151
152 <meta-data android:name="android.app.shortcuts"
153 android:resource="@xml/shortcuts"
154 />
155
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700156 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700157
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700158 <activity android:name=".activities.ContactSelectionActivity"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700159 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800160 android:launchMode="singleTop"
161 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700162 android:uiOptions="splitActionBarWhenNarrow"
163 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800164 <intent-filter>
165 <action android:name="android.intent.action.INSERT_OR_EDIT" />
166 <category android:name="android.intent.category.DEFAULT" />
167 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700168 <data android:mimeType="vnd.android.cursor.item/contact" />
169 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800170 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700171
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800172 <intent-filter>
173 <action android:name="android.intent.action.PICK" />
174 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800175 <data android:mimeType="vnd.android.cursor.dir/contact" />
176 <data android:mimeType="vnd.android.cursor.dir/person" />
177 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
178 <data android:mimeType="vnd.android.cursor.dir/phone" />
179 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
180 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700181 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
Walter Jang1110d672016-07-25 17:55:12 +0000182 <data android:mimeType="vnd.android.cursor.dir/group"/>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800183 </intent-filter>
184
185 <intent-filter>
186 <action android:name="android.intent.action.GET_CONTENT" />
187 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800188 <data android:mimeType="vnd.android.cursor.item/contact" />
189 <data android:mimeType="vnd.android.cursor.item/person" />
190 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
191 <data android:mimeType="vnd.android.cursor.item/phone" />
192 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
193 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800194 </intent-filter>
Brian Attwell81cc3b32014-07-22 16:04:52 -0700195
196 <intent-filter>
197 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700200 </activity>
201
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700202 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
203 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700204 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700205 />
206
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700207 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
208 <activity-alias android:name=".activities.ContactsFrontDoor"
209 android:targetActivity=".activities.PeopleActivity"
210 android:exported="true"
211 />
212
213 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
214 <activity-alias android:name="DialtactsContactsEntryActivity"
215 android:targetActivity=".activities.PeopleActivity"
216 android:exported="true"
217 />
218
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700219 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700220 <activity
Wenyi Wang86f2a862015-12-30 16:54:51 -0800221 android:name=".common.preference.ContactsPreferenceActivity"
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700222 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700223 android:theme="@style/ContactsPreferencesTheme"
Wenyi Wangbad5dab2016-05-27 15:22:49 -0700224 android:launchMode="singleTop"
Yorke Lee676c4632013-09-06 16:16:10 -0700225 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700226
Tingting Wang96101f62015-11-05 15:15:08 -0800227 <activity android:name=".common.activity.LicenseActivity"
228 android:label="@string/activity_title_licenses"
229 android:theme="@style/ContactsPreferencesTheme"
230 android:exported="false" />
231
Walter Jang92942632016-07-14 19:49:32 +0000232 <!-- Used to filter contacts list by account -->
233 <activity
234 android:name=".common.list.AccountFilterActivity"
235 android:label="@string/activity_title_contacts_filter"
236 android:theme="@style/ContactListFilterTheme" />
237
238 <!-- Used to select display and sync groups -->
239 <activity
240 android:name=".common.list.CustomContactListFilterActivity"
241 android:label="@string/custom_list_filter"
242 android:theme="@style/ContactListFilterTheme" />
243
Jeff Sharkey802b2052009-08-04 14:21:06 -0700244 <activity
Brian Attwellbdd32642015-05-08 17:03:15 -0700245 android:name=".common.activity.RequestPermissionsActivity"
Brian Attwellbdd32642015-05-08 17:03:15 -0700246 android:theme="@style/PeopleTheme"
247 android:exported="false"/>
248
249 <activity
Walter Jangf6236372016-02-22 21:24:22 +0000250 android:name=".common.activity.RequestDesiredPermissionsActivity"
Walter Jangf6236372016-02-22 21:24:22 +0000251 android:theme="@style/PeopleTheme"
252 android:exported="false"/>
253
254 <activity
Brian Attwell0f4582f2015-05-11 17:19:16 -0700255 android:name=".common.activity.RequestImportVCardPermissionsActivity"
Brian Attwell0f4582f2015-05-11 17:19:16 -0700256 android:theme="@style/PeopleTheme"
257 android:exported="false"/>
258
259 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700260 android:name=".activities.ShowOrCreateActivity"
Brian Attwell53e42012014-10-22 11:15:14 -0700261 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700262
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700263 <intent-filter>
264 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700265 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700266 <data android:scheme="mailto" />
267 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700268 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700269 </activity>
270
Walter Jang36a963a2016-04-13 12:59:11 -0700271 <!-- Displays the members of a group in a list -->
272 <activity android:name=".activities.GroupMembersActivity"
Wenyi Wang4d0f4522016-09-01 17:51:32 -0700273 android:theme="@style/GroupActivityTheme">
Walter Jang1110d672016-07-25 17:55:12 +0000274
275 <intent-filter>
276 <action android:name="android.intent.action.VIEW" />
277 <category android:name="android.intent.category.DEFAULT" />
278 <data android:mimeType="vnd.android.cursor.item/group" />
279 </intent-filter>
280
281 <intent-filter>
282 <action android:name="android.intent.action.EDIT" />
283 <category android:name="android.intent.category.DEFAULT" />
284 <data android:mimeType="vnd.android.cursor.item/group" />
285 </intent-filter>
286 </activity>
Walter Jang36a963a2016-04-13 12:59:11 -0700287
Jeff Sharkeye8971622009-09-17 15:42:36 -0700288 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700289 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700290 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700291 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700292 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700293 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700294 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700295
296 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700297 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
Yorke Lee9d2b6d52014-09-04 14:58:56 -0700298 <action android:name="android.provider.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700299 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800300 <data android:mimeType="vnd.android.cursor.item/contact" />
301 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700302 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700303
Brian Attwellf0a2a8b2015-01-14 09:49:18 -0800304 <intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700305 <action android:name="android.intent.action.VIEW" />
306 <category android:name="android.intent.category.DEFAULT" />
307 <data android:mimeType="vnd.android.cursor.item/person" />
308 <data android:mimeType="vnd.android.cursor.item/contact" />
309 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
310 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800311 </activity>
312
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700313 <receiver
314 android:name=".quickcontact.QuickContactBroadcastReceiver"
315 android:exported="false" />
316
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800317 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700318 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700319 android:label="@string/shortcutContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700320 android:icon="@drawable/logo_quick_contacts_color_44in48dp">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800321
322 <intent-filter>
323 <action android:name="android.intent.action.CREATE_SHORTCUT" />
324 <category android:name="android.intent.category.DEFAULT" />
325 </intent-filter>
326
327 </activity-alias>
328
Dianne Hackborn333a6152009-05-26 12:46:23 -0700329 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700330 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700331 android:label="@string/shortcutDialContact"
Jay Shraunerf81b8102015-11-17 14:42:25 -0800332 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700333
334 <intent-filter>
335 <action android:name="android.intent.action.CREATE_SHORTCUT" />
336 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200337 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700338 </intent-filter>
339
340 </activity-alias>
341
342 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700343 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700344 android:label="@string/shortcutMessageContact"
Jay Shraunerf81b8102015-11-17 14:42:25 -0800345 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700346
347 <intent-filter>
348 <action android:name="android.intent.action.CREATE_SHORTCUT" />
349 <category android:name="android.intent.category.DEFAULT" />
350 </intent-filter>
351
352 </activity-alias>
353
Katherine Kuan0353a242011-09-23 10:38:28 -0700354 <!-- Accounts changed prompt that can appear when creating a new contact. -->
355 <activity
356 android:name=".activities.ContactEditorAccountsChangedActivity"
357 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
358 android:windowSoftInputMode="adjustResize"
359 android:exported="false"/>
360
Brian Attwellbdd32642015-05-08 17:03:15 -0700361 <!-- Edit or create a contact with only the most important fields displayed initially. -->
362 <activity
363 android:name=".activities.CompactContactEditorActivity"
Brian Attwellbdd32642015-05-08 17:03:15 -0700364 android:theme="@style/EditorActivityTheme"
Walter Jang3bb7a0f2015-05-21 12:06:23 -0700365 android:windowSoftInputMode="stateHidden|adjustResize">
Brian Attwellbdd32642015-05-08 17:03:15 -0700366
John Shao365bd5d2016-08-16 17:34:39 -0700367 <intent-filter>
Brian Attwellbdd32642015-05-08 17:03:15 -0700368 <action android:name="android.intent.action.EDIT" />
369 <category android:name="android.intent.category.DEFAULT" />
370 <data android:mimeType="vnd.android.cursor.item/person" />
371 <data android:mimeType="vnd.android.cursor.item/contact" />
372 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
373 </intent-filter>
John Shao365bd5d2016-08-16 17:34:39 -0700374 <intent-filter>
Brian Attwellbdd32642015-05-08 17:03:15 -0700375 <action android:name="android.intent.action.INSERT" />
376 <category android:name="android.intent.category.DEFAULT" />
377 <data android:mimeType="vnd.android.cursor.dir/person" />
378 <data android:mimeType="vnd.android.cursor.dir/contact" />
379 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
380 </intent-filter>
381 </activity>
382
Walter Jangef711f72015-06-16 14:26:09 -0700383 <!-- Edit or create a contact with all fields displayed. -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700384 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700385 android:name=".activities.ContactEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700386 android:theme="@style/EditorActivityTheme"
Walter Jangef711f72015-06-16 14:26:09 -0700387 android:windowSoftInputMode="stateHidden|adjustResize"
388 android:exported="false">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700389
John Shao365bd5d2016-08-16 17:34:39 -0700390 <intent-filter>
Walter Jangef711f72015-06-16 14:26:09 -0700391 <action android:name="com.android.contacts.action.FULL_EDIT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800392 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800393 <data android:mimeType="vnd.android.cursor.item/person" />
394 <data android:mimeType="vnd.android.cursor.item/contact" />
395 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800396 </intent-filter>
John Shao365bd5d2016-08-16 17:34:39 -0700397 <intent-filter>
Walter Jangef711f72015-06-16 14:26:09 -0700398 <action android:name="com.android.contacts.action.FULL_INSERT" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800399 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700400 <data android:mimeType="vnd.android.cursor.dir/person" />
401 <data android:mimeType="vnd.android.cursor.dir/contact" />
402 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800403 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700404 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700405
Chiao Chenga2180f32012-08-17 16:23:35 -0700406 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800407 <intent-filter>
408 <category android:name="android.intent.category.TEST" />
409 </intent-filter>
410 </activity>
411
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700412 <!-- Stub service used to keep our process alive long enough for
413 background threads to finish their operations. -->
414 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800415 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700416 android:exported="false" />
417
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700418 <!-- Service to save a contact -->
419 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800420 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700421 android:exported="false" />
422
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800423 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800424 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800425 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800426 android:taskAffinity="">
427 <intent-filter>
428 <action android:name="android.intent.action.ATTACH_DATA" />
429 <data android:mimeType="image/*" />
430 <category android:name="android.intent.category.DEFAULT" />
431 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700432 </activity>
433
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700434 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800435 <activity android:name=".common.vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700436 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700437 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900438 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800439 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700440 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900441 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800442 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500443 <category android:name="android.intent.category.DEFAULT" />
444 </intent-filter>
445 </activity>
446
Chiao Chenge98d54e2012-12-03 17:17:42 -0800447 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500448 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700449 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500450 <intent-filter>
451 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
452 <data android:mimeType="text/vcard" />
453 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800454 <category android:name="android.intent.category.DEFAULT" />
455 </intent-filter>
456 </activity>
457
Chiao Chenge98d54e2012-12-03 17:17:42 -0800458 <activity android:name=".common.vcard.CancelActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700459 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700460
Chiao Chenge98d54e2012-12-03 17:17:42 -0800461 <activity android:name=".common.vcard.SelectAccountActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700462 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900463
Chiao Chenge98d54e2012-12-03 17:17:42 -0800464 <activity android:name=".common.vcard.ExportVCardActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700465 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700466
Wenyi Wangddaec8d2016-02-08 16:48:09 -0800467 <activity android:name=".common.vcard.ShareVCardActivity"
Wenyi Wangddaec8d2016-02-08 16:48:09 -0800468 android:theme="@style/BackgroundOnlyTheme" />
469
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700470 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800471 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700472 android:exported="false" />
Jay Shrauner39570862014-09-03 15:08:49 -0700473 <!-- end vCard related -->
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700474
Chiao Cheng3483b812012-10-23 16:26:40 -0700475 <!-- Intercept Dialer Intents for devices without a phone.
476 This activity should have the same intent filters as the DialtactsActivity,
477 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
478 we don't want this to show up in the Launcher. The priorities of the intent-filters
479 are set lower, so that the user does not see a disambig dialog -->
480 <activity
481 android:name="com.android.contacts.NonPhoneActivity"
John Shao365bd5d2016-08-16 17:34:39 -0700482 android:theme="@style/NonPhoneActivityTheme">
Chiao Cheng3483b812012-10-23 16:26:40 -0700483 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700484 <action android:name="android.intent.action.MAIN"/>
485 <category android:name="android.intent.category.DEFAULT"/>
486 <category android:name="android.intent.category.BROWSABLE"/>
487 </intent-filter>
488 <intent-filter android:priority="-1">
489 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700490 <category android:name="android.intent.category.DEFAULT"/>
491 <category android:name="android.intent.category.BROWSABLE"/>
492 <data android:scheme="tel"/>
493 </intent-filter>
494 <intent-filter android:priority="-1">
495 <action android:name="android.intent.action.VIEW"/>
496 <category android:name="android.intent.category.DEFAULT"/>
497 <category android:name="android.intent.category.BROWSABLE"/>
498 <data android:mimeType="vnd.android.cursor.dir/calls"/>
499 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700500 </activity>
501
Tyler Gunn71d1a962015-08-10 10:02:59 -0700502 <activity android:name="com.android.contacts.common.dialog.CallSubjectDialog"
503 android:theme="@style/Theme.CallSubjectDialogTheme"
504 android:windowSoftInputMode="stateVisible|adjustResize">
Tyler Gunn5f87e922015-08-05 14:24:52 -0700505 <intent-filter>
506 <action android:name="android.intent.action.VIEW"/>
507 </intent-filter>
508 </activity>
509
Chiao Cheng3483b812012-10-23 16:26:40 -0700510 <!-- Service that is exclusively for the Phone application that sends out a view
511 notification. This service might be removed in future versions of the app.
512
513 This is called explicitly by the phone app via package name and class.
514 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
515 needs to be changed as well.
516 -->
517 <service android:name=".ViewNotificationService"
518 android:permission="android.permission.WRITE_CONTACTS"
519 android:exported="true">
520 <intent-filter>
521 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
522 <data android:mimeType="vnd.android.cursor.item/contact"/>
523 </intent-filter>
524 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700525
Marcus Hagerottc5083f92016-09-14 08:34:29 -0700526 <!-- Service used to run JobScheduler jobs -->
527 <service android:name="com.android.contacts.ContactsJobService"
528 android:permission="android.permission.BIND_JOB_SERVICE" />
529
Yorke Lee637a38e2013-09-14 08:36:33 -0700530 <provider
531 android:name="android.support.v4.content.FileProvider"
Wenyi Wangddaec8d2016-02-08 16:48:09 -0800532 android:authorities="@string/contacts_file_provider_authority"
Yorke Lee637a38e2013-09-14 08:36:33 -0700533 android:grantUriPermissions="true"
534 android:exported="false">
535 <meta-data
536 android:name="android.support.FILE_PROVIDER_PATHS"
537 android:resource="@xml/file_paths" />
538 </provider>
539
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700540 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
Xi Chen378461e2016-06-10 16:49:58 -0700541
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800542 </application>
543</manifest>