blob: 536d543bf5df1aa3ffb802d3b4ff31c95803344d [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"
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070019 android:sharedUserId="android.uid.shared">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070020
Jeff Hamiltone7883532010-02-11 16:25:48 -060021 <original-package android:name="com.android.contacts" />
22
Brian Attwellbdd32642015-05-08 17:03:15 -070023 <!-- Whenever a permission is added here, it should also be added to
24 RequestPermissionsActivity so it can be requested at runtime. -->
Jay Shrauner41f45c72014-07-14 12:08:42 -070025 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080026 <uses-permission android:name="android.permission.READ_CONTACTS" />
27 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Katherine Kuanaaa2ad52011-09-02 13:36:52 -070028 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070029 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
30 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
31 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070032 <uses-permission android:name="android.permission.READ_PROFILE" />
33 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080034 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020035 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080036 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090037 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070038 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080039 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070040 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080041 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070042 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Maurice Chu056a8462012-04-11 18:29:32 -070043 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070044 <!-- Following used for QuickContacts -->
45 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070046 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070047 <uses-permission android:name="android.permission.READ_CALENDAR" />
Brian Attwellbdd32642015-05-08 17:03:15 -070048 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080049
50 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080051 android:name="com.android.contacts.ContactsApplication"
Jay Shrauner39570862014-09-03 15:08:49 -070052 android:label="@string/applicationLabel"
Paul Soulos44bfcba2014-08-18 11:20:43 -070053 android:icon="@mipmap/ic_contacts_clr_48cv_44dp"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080054 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070055 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080056 android:supportsRtl="true"
Alex Klyubin6746d252015-04-02 12:51:40 -070057 android:usesCleartextTraffic="false"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080058 >
59
Katherine Kuan9856fce2011-06-01 10:24:09 -070060 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
61 <activity android:name=".activities.PeopleActivity"
Jay Shrauner39570862014-09-03 15:08:49 -070062 android:label="@string/launcherActivityLabel"
Katherine Kuan9856fce2011-06-01 10:24:09 -070063 android:theme="@style/PeopleTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080064 android:clearTaskOnLaunch="true"
65 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080066 >
67 <intent-filter>
68 <action android:name="android.intent.action.MAIN" />
69 <category android:name="android.intent.category.DEFAULT" />
70 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070071 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080072 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080073 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080074 <intent-filter>
75 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.TAB" />
78 </intent-filter>
79
80 <intent-filter>
81 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
82 <category android:name="android.intent.category.DEFAULT" />
83 <category android:name="android.intent.category.TAB" />
84 </intent-filter>
85
86 <intent-filter>
87 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.TAB" />
90 </intent-filter>
91
92 <intent-filter>
93 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <category android:name="android.intent.category.TAB" />
96 </intent-filter>
97
98 <intent-filter android:label="@string/starredList">
99 <action android:name="com.android.contacts.action.LIST_STARRED" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.TAB" />
102 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700103
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800104 <intent-filter android:label="@string/frequentList">
105 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.TAB" />
108 </intent-filter>
109
110 <intent-filter android:label="@string/strequentList">
111 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.TAB" />
114 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700115
116 <intent-filter>
117 <action android:name="android.intent.action.SEARCH" />
118 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800119 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700120 </intent-filter>
121
122 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800123 <action android:name="android.intent.action.SEARCH" />
124 <category android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
126
127 <intent-filter>
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700128 <action android:name="android.intent.action.VIEW" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <data android:mimeType="vnd.android.cursor.dir/person" />
131 <data android:mimeType="vnd.android.cursor.dir/contact" />
132 </intent-filter>
133
Mathew Inwood700d3692013-09-30 15:48:28 +0100134 <meta-data android:name="android.app.searchable"
135 android:resource="@xml/searchable"
136 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700137 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700138
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700139 <activity android:name=".activities.ContactSelectionActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700140 android:label="@string/launcherActivityLabel"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700141 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800142 android:launchMode="singleTop"
143 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700144 android:uiOptions="splitActionBarWhenNarrow"
145 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800146 <intent-filter>
147 <action android:name="android.intent.action.INSERT_OR_EDIT" />
148 <category android:name="android.intent.category.DEFAULT" />
149 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700150 <data android:mimeType="vnd.android.cursor.item/contact" />
151 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800152 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700153
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800154 <intent-filter>
155 <action android:name="android.intent.action.PICK" />
156 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800157 <data android:mimeType="vnd.android.cursor.dir/contact" />
158 <data android:mimeType="vnd.android.cursor.dir/person" />
159 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
160 <data android:mimeType="vnd.android.cursor.dir/phone" />
161 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
162 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700163 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800164 </intent-filter>
165
166 <intent-filter>
167 <action android:name="android.intent.action.GET_CONTENT" />
168 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800169 <data android:mimeType="vnd.android.cursor.item/contact" />
170 <data android:mimeType="vnd.android.cursor.item/person" />
171 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
172 <data android:mimeType="vnd.android.cursor.item/phone" />
173 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
174 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800175 </intent-filter>
Brian Attwell81cc3b32014-07-22 16:04:52 -0700176
177 <intent-filter>
178 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
179 <category android:name="android.intent.category.DEFAULT" />
180 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700181 </activity>
182
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700183 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
184 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700185 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700186 />
187
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700188 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
189 <activity-alias android:name=".activities.ContactsFrontDoor"
190 android:targetActivity=".activities.PeopleActivity"
191 android:exported="true"
192 />
193
194 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
195 <activity-alias android:name="DialtactsContactsEntryActivity"
196 android:targetActivity=".activities.PeopleActivity"
197 android:exported="true"
198 />
199
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700200 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700201 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700202 android:name=".preference.ContactsPreferenceActivity"
203 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700204 android:theme="@style/ContactsPreferencesTheme"
205 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700206
Katherine Kuan495db432011-07-06 18:58:46 -0700207 <!-- Used to filter contacts list by account -->
208 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800209 android:name=".common.list.AccountFilterActivity"
Katherine Kuan495db432011-07-06 18:58:46 -0700210 android:label="@string/activity_title_contacts_filter"
211 android:theme="@style/ContactListFilterTheme" />
212
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700213 <!-- Used to select display and sync groups -->
214 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800215 android:name=".common.list.CustomContactListFilterActivity"
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700216 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700217 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700218
Jeff Sharkey802b2052009-08-04 14:21:06 -0700219 <activity
Brian Attwellbdd32642015-05-08 17:03:15 -0700220 android:name=".common.activity.RequestPermissionsActivity"
221 android:label="@string/launcherActivityLabel"
222 android:theme="@style/PeopleTheme"
223 android:exported="false"/>
224
225 <activity
Brian Attwell0f4582f2015-05-11 17:19:16 -0700226 android:name=".common.activity.RequestImportVCardPermissionsActivity"
227 android:label="@string/launcherActivityLabel"
228 android:theme="@style/PeopleTheme"
229 android:exported="false"/>
230
231 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700232 android:name=".activities.ShowOrCreateActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700233 android:label="@string/launcherActivityLabel"
Brian Attwell53e42012014-10-22 11:15:14 -0700234 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700235
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700236 <intent-filter>
237 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700238 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700239 <data android:scheme="mailto" />
240 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700241 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700242 </activity>
243
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700244 <!-- Views the details of a single group -->
245 <activity android:name=".activities.GroupDetailActivity"
246 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700247 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700248
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700249 <!-- Create a new or edit an existing group -->
250 <activity
251 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700252 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700253 android:windowSoftInputMode="adjustResize" />
254
Jeff Sharkeye8971622009-09-17 15:42:36 -0700255 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700256 android:name=".quickcontact.QuickContactActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700257 android:label="@string/launcherActivityLabel"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700258 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700259 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700260 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700261 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700262 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700263
264 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700265 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
Yorke Lee9d2b6d52014-09-04 14:58:56 -0700266 <action android:name="android.provider.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700267 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800268 <data android:mimeType="vnd.android.cursor.item/contact" />
269 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700270 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700271
Brian Attwellf0a2a8b2015-01-14 09:49:18 -0800272 <intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700273 <action android:name="android.intent.action.VIEW" />
274 <category android:name="android.intent.category.DEFAULT" />
275 <data android:mimeType="vnd.android.cursor.item/person" />
276 <data android:mimeType="vnd.android.cursor.item/contact" />
277 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
278 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800279 </activity>
280
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700281 <receiver
282 android:name=".quickcontact.QuickContactBroadcastReceiver"
283 android:exported="false" />
284
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800285 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700286 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700287 android:label="@string/shortcutContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700288 android:icon="@drawable/logo_quick_contacts_color_44in48dp">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800289
290 <intent-filter>
291 <action android:name="android.intent.action.CREATE_SHORTCUT" />
292 <category android:name="android.intent.category.DEFAULT" />
293 </intent-filter>
294
295 </activity-alias>
296
Dianne Hackborn333a6152009-05-26 12:46:23 -0700297 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700298 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700299 android:label="@string/shortcutDialContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700300 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700301 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700302
303 <intent-filter>
304 <action android:name="android.intent.action.CREATE_SHORTCUT" />
305 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200306 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700307 </intent-filter>
308
309 </activity-alias>
310
311 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700312 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700313 android:label="@string/shortcutMessageContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700314 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700315 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700316
317 <intent-filter>
318 <action android:name="android.intent.action.CREATE_SHORTCUT" />
319 <category android:name="android.intent.category.DEFAULT" />
320 </intent-filter>
321
322 </activity-alias>
323
Katherine Kuan37bddc22011-07-09 17:36:26 -0700324 <!-- Confirm that a single detail will be added to an existing contact -->
325 <activity
326 android:name=".activities.ConfirmAddDetailActivity"
327 android:label="@string/activity_title_confirm_add_detail"
328 android:theme="@style/ConfirmAddDetailDialogTheme"
329 android:windowSoftInputMode="adjustResize"
330 android:exported="false"/>
331
Katherine Kuan0353a242011-09-23 10:38:28 -0700332 <!-- Accounts changed prompt that can appear when creating a new contact. -->
333 <activity
334 android:name=".activities.ContactEditorAccountsChangedActivity"
335 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
336 android:windowSoftInputMode="adjustResize"
337 android:exported="false"/>
338
Brian Attwellbdd32642015-05-08 17:03:15 -0700339 <!-- Edit or create a contact with only the most important fields displayed initially. -->
340 <activity
341 android:name=".activities.CompactContactEditorActivity"
342 android:label="@string/launcherActivityLabel"
343 android:theme="@style/EditorActivityTheme"
344 android:windowSoftInputMode="stateHidden|adjustPan">
345
346 <intent-filter android:label="@string/editContactDescription">
347 <action android:name="android.intent.action.EDIT" />
348 <category android:name="android.intent.category.DEFAULT" />
349 <data android:mimeType="vnd.android.cursor.item/person" />
350 <data android:mimeType="vnd.android.cursor.item/contact" />
351 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
352 </intent-filter>
353 <intent-filter android:label="@string/insertContactDescription">
354 <action android:name="android.intent.action.INSERT" />
355 <category android:name="android.intent.category.DEFAULT" />
356 <data android:mimeType="vnd.android.cursor.dir/person" />
357 <data android:mimeType="vnd.android.cursor.dir/contact" />
358 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
359 </intent-filter>
360 </activity>
361
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700362 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700363 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700364 android:name=".activities.ContactEditorActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700365 android:label="@string/launcherActivityLabel"
Katherine Kuanfd709032011-08-02 14:18:16 -0700366 android:theme="@style/EditorActivityTheme"
Brian Attwellc5841bc2014-06-25 15:59:15 -0700367 android:windowSoftInputMode="stateHidden|adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700368
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800369 <intent-filter android:label="@string/editContactDescription">
370 <action android:name="android.intent.action.EDIT" />
371 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800372 <data android:mimeType="vnd.android.cursor.item/person" />
373 <data android:mimeType="vnd.android.cursor.item/contact" />
374 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800375 </intent-filter>
376 <intent-filter android:label="@string/insertContactDescription">
377 <action android:name="android.intent.action.INSERT" />
378 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700379 <data android:mimeType="vnd.android.cursor.dir/person" />
380 <data android:mimeType="vnd.android.cursor.dir/contact" />
381 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800382 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700383 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700384
Chiao Chenga2180f32012-08-17 16:23:35 -0700385 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800386 <intent-filter>
387 <category android:name="android.intent.category.TEST" />
388 </intent-filter>
389 </activity>
390
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700391 <!-- Stub service used to keep our process alive long enough for
392 background threads to finish their operations. -->
393 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800394 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700395 android:exported="false" />
396
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700397 <!-- Service to save a contact -->
398 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800399 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700400 android:exported="false" />
401
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800402 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800403 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800404 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800405 android:taskAffinity="">
406 <intent-filter>
407 <action android:name="android.intent.action.ATTACH_DATA" />
408 <data android:mimeType="image/*" />
409 <category android:name="android.intent.category.DEFAULT" />
410 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700411 </activity>
412
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700413 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800414 <activity android:name=".common.vcard.ImportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700415 android:label="@string/launcherActivityLabel"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700416 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700417 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900418 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800419 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700420 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900421 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800422 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500423 <category android:name="android.intent.category.DEFAULT" />
424 </intent-filter>
425 </activity>
426
Chiao Chenge98d54e2012-12-03 17:17:42 -0800427 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700428 android:label="@string/launcherActivityLabel"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500429 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700430 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500431 <intent-filter>
432 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
433 <data android:mimeType="text/vcard" />
434 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800435 <category android:name="android.intent.category.DEFAULT" />
436 </intent-filter>
437 </activity>
438
Chiao Chenge98d54e2012-12-03 17:17:42 -0800439 <activity android:name=".common.vcard.CancelActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700440 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700441 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700442
Chiao Chenge98d54e2012-12-03 17:17:42 -0800443 <activity android:name=".common.vcard.SelectAccountActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700444 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700445 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900446
Chiao Chenge98d54e2012-12-03 17:17:42 -0800447 <activity android:name=".common.vcard.ExportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700448 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700449 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700450
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700451 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800452 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700453 android:exported="false" />
Jay Shrauner39570862014-09-03 15:08:49 -0700454 <!-- end vCard related -->
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700455
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700456 <!-- Pinned header list demo -->
457 <activity android:name=".widget.PinnedHeaderListDemoActivity">
458 <intent-filter>
459 <action android:name="android.intent.action.MAIN" />
460 <category android:name="android.intent.category.DEFAULT" />
461 </intent-filter>
462 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700463
Chiao Cheng3483b812012-10-23 16:26:40 -0700464 <!-- Intercept Dialer Intents for devices without a phone.
465 This activity should have the same intent filters as the DialtactsActivity,
466 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
467 we don't want this to show up in the Launcher. The priorities of the intent-filters
468 are set lower, so that the user does not see a disambig dialog -->
469 <activity
470 android:name="com.android.contacts.NonPhoneActivity"
471 android:theme="@style/NonPhoneActivityTheme"
Jay Shrauner39570862014-09-03 15:08:49 -0700472 android:label="@string/launcherActivityLabel"
Chiao Cheng3483b812012-10-23 16:26:40 -0700473 >
474 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700475 <action android:name="android.intent.action.MAIN"/>
476 <category android:name="android.intent.category.DEFAULT"/>
477 <category android:name="android.intent.category.BROWSABLE"/>
478 </intent-filter>
479 <intent-filter android:priority="-1">
480 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700481 <category android:name="android.intent.category.DEFAULT"/>
482 <category android:name="android.intent.category.BROWSABLE"/>
483 <data android:scheme="tel"/>
484 </intent-filter>
485 <intent-filter android:priority="-1">
486 <action android:name="android.intent.action.VIEW"/>
487 <category android:name="android.intent.category.DEFAULT"/>
488 <category android:name="android.intent.category.BROWSABLE"/>
489 <data android:mimeType="vnd.android.cursor.dir/calls"/>
490 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700491 </activity>
492
493 <!-- Service that is exclusively for the Phone application that sends out a view
494 notification. This service might be removed in future versions of the app.
495
496 This is called explicitly by the phone app via package name and class.
497 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
498 needs to be changed as well.
499 -->
500 <service android:name=".ViewNotificationService"
501 android:permission="android.permission.WRITE_CONTACTS"
502 android:exported="true">
503 <intent-filter>
504 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
505 <data android:mimeType="vnd.android.cursor.item/contact"/>
506 </intent-filter>
507 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700508
Yorke Leeff4b8262014-06-13 15:29:13 -0700509 <!-- Broadcast receiver that passively listens to location updates -->
510 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
511
512 <!-- IntentService to update the user's current country -->
513 <service android:name="com.android.contacts.common.location.UpdateCountryService"
514 android:exported="false"/>
515
Yorke Lee637a38e2013-09-14 08:36:33 -0700516 <provider
517 android:name="android.support.v4.content.FileProvider"
518 android:authorities="com.android.contacts.files"
519 android:grantUriPermissions="true"
520 android:exported="false">
521 <meta-data
522 android:name="android.support.FILE_PROVIDER_PATHS"
523 android:resource="@xml/file_paths" />
524 </provider>
525
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700526 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800527 </application>
528</manifest>