blob: 69d211ee17aa0a0cdf9b99fb4d2f7b5f0cc81373 [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
Jay Shrauner41f45c72014-07-14 12:08:42 -070023 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080024 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
25 <uses-permission android:name="android.permission.READ_CONTACTS" />
26 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Katherine Kuanaaa2ad52011-09-02 13:36:52 -070027 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070028 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
29 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
30 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070031 <uses-permission android:name="android.permission.READ_PROFILE" />
32 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080033 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020034 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080035 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090036 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070037 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080038 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070039 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080040 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070041 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Maurice Chu056a8462012-04-11 18:29:32 -070042 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070043 <!-- Following used for QuickContacts -->
44 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070045 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070046 <uses-permission android:name="android.permission.READ_CALENDAR" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080047
48 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080049 android:name="com.android.contacts.ContactsApplication"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080050 android:label="@string/contactsList"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -080051 android:icon="@mipmap/ic_launcher_contacts"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080052 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070053 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080054 android:supportsRtl="true"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080055 >
56
Katherine Kuan9856fce2011-06-01 10:24:09 -070057 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
58 <activity android:name=".activities.PeopleActivity"
59 android:label="@string/people"
60 android:theme="@style/PeopleTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080061 android:clearTaskOnLaunch="true"
62 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080063 >
64 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="android.intent.category.DEFAULT" />
67 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070068 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080069 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080070 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080071 <intent-filter>
72 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <category android:name="android.intent.category.TAB" />
75 </intent-filter>
76
77 <intent-filter>
78 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <category android:name="android.intent.category.TAB" />
81 </intent-filter>
82
83 <intent-filter>
84 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
85 <category android:name="android.intent.category.DEFAULT" />
86 <category android:name="android.intent.category.TAB" />
87 </intent-filter>
88
89 <intent-filter>
90 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.TAB" />
93 </intent-filter>
94
95 <intent-filter android:label="@string/starredList">
96 <action android:name="com.android.contacts.action.LIST_STARRED" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.TAB" />
99 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700100
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800101 <intent-filter android:label="@string/frequentList">
102 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <category android:name="android.intent.category.TAB" />
105 </intent-filter>
106
107 <intent-filter android:label="@string/strequentList">
108 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.TAB" />
111 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700112
113 <intent-filter>
114 <action android:name="android.intent.action.SEARCH" />
115 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800116 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700117 </intent-filter>
118
119 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800120 <action android:name="android.intent.action.SEARCH" />
121 <category android:name="android.intent.category.DEFAULT" />
122 </intent-filter>
123
124 <intent-filter>
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700125 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
126 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800127 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700128 </intent-filter>
129
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700130 <intent-filter>
131 <action android:name="android.intent.action.VIEW" />
132 <category android:name="android.intent.category.DEFAULT" />
133 <data android:mimeType="vnd.android.cursor.dir/person" />
134 <data android:mimeType="vnd.android.cursor.dir/contact" />
135 </intent-filter>
136
Mathew Inwood700d3692013-09-30 15:48:28 +0100137 <meta-data android:name="android.app.searchable"
138 android:resource="@xml/searchable"
139 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700140 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700141
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700142 <activity android:name=".activities.ContactSelectionActivity"
143 android:label="@string/contactsList"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700144 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800145 android:launchMode="singleTop"
146 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700147 android:uiOptions="splitActionBarWhenNarrow"
148 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800149 <intent-filter>
150 <action android:name="android.intent.action.INSERT_OR_EDIT" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700153 <data android:mimeType="vnd.android.cursor.item/contact" />
154 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800155 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700156
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800157 <intent-filter>
158 <action android:name="android.intent.action.PICK" />
159 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800160 <data android:mimeType="vnd.android.cursor.dir/contact" />
161 <data android:mimeType="vnd.android.cursor.dir/person" />
162 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
163 <data android:mimeType="vnd.android.cursor.dir/phone" />
164 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
165 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700166 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800167 </intent-filter>
168
169 <intent-filter>
170 <action android:name="android.intent.action.GET_CONTENT" />
171 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800172 <data android:mimeType="vnd.android.cursor.item/contact" />
173 <data android:mimeType="vnd.android.cursor.item/person" />
174 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
175 <data android:mimeType="vnd.android.cursor.item/phone" />
176 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
177 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800178 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700179 </activity>
180
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700181 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
182 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700183 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700184 />
185
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700186 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
187 <activity-alias android:name=".activities.ContactsFrontDoor"
188 android:targetActivity=".activities.PeopleActivity"
189 android:exported="true"
190 />
191
192 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
193 <activity-alias android:name="DialtactsContactsEntryActivity"
194 android:targetActivity=".activities.PeopleActivity"
195 android:exported="true"
196 />
197
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700198 <!-- An activity for joining contacts -->
Dmitri Plotnikovd21ddb22010-11-03 14:25:59 -0700199 <activity android:name=".activities.JoinContactActivity"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700200 android:theme="@style/JoinContactActivityTheme"
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700201 android:clearTaskOnLaunch="true"
202 >
203 <intent-filter>
Dmitri Plotnikov501b7ea2010-04-07 17:20:49 -0700204 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700205 <category android:name="android.intent.category.DEFAULT" />
206 </intent-filter>
207 </activity>
208
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700209 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700210 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700211 android:name=".preference.ContactsPreferenceActivity"
212 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700213 android:theme="@style/ContactsPreferencesTheme"
214 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700215
Katherine Kuan495db432011-07-06 18:58:46 -0700216 <!-- Used to filter contacts list by account -->
217 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800218 android:name=".common.list.AccountFilterActivity"
Katherine Kuan495db432011-07-06 18:58:46 -0700219 android:label="@string/activity_title_contacts_filter"
220 android:theme="@style/ContactListFilterTheme" />
221
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700222 <!-- Used to select display and sync groups -->
223 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800224 android:name=".common.list.CustomContactListFilterActivity"
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700225 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700226 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700227
Jeff Sharkey802b2052009-08-04 14:21:06 -0700228 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700229 android:name=".activities.ShowOrCreateActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700230 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700231
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700232 <intent-filter>
233 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700234 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700235 <data android:scheme="mailto" />
236 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700237 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700238 </activity>
239
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700240 <!-- Views the details of a single group -->
241 <activity android:name=".activities.GroupDetailActivity"
242 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700243 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700244
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700245 <!-- Create a new or edit an existing group -->
246 <activity
247 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700248 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700249 android:windowSoftInputMode="adjustResize" />
250
Jeff Sharkeye8971622009-09-17 15:42:36 -0700251 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700252 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700253 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700254 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700255 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700256 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700257 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700258
259 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700260 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700261 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800262 <data android:mimeType="vnd.android.cursor.item/contact" />
263 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700264 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700265
266 <intent-filter android:label="@string/viewContactDesription">
267 <action android:name="android.intent.action.VIEW" />
268 <category android:name="android.intent.category.DEFAULT" />
269 <data android:mimeType="vnd.android.cursor.item/person" />
270 <data android:mimeType="vnd.android.cursor.item/contact" />
271 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
272 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800273 </activity>
274
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700275 <receiver
276 android:name=".quickcontact.QuickContactBroadcastReceiver"
277 android:exported="false" />
278
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800279 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700280 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700281 android:label="@string/shortcutContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800282 android:icon="@mipmap/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800283
284 <intent-filter>
285 <action android:name="android.intent.action.CREATE_SHORTCUT" />
286 <category android:name="android.intent.category.DEFAULT" />
287 </intent-filter>
288
289 </activity-alias>
290
Dianne Hackborn333a6152009-05-26 12:46:23 -0700291 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700292 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700293 android:label="@string/shortcutDialContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800294 android:icon="@mipmap/ic_launcher_shortcut_directdial"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700295 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700296
297 <intent-filter>
298 <action android:name="android.intent.action.CREATE_SHORTCUT" />
299 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200300 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700301 </intent-filter>
302
303 </activity-alias>
304
305 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700306 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700307 android:label="@string/shortcutMessageContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800308 android:icon="@mipmap/ic_launcher_shortcut_directmessage"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700309 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700310
311 <intent-filter>
312 <action android:name="android.intent.action.CREATE_SHORTCUT" />
313 <category android:name="android.intent.category.DEFAULT" />
314 </intent-filter>
315
316 </activity-alias>
317
Katherine Kuan37bddc22011-07-09 17:36:26 -0700318 <!-- Confirm that a single detail will be added to an existing contact -->
319 <activity
320 android:name=".activities.ConfirmAddDetailActivity"
321 android:label="@string/activity_title_confirm_add_detail"
322 android:theme="@style/ConfirmAddDetailDialogTheme"
323 android:windowSoftInputMode="adjustResize"
324 android:exported="false"/>
325
Katherine Kuan0353a242011-09-23 10:38:28 -0700326 <!-- Accounts changed prompt that can appear when creating a new contact. -->
327 <activity
328 android:name=".activities.ContactEditorAccountsChangedActivity"
329 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
330 android:windowSoftInputMode="adjustResize"
331 android:exported="false"/>
332
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700333 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700334 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700335 android:name=".activities.ContactEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700336 android:theme="@style/EditorActivityTheme"
Brian Attwellc5841bc2014-06-25 15:59:15 -0700337 android:windowSoftInputMode="stateHidden|adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700338
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800339 <intent-filter android:label="@string/editContactDescription">
340 <action android:name="android.intent.action.EDIT" />
341 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800342 <data android:mimeType="vnd.android.cursor.item/person" />
343 <data android:mimeType="vnd.android.cursor.item/contact" />
344 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800345 </intent-filter>
346 <intent-filter android:label="@string/insertContactDescription">
347 <action android:name="android.intent.action.INSERT" />
348 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700349 <data android:mimeType="vnd.android.cursor.dir/person" />
350 <data android:mimeType="vnd.android.cursor.dir/contact" />
351 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800352 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700353 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700354
Chiao Chenga2180f32012-08-17 16:23:35 -0700355 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800356 <intent-filter>
357 <category android:name="android.intent.category.TEST" />
358 </intent-filter>
359 </activity>
360
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700361 <!-- Stub service used to keep our process alive long enough for
362 background threads to finish their operations. -->
363 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800364 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700365 android:exported="false" />
366
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700367 <!-- Service to save a contact -->
368 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800369 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700370 android:exported="false" />
371
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800372 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800373 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800374 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800375 android:taskAffinity="">
376 <intent-filter>
377 <action android:name="android.intent.action.ATTACH_DATA" />
378 <data android:mimeType="image/*" />
379 <category android:name="android.intent.category.DEFAULT" />
380 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700381 </activity>
382
Makoto Onuki272122c2012-05-02 17:00:12 -0700383 <!--
384 Internal photo selection activity. This activity handles all configuration changes by
385 itself.
386 -->
Dave Santoro6fa73842011-09-28 14:37:06 -0700387 <activity android:name=".activities.PhotoSelectionActivity"
388 android:theme="@style/Theme.PhotoSelector"
389 android:launchMode="singleTop"
Makoto Onuki272122c2012-05-02 17:00:12 -0700390 android:windowSoftInputMode="stateUnchanged"
391 android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"
392 >
Neel Parekhbe406ff2009-09-16 15:31:22 -0700393 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800394
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700395 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800396 <activity android:name=".common.vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700397 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700398 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900399 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800400 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700401 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900402 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800403 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500404 <category android:name="android.intent.category.DEFAULT" />
405 </intent-filter>
406 </activity>
407
Chiao Chenge98d54e2012-12-03 17:17:42 -0800408 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500409 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700410 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500411 <intent-filter>
412 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
413 <data android:mimeType="text/vcard" />
414 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800415 <category android:name="android.intent.category.DEFAULT" />
416 </intent-filter>
417 </activity>
418
Chiao Chenge98d54e2012-12-03 17:17:42 -0800419 <activity android:name=".common.vcard.CancelActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700420 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700421
Chiao Chenge98d54e2012-12-03 17:17:42 -0800422 <activity android:name=".common.vcard.SelectAccountActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700423 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900424
Chiao Chenge98d54e2012-12-03 17:17:42 -0800425 <activity android:name=".common.vcard.ExportVCardActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700426 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700427
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700428 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800429 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700430 android:exported="false" />
431
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700432 <!-- Pinned header list demo -->
433 <activity android:name=".widget.PinnedHeaderListDemoActivity">
434 <intent-filter>
435 <action android:name="android.intent.action.MAIN" />
436 <category android:name="android.intent.category.DEFAULT" />
437 </intent-filter>
438 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700439
Chiao Cheng3483b812012-10-23 16:26:40 -0700440 <!-- Intercept Dialer Intents for devices without a phone.
441 This activity should have the same intent filters as the DialtactsActivity,
442 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
443 we don't want this to show up in the Launcher. The priorities of the intent-filters
444 are set lower, so that the user does not see a disambig dialog -->
445 <activity
446 android:name="com.android.contacts.NonPhoneActivity"
447 android:theme="@style/NonPhoneActivityTheme"
448 >
449 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700450 <action android:name="android.intent.action.MAIN"/>
451 <category android:name="android.intent.category.DEFAULT"/>
452 <category android:name="android.intent.category.BROWSABLE"/>
453 </intent-filter>
454 <intent-filter android:priority="-1">
455 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700456 <category android:name="android.intent.category.DEFAULT"/>
457 <category android:name="android.intent.category.BROWSABLE"/>
458 <data android:scheme="tel"/>
459 </intent-filter>
460 <intent-filter android:priority="-1">
461 <action android:name="android.intent.action.VIEW"/>
462 <category android:name="android.intent.category.DEFAULT"/>
463 <category android:name="android.intent.category.BROWSABLE"/>
464 <data android:mimeType="vnd.android.cursor.dir/calls"/>
465 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700466 </activity>
467
468 <!-- Service that is exclusively for the Phone application that sends out a view
469 notification. This service might be removed in future versions of the app.
470
471 This is called explicitly by the phone app via package name and class.
472 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
473 needs to be changed as well.
474 -->
475 <service android:name=".ViewNotificationService"
476 android:permission="android.permission.WRITE_CONTACTS"
477 android:exported="true">
478 <intent-filter>
479 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
480 <data android:mimeType="vnd.android.cursor.item/contact"/>
481 </intent-filter>
482 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700483
Yorke Leeff4b8262014-06-13 15:29:13 -0700484 <!-- Broadcast receiver that passively listens to location updates -->
485 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
486
487 <!-- IntentService to update the user's current country -->
488 <service android:name="com.android.contacts.common.location.UpdateCountryService"
489 android:exported="false"/>
490
Yorke Lee637a38e2013-09-14 08:36:33 -0700491 <provider
492 android:name="android.support.v4.content.FileProvider"
493 android:authorities="com.android.contacts.files"
494 android:grantUriPermissions="true"
495 android:exported="false">
496 <meta-data
497 android:name="android.support.FILE_PROVIDER_PATHS"
498 android:resource="@xml/file_paths" />
499 </provider>
500
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700501 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800502 </application>
503</manifest>