blob: 520e14c084799088c9ab814afbf219c0193b704d [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
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080023 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
24 <uses-permission android:name="android.permission.READ_CONTACTS" />
25 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Katherine Kuanaaa2ad52011-09-02 13:36:52 -070026 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070027 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
28 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
29 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070030 <uses-permission android:name="android.permission.READ_PROFILE" />
31 <uses-permission android:name="android.permission.WRITE_PROFILE" />
Dave Santoro41caac82011-10-03 18:24:44 -070032 <uses-permission android:name="android.permission.READ_SOCIAL_STREAM" />
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" />
Hugo Hudsonb002f512011-07-15 17:41:12 +010036 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080037 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
38 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090039 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070040 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
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" />
Debashish Chatterjee37323c22011-08-03 13:22:01 +010045 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
Flavio Lerda40d92c42011-07-01 13:47:42 +010046 <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_ALL_VOICEMAIL" />
Doug Zongker854d3262011-07-19 13:11:58 -070047 <!-- allow broadcasting secret code intents that reboot the phone -->
48 <uses-permission android:name="android.permission.REBOOT" />
Flavio Lerdad1935da2011-09-20 10:29:50 +010049 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080050
51 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080052 android:name="com.android.contacts.ContactsApplication"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080053 android:label="@string/contactsList"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -080054 android:icon="@mipmap/ic_launcher_contacts"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080055 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070056 android:hardwareAccelerated="true"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080057 >
58
Daniel Lehmannf1054f12011-05-05 21:06:42 -070059 <!-- A list of recent calls -->
Daniel Lehmann09fba0a2011-05-05 18:25:17 -070060 <activity android:name=".activities.CallLogActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080061 android:label="@string/recentCallsIconLabel"
Flavio Lerdae00060f2011-07-04 18:59:55 +010062 android:theme="@style/DialtactsTheme"
Adam Powell84080602011-08-02 16:51:29 -070063 android:uiOptions="splitActionBarWhenNarrow"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080064 >
65 <intent-filter>
66 <action android:name="com.android.phone.action.RECENT_CALLS" />
67 <category android:name="android.intent.category.DEFAULT" />
68 <category android:name="android.intent.category.TAB" />
69 </intent-filter>
70 </activity>
71
Daniel Lehmanne9b196e2010-10-26 12:17:39 -070072 <!-- Intercept Dialer Intents for devices without a phone.
73 This activity should have the same intent filters as the DialtactsActivity,
74 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because we
75 don't want this to show up in the Launcher. The priorities of the intent-filters
76 are set lower, so that the user does not see a disambig dialog -->
77 <activity
78 android:name=".activities.NonPhoneActivity"
79 android:theme="@style/NonPhoneActivityTheme"
80 >
81 <intent-filter android:priority="-1">
82 <action android:name="android.intent.action.DIAL" />
83 <category android:name="android.intent.category.DEFAULT" />
84 <category android:name="android.intent.category.BROWSABLE" />
85 <data android:mimeType="vnd.android.cursor.item/phone" />
86 <data android:mimeType="vnd.android.cursor.item/person" />
87 </intent-filter>
88 <intent-filter android:priority="-1">
89 <action android:name="android.intent.action.DIAL" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.BROWSABLE" />
92 <data android:scheme="voicemail" />
93 </intent-filter>
94 <intent-filter android:priority="-1">
95 <action android:name="android.intent.action.DIAL" />
96 <category android:name="android.intent.category.DEFAULT" />
97 </intent-filter>
98 <intent-filter android:priority="-1">
99 <action android:name="android.intent.action.MAIN" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.BROWSABLE" />
102 </intent-filter>
103 <intent-filter android:priority="-1">
104 <action android:name="android.intent.action.VIEW" />
105 <action android:name="android.intent.action.DIAL" />
106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.BROWSABLE" />
108 <data android:scheme="tel" />
109 </intent-filter>
110 <intent-filter android:priority="-1">
111 <action android:name="android.intent.action.VIEW" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.BROWSABLE" />
114 <data android:mimeType="vnd.android.cursor.dir/calls" />
115 </intent-filter>
116 <intent-filter android:priority="-1">
117 <action android:name="android.intent.action.CALL_BUTTON" />
118 <category android:name="android.intent.category.DEFAULT" />
119 <category android:name="android.intent.category.BROWSABLE" />
120 </intent-filter>
121 </activity>
122
Daisuke Miyakawade158232011-08-15 12:26:55 -0700123 <!-- The entrance point for Phone UI.
124 stateAlwaysHidden is set to suppress keyboard show up on
125 dialpad screen. -->
Daniel Lehmann09fba0a2011-05-05 18:25:17 -0700126 <activity android:name=".activities.DialtactsActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800127 android:label="@string/launcherDialer"
Nicolas Catania177d88f2009-09-27 15:15:05 -0700128 android:theme="@style/DialtactsTheme"
Adam Powell84080602011-08-02 16:51:29 -0700129 android:uiOptions="splitActionBarWhenNarrow"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800130 android:launchMode="singleTask"
131 android:clearTaskOnLaunch="true"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800132 android:icon="@mipmap/ic_launcher_phone"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800133 android:screenOrientation="nosensor"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700134 android:enabled="@*android:bool/config_voice_capable"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700135 android:taskAffinity="android.task.contacts.phone"
Daisuke Miyakawafa96a6b2011-10-18 20:40:41 -0700136 android:windowSoftInputMode="stateAlwaysHidden|adjustNothing">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800137 <intent-filter>
138 <action android:name="android.intent.action.DIAL" />
139 <category android:name="android.intent.category.DEFAULT" />
140 <category android:name="android.intent.category.BROWSABLE" />
141 <data android:mimeType="vnd.android.cursor.item/phone" />
142 <data android:mimeType="vnd.android.cursor.item/person" />
143 </intent-filter>
144 <intent-filter>
145 <action android:name="android.intent.action.DIAL" />
146 <category android:name="android.intent.category.DEFAULT" />
147 <category android:name="android.intent.category.BROWSABLE" />
148 <data android:scheme="voicemail" />
149 </intent-filter>
150 <intent-filter>
151 <action android:name="android.intent.action.DIAL" />
152 <category android:name="android.intent.category.DEFAULT" />
153 </intent-filter>
154 <intent-filter>
155 <action android:name="android.intent.action.MAIN" />
156 <category android:name="android.intent.category.DEFAULT" />
157 <category android:name="android.intent.category.LAUNCHER" />
158 <category android:name="android.intent.category.BROWSABLE" />
159 </intent-filter>
160 <intent-filter>
161 <action android:name="android.intent.action.VIEW" />
162 <action android:name="android.intent.action.DIAL" />
163 <category android:name="android.intent.category.DEFAULT" />
164 <category android:name="android.intent.category.BROWSABLE" />
165 <data android:scheme="tel" />
166 </intent-filter>
167 <intent-filter>
168 <action android:name="android.intent.action.VIEW" />
169 <category android:name="android.intent.category.DEFAULT" />
170 <category android:name="android.intent.category.BROWSABLE" />
171 <data android:mimeType="vnd.android.cursor.dir/calls" />
172 </intent-filter>
173 <intent-filter>
174 <action android:name="android.intent.action.CALL_BUTTON" />
175 <category android:name="android.intent.category.DEFAULT" />
176 <category android:name="android.intent.category.BROWSABLE" />
177 </intent-filter>
Daisuke Miyakawaf4fbfdd2011-08-15 10:26:07 -0700178 <!-- This was never intended to be public, but is here for backward
179 compatibility. Use Intent.ACTION_DIAL instead. -->
180 <intent-filter>
181 <action android:name="com.android.phone.action.TOUCH_DIALER" />
182 <category android:name="android.intent.category.DEFAULT" />
183 <category android:name="android.intent.category.TAB" />
184 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800185 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700186
Katherine Kuan9856fce2011-06-01 10:24:09 -0700187 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
188 <activity android:name=".activities.PeopleActivity"
189 android:label="@string/people"
190 android:theme="@style/PeopleTheme"
Adam Powell84080602011-08-02 16:51:29 -0700191 android:uiOptions="splitActionBarWhenNarrow"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800192 android:clearTaskOnLaunch="true"
193 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800194 >
195 <intent-filter>
196 <action android:name="android.intent.action.MAIN" />
197 <category android:name="android.intent.category.DEFAULT" />
198 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700199 <category android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800200 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800201 <intent-filter>
202 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
203 <category android:name="android.intent.category.DEFAULT" />
204 <category android:name="android.intent.category.TAB" />
205 </intent-filter>
206
207 <intent-filter>
208 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
209 <category android:name="android.intent.category.DEFAULT" />
210 <category android:name="android.intent.category.TAB" />
211 </intent-filter>
212
213 <intent-filter>
214 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
215 <category android:name="android.intent.category.DEFAULT" />
216 <category android:name="android.intent.category.TAB" />
217 </intent-filter>
218
219 <intent-filter>
220 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
221 <category android:name="android.intent.category.DEFAULT" />
222 <category android:name="android.intent.category.TAB" />
223 </intent-filter>
224
225 <intent-filter android:label="@string/starredList">
226 <action android:name="com.android.contacts.action.LIST_STARRED" />
227 <category android:name="android.intent.category.DEFAULT" />
228 <category android:name="android.intent.category.TAB" />
229 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700230
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800231 <intent-filter android:label="@string/frequentList">
232 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
233 <category android:name="android.intent.category.DEFAULT" />
234 <category android:name="android.intent.category.TAB" />
235 </intent-filter>
236
237 <intent-filter android:label="@string/strequentList">
238 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
239 <category android:name="android.intent.category.DEFAULT" />
240 <category android:name="android.intent.category.TAB" />
241 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700242
243 <intent-filter>
244 <action android:name="android.intent.action.SEARCH" />
245 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800246 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700247 </intent-filter>
248
249 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800250 <action android:name="android.intent.action.SEARCH" />
251 <category android:name="android.intent.category.DEFAULT" />
252 </intent-filter>
253
254 <intent-filter>
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700255 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
256 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800257 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700258 </intent-filter>
259
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700260 <intent-filter>
261 <action android:name="android.intent.action.VIEW" />
262 <category android:name="android.intent.category.DEFAULT" />
263 <data android:mimeType="vnd.android.cursor.dir/person" />
264 <data android:mimeType="vnd.android.cursor.dir/contact" />
265 </intent-filter>
266
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700267 <meta-data android:name="android.app.searchable"
268 android:resource="@xml/searchable"
269 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700270 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700271
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700272 <activity android:name=".activities.ContactSelectionActivity"
273 android:label="@string/contactsList"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700274 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800275 android:launchMode="singleTop"
276 android:clearTaskOnLaunch="true"
Daisuke Miyakawaa8729cd2011-10-12 12:27:16 -0700277 android:uiOptions="splitActionBarWhenNarrow">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800278 <intent-filter>
279 <action android:name="android.intent.action.INSERT_OR_EDIT" />
280 <category android:name="android.intent.category.DEFAULT" />
281 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700282 <data android:mimeType="vnd.android.cursor.item/contact" />
283 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800284 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700285
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800286 <intent-filter>
287 <action android:name="android.intent.action.PICK" />
288 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800289 <data android:mimeType="vnd.android.cursor.dir/contact" />
290 <data android:mimeType="vnd.android.cursor.dir/person" />
291 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
292 <data android:mimeType="vnd.android.cursor.dir/phone" />
293 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
294 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700295 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800296 </intent-filter>
297
298 <intent-filter>
299 <action android:name="android.intent.action.GET_CONTENT" />
300 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800301 <data android:mimeType="vnd.android.cursor.item/contact" />
302 <data android:mimeType="vnd.android.cursor.item/person" />
303 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
304 <data android:mimeType="vnd.android.cursor.item/phone" />
305 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
306 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800307 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700308 </activity>
309
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700310 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
311 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700312 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700313 />
314
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700315 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
316 <activity-alias android:name=".activities.ContactsFrontDoor"
317 android:targetActivity=".activities.PeopleActivity"
318 android:exported="true"
319 />
320
321 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
322 <activity-alias android:name="DialtactsContactsEntryActivity"
323 android:targetActivity=".activities.PeopleActivity"
324 android:exported="true"
325 />
326
327 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
328 <activity-alias android:name="DialtactsActivity"
329 android:targetActivity=".activities.DialtactsActivity"
330 android:exported="true"
331 />
332
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700333 <!-- An activity for joining contacts -->
Dmitri Plotnikovd21ddb22010-11-03 14:25:59 -0700334 <activity android:name=".activities.JoinContactActivity"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700335 android:theme="@style/JoinContactActivityTheme"
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700336 android:clearTaskOnLaunch="true"
337 >
338 <intent-filter>
Dmitri Plotnikov501b7ea2010-04-07 17:20:49 -0700339 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700340 <category android:name="android.intent.category.DEFAULT" />
341 </intent-filter>
342 </activity>
343
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700344 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700345 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700346 android:name=".preference.ContactsPreferenceActivity"
347 android:label="@string/activity_title_settings"
Daniel Lehmann10105742010-07-15 17:35:57 -0700348 android:theme="@style/ContactsPreferencesTheme" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700349
Katherine Kuan495db432011-07-06 18:58:46 -0700350 <!-- Used to filter contacts list by account -->
351 <activity
352 android:name=".list.AccountFilterActivity"
353 android:label="@string/activity_title_contacts_filter"
354 android:theme="@style/ContactListFilterTheme" />
355
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700356 <!-- Used to select display and sync groups -->
357 <activity
358 android:name=".list.CustomContactListFilterActivity"
359 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700360 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700361
Jeff Sharkey802b2052009-08-04 14:21:06 -0700362 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700363 android:name=".activities.ShowOrCreateActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700364 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700365
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700366 <intent-filter>
367 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700368 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700369 <data android:scheme="mailto" />
370 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700371 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700372 </activity>
373
Katherine Kuan9add0e52011-05-10 18:26:15 -0700374 <!-- List of groups -->
375 <activity android:name=".activities.GroupBrowserActivity"
376 android:label="@string/contactsGroupsLabel"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700377 android:theme="@style/PeopleTheme"
Adam Powell84080602011-08-02 16:51:29 -0700378 android:uiOptions="splitActionBarWhenNarrow"
Katherine Kuan9add0e52011-05-10 18:26:15 -0700379 android:launchMode="singleTop"
Katherine Kuanab583952011-08-23 14:20:43 -0700380 android:clearTaskOnLaunch="true"/>
Katherine Kuan9add0e52011-05-10 18:26:15 -0700381
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700382 <!-- Views the details of a single group -->
383 <activity android:name=".activities.GroupDetailActivity"
384 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700385 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700386
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700387 <!-- Create a new or edit an existing group -->
388 <activity
389 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700390 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700391 android:windowSoftInputMode="adjustResize" />
392
Evan Millar0d0ab342009-09-30 19:03:35 -0700393 <!-- Used to show QuickContact window over a translucent activity, which is a
Jeff Sharkeye8971622009-09-17 15:42:36 -0700394 temporary hack until we add better framework support. -->
395 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700396 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700397 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700398 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700399 android:excludeFromRecents="true"
Daisuke Miyakawa85b9d6f2011-08-02 16:43:49 -0700400 android:noHistory="true"
Dmitri Plotnikovad3bd442010-03-23 22:49:43 -0700401 android:taskAffinity="android.task.quickcontact"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700402 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700403
404 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700405 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700406 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800407 <data android:mimeType="vnd.android.cursor.item/contact" />
408 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700409 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800410 </activity>
411
412 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700413 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700414 android:label="@string/shortcutContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800415 android:icon="@mipmap/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800416
417 <intent-filter>
418 <action android:name="android.intent.action.CREATE_SHORTCUT" />
419 <category android:name="android.intent.category.DEFAULT" />
420 </intent-filter>
421
422 </activity-alias>
423
Dianne Hackborn333a6152009-05-26 12:46:23 -0700424 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700425 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700426 android:label="@string/shortcutDialContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800427 android:icon="@mipmap/ic_launcher_shortcut_directdial"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700428 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700429
430 <intent-filter>
431 <action android:name="android.intent.action.CREATE_SHORTCUT" />
432 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200433 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700434 </intent-filter>
435
436 </activity-alias>
437
438 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700439 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700440 android:label="@string/shortcutMessageContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800441 android:icon="@mipmap/ic_launcher_shortcut_directmessage"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700442 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700443
444 <intent-filter>
445 <action android:name="android.intent.action.CREATE_SHORTCUT" />
446 <category android:name="android.intent.category.DEFAULT" />
447 </intent-filter>
448
449 </activity-alias>
450
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800451 <activity android:name="CallDetailActivity"
452 android:label="@string/callDetailTitle"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700453 android:theme="@style/CallDetailActivityTheme"
Flavio Lerdac03b1182011-07-22 15:44:08 +0100454 android:screenOrientation="nosensor"
Flavio Lerda0db051f2011-08-02 18:47:02 +0100455 android:icon="@mipmap/ic_launcher_phone"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700456 android:taskAffinity="android.task.contacts.phone"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800457 >
458 <intent-filter>
459 <action android:name="android.intent.action.VIEW" />
460 <category android:name="android.intent.category.DEFAULT" />
461 <data android:mimeType="vnd.android.cursor.item/calls" />
462 </intent-filter>
463 </activity>
464
465 <!-- Views the details of a single contact -->
Daniel Lehmann4cd94412010-04-08 16:44:36 -0700466 <activity android:name=".activities.ContactDetailActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800467 android:label="@string/viewContactTitle"
Katherine Kuanab583952011-08-23 14:20:43 -0700468 android:theme="@style/DetailActivityTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700469
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800470 <intent-filter android:label="@string/viewContactDesription">
471 <action android:name="android.intent.action.VIEW" />
472 <category android:name="android.intent.category.DEFAULT" />
Daniel Lehmannc90c7052011-03-16 18:42:34 -0700473 <data android:mimeType="vnd.android.cursor.item/person" />
474 <data android:mimeType="vnd.android.cursor.item/contact" />
475 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800476 </intent-filter>
477 </activity>
478
Katherine Kuan37bddc22011-07-09 17:36:26 -0700479 <!-- Confirm that a single detail will be added to an existing contact -->
480 <activity
481 android:name=".activities.ConfirmAddDetailActivity"
482 android:label="@string/activity_title_confirm_add_detail"
483 android:theme="@style/ConfirmAddDetailDialogTheme"
484 android:windowSoftInputMode="adjustResize"
485 android:exported="false"/>
486
Katherine Kuan0353a242011-09-23 10:38:28 -0700487 <!-- Accounts changed prompt that can appear when creating a new contact. -->
488 <activity
489 android:name=".activities.ContactEditorAccountsChangedActivity"
490 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
491 android:windowSoftInputMode="adjustResize"
492 android:exported="false"/>
493
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700494 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700495 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700496 android:name=".activities.ContactEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700497 android:theme="@style/EditorActivityTheme"
Daniel Lehmann3a120772010-06-21 16:21:35 -0700498 android:windowSoftInputMode="adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700499
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800500 <intent-filter android:label="@string/editContactDescription">
501 <action android:name="android.intent.action.EDIT" />
502 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800503 <data android:mimeType="vnd.android.cursor.item/person" />
504 <data android:mimeType="vnd.android.cursor.item/contact" />
505 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800506 </intent-filter>
507 <intent-filter android:label="@string/insertContactDescription">
508 <action android:name="android.intent.action.INSERT" />
509 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700510 <data android:mimeType="vnd.android.cursor.dir/person" />
511 <data android:mimeType="vnd.android.cursor.dir/contact" />
512 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800513 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700514 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700515
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800516 <activity android:name=".test.FragmentTestActivity">
517 <intent-filter>
518 <category android:name="android.intent.category.TEST" />
519 </intent-filter>
520 </activity>
521
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700522 <!-- Stub service used to keep our process alive long enough for
523 background threads to finish their operations. -->
524 <service
525 android:name=".util.EmptyService"
526 android:exported="false" />
527
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700528 <!-- Service to save a contact -->
529 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800530 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700531 android:exported="false" />
532
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800533 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800534 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800535 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800536 android:taskAffinity="">
537 <intent-filter>
538 <action android:name="android.intent.action.ATTACH_DATA" />
539 <data android:mimeType="image/*" />
540 <category android:name="android.intent.category.DEFAULT" />
541 </intent-filter>
542 />
Neel Parekhbe406ff2009-09-16 15:31:22 -0700543 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800544
Dmitri Plotnikov884e3932010-05-13 19:13:51 -0700545 <!-- Interstitial activity that shows a phone disambig dialog -->
546 <activity android:name="CallContactActivity"
547 android:theme="@android:style/Theme.Translucent">
548 </activity>
549
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700550 <!-- vCard related -->
551 <activity android:name=".vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700552 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700553 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900554 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800555 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700556 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900557 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800558 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500559 <data android:mimeType="text/x-vCard" />
560 <category android:name="android.intent.category.DEFAULT" />
561 </intent-filter>
562 </activity>
563
564 <activity android:name=".vcard.NfcImportVCardActivity"
565 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700566 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500567 <intent-filter>
568 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
569 <data android:mimeType="text/vcard" />
570 <data android:mimeType="text/x-vcard" />
571 <data android:mimeType="text/x-vCard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800572 <category android:name="android.intent.category.DEFAULT" />
573 </intent-filter>
574 </activity>
575
Daisuke Miyakawaab596602010-11-18 17:28:02 -0800576 <activity android:name=".vcard.CancelActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700577 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700578
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700579 <activity android:name=".vcard.SelectAccountActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700580 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900581
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700582 <activity android:name=".vcard.ExportVCardActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700583 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700584
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700585 <service
586 android:name=".vcard.VCardService"
587 android:exported="false" />
588
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700589 <!-- Pinned header list demo -->
590 <activity android:name=".widget.PinnedHeaderListDemoActivity">
591 <intent-filter>
592 <action android:name="android.intent.action.MAIN" />
593 <category android:name="android.intent.category.DEFAULT" />
594 </intent-filter>
595 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700596
597 <!-- The widget that shows details and the social stream of a contact -->
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700598 <receiver android:name=".socialwidget.SocialWidgetProvider"
Daniel Lehmannb0ab5d72010-11-03 16:21:22 -0700599 android:label="@string/social_widget_label" >
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700600 <intent-filter>
601 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
602 </intent-filter>
603 <meta-data android:name="android.appwidget.provider"
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700604 android:resource="@xml/social_widget_info" />
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700605 </receiver>
606
Flavio Lerdab78b7092011-07-26 13:38:44 +0100607 <receiver android:name=".calllog.CallLogReceiver">
Flavio Lerda87bd5362011-06-30 12:20:43 +0100608 <intent-filter>
609 <action android:name="android.intent.action.NEW_VOICEMAIL" />
610 <data
611 android:scheme="content"
612 android:host="com.android.voicemail"
Debashish Chatterjeeb7a508f2011-08-09 14:47:08 +0100613 android:mimeType="vnd.android.cursor.item/voicemail"
Flavio Lerda87bd5362011-06-30 12:20:43 +0100614 />
615 </intent-filter>
Flavio Lerdab78b7092011-07-26 13:38:44 +0100616 <intent-filter android:priority="100">
617 <action android:name="android.intent.action.BOOT_COMPLETED"/>
618 </intent-filter>
Flavio Lerda87bd5362011-06-30 12:20:43 +0100619 </receiver>
620
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700621 <activity
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700622 android:name=".socialwidget.SocialWidgetConfigureActivity"
Daniel Lehmannb0ab5d72010-11-03 16:21:22 -0700623 android:theme="@android:style/Theme.Translucent.NoTitleBar" >
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700624 <intent-filter>
625 <action android:name="android.intent.action.APPWIDGET_PICK" />
626 </intent-filter>
627 </activity>
Flavio Lerdab78b7092011-07-26 13:38:44 +0100628
629 <service
630 android:name=".calllog.CallLogNotificationsService"
631 android:exported="false"
632 />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800633 </application>
634</manifest>