blob: 5233dbf6df613a340b4af27c045955f736d112f0 [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"
19 android:sharedUserId="android.uid.shared"
Dianne Hackborn15a5ad82010-06-22 16:09:43 -070020 android:sharedUserLabel="@string/sharedUserLabel"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080021>
Jeff Sharkey26c7e732009-04-01 17:30:46 -070022
Jeff Hamiltone7883532010-02-11 16:25:48 -060023 <original-package android:name="com.android.contacts" />
24
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080025 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
26 <uses-permission android:name="android.permission.READ_CONTACTS" />
27 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070028 <uses-permission android:name="android.permission.READ_PROFILE" />
29 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080030 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020031 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080032 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Hugo Hudsonb002f512011-07-15 17:41:12 +010033 <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080034 <uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
35 <uses-permission android:name="com.google.android.googleapps.permission.GOOGLE_AUTH.mail" />
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" />
Debashish Chatterjee37323c22011-08-03 13:22:01 +010042 <uses-permission android:name="com.android.voicemail.permission.ADD_VOICEMAIL" />
43 <!-- TODO: get rid of READ_WRITE_OWN_VOICEMAIL permission when voicemail provider has been
44 modified to support ADD_VOICEMAIL -->
Flavio Lerda40d92c42011-07-01 13:47:42 +010045 <uses-permission android:name="com.android.voicemail.permission.READ_WRITE_OWN_VOICEMAIL" />
46 <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" />
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"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080052 android:label="@string/contactsList"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -080053 android:icon="@mipmap/ic_launcher_contacts"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080054 android:process="android.process.acore"
55 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 virtual 12 key dialer -->
Daniel Lehmann09fba0a2011-05-05 18:25:17 -070060 <activity android:name=".activities.DialpadActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080061 android:launchMode="singleTop"
62 >
63 <intent-filter>
64 <action android:name="com.android.phone.action.TOUCH_DIALER" />
65 <category android:name="android.intent.category.DEFAULT" />
66 <category android:name="android.intent.category.TAB" />
67 </intent-filter>
68 </activity>
69
Daniel Lehmannf1054f12011-05-05 21:06:42 -070070 <!-- A list of recent calls -->
Daniel Lehmann09fba0a2011-05-05 18:25:17 -070071 <activity android:name=".activities.CallLogActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080072 android:label="@string/recentCallsIconLabel"
Flavio Lerdae00060f2011-07-04 18:59:55 +010073 android:theme="@style/DialtactsTheme"
Adam Powell84080602011-08-02 16:51:29 -070074 android:uiOptions="splitActionBarWhenNarrow"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080075 >
76 <intent-filter>
77 <action android:name="com.android.phone.action.RECENT_CALLS" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <category android:name="android.intent.category.TAB" />
80 </intent-filter>
81 </activity>
82
Daniel Lehmanne9b196e2010-10-26 12:17:39 -070083 <!-- Intercept Dialer Intents for devices without a phone.
84 This activity should have the same intent filters as the DialtactsActivity,
85 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because we
86 don't want this to show up in the Launcher. The priorities of the intent-filters
87 are set lower, so that the user does not see a disambig dialog -->
88 <activity
89 android:name=".activities.NonPhoneActivity"
90 android:theme="@style/NonPhoneActivityTheme"
91 >
92 <intent-filter android:priority="-1">
93 <action android:name="android.intent.action.DIAL" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <category android:name="android.intent.category.BROWSABLE" />
96 <data android:mimeType="vnd.android.cursor.item/phone" />
97 <data android:mimeType="vnd.android.cursor.item/person" />
98 </intent-filter>
99 <intent-filter android:priority="-1">
100 <action android:name="android.intent.action.DIAL" />
101 <category android:name="android.intent.category.DEFAULT" />
102 <category android:name="android.intent.category.BROWSABLE" />
103 <data android:scheme="voicemail" />
104 </intent-filter>
105 <intent-filter android:priority="-1">
106 <action android:name="android.intent.action.DIAL" />
107 <category android:name="android.intent.category.DEFAULT" />
108 </intent-filter>
109 <intent-filter android:priority="-1">
110 <action android:name="android.intent.action.MAIN" />
111 <category android:name="android.intent.category.DEFAULT" />
112 <category android:name="android.intent.category.BROWSABLE" />
113 </intent-filter>
114 <intent-filter android:priority="-1">
115 <action android:name="android.intent.action.VIEW" />
116 <action android:name="android.intent.action.DIAL" />
117 <category android:name="android.intent.category.DEFAULT" />
118 <category android:name="android.intent.category.BROWSABLE" />
119 <data android:scheme="tel" />
120 </intent-filter>
121 <intent-filter android:priority="-1">
122 <action android:name="android.intent.action.VIEW" />
123 <category android:name="android.intent.category.DEFAULT" />
124 <category android:name="android.intent.category.BROWSABLE" />
125 <data android:mimeType="vnd.android.cursor.dir/calls" />
126 </intent-filter>
127 <intent-filter android:priority="-1">
128 <action android:name="android.intent.action.CALL_BUTTON" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <category android:name="android.intent.category.BROWSABLE" />
131 </intent-filter>
132 </activity>
133
Daniel Lehmann7675e122010-04-21 17:31:11 -0700134 <!-- Tab container for all tabs -->
Daniel Lehmann09fba0a2011-05-05 18:25:17 -0700135 <activity android:name=".activities.DialtactsActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800136 android:label="@string/launcherDialer"
Nicolas Catania177d88f2009-09-27 15:15:05 -0700137 android:theme="@style/DialtactsTheme"
Adam Powell84080602011-08-02 16:51:29 -0700138 android:uiOptions="splitActionBarWhenNarrow"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800139 android:launchMode="singleTask"
140 android:clearTaskOnLaunch="true"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800141 android:icon="@mipmap/ic_launcher_phone"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800142 android:screenOrientation="nosensor"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700143 android:enabled="@*android:bool/config_voice_capable"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700144 android:taskAffinity="android.task.contacts.phone"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800145 >
146 <intent-filter>
147 <action android:name="android.intent.action.DIAL" />
148 <category android:name="android.intent.category.DEFAULT" />
149 <category android:name="android.intent.category.BROWSABLE" />
150 <data android:mimeType="vnd.android.cursor.item/phone" />
151 <data android:mimeType="vnd.android.cursor.item/person" />
152 </intent-filter>
153 <intent-filter>
154 <action android:name="android.intent.action.DIAL" />
155 <category android:name="android.intent.category.DEFAULT" />
156 <category android:name="android.intent.category.BROWSABLE" />
157 <data android:scheme="voicemail" />
158 </intent-filter>
159 <intent-filter>
160 <action android:name="android.intent.action.DIAL" />
161 <category android:name="android.intent.category.DEFAULT" />
162 </intent-filter>
163 <intent-filter>
164 <action android:name="android.intent.action.MAIN" />
165 <category android:name="android.intent.category.DEFAULT" />
166 <category android:name="android.intent.category.LAUNCHER" />
167 <category android:name="android.intent.category.BROWSABLE" />
168 </intent-filter>
169 <intent-filter>
170 <action android:name="android.intent.action.VIEW" />
171 <action android:name="android.intent.action.DIAL" />
172 <category android:name="android.intent.category.DEFAULT" />
173 <category android:name="android.intent.category.BROWSABLE" />
174 <data android:scheme="tel" />
175 </intent-filter>
176 <intent-filter>
177 <action android:name="android.intent.action.VIEW" />
178 <category android:name="android.intent.category.DEFAULT" />
179 <category android:name="android.intent.category.BROWSABLE" />
180 <data android:mimeType="vnd.android.cursor.dir/calls" />
181 </intent-filter>
182 <intent-filter>
183 <action android:name="android.intent.action.CALL_BUTTON" />
184 <category android:name="android.intent.category.DEFAULT" />
185 <category android:name="android.intent.category.BROWSABLE" />
186 </intent-filter>
187 </activity>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700188
Katherine Kuan9856fce2011-06-01 10:24:09 -0700189 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
190 <activity android:name=".activities.PeopleActivity"
191 android:label="@string/people"
192 android:theme="@style/PeopleTheme"
Adam Powell84080602011-08-02 16:51:29 -0700193 android:uiOptions="splitActionBarWhenNarrow"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800194 android:clearTaskOnLaunch="true"
195 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800196 >
197 <intent-filter>
198 <action android:name="android.intent.action.MAIN" />
199 <category android:name="android.intent.category.DEFAULT" />
200 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -0700201 <category android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800202 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800203 <intent-filter>
204 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
205 <category android:name="android.intent.category.DEFAULT" />
206 <category android:name="android.intent.category.TAB" />
207 </intent-filter>
208
209 <intent-filter>
210 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
211 <category android:name="android.intent.category.DEFAULT" />
212 <category android:name="android.intent.category.TAB" />
213 </intent-filter>
214
215 <intent-filter>
216 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
217 <category android:name="android.intent.category.DEFAULT" />
218 <category android:name="android.intent.category.TAB" />
219 </intent-filter>
220
221 <intent-filter>
222 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
223 <category android:name="android.intent.category.DEFAULT" />
224 <category android:name="android.intent.category.TAB" />
225 </intent-filter>
226
227 <intent-filter android:label="@string/starredList">
228 <action android:name="com.android.contacts.action.LIST_STARRED" />
229 <category android:name="android.intent.category.DEFAULT" />
230 <category android:name="android.intent.category.TAB" />
231 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700232
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800233 <intent-filter android:label="@string/frequentList">
234 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
235 <category android:name="android.intent.category.DEFAULT" />
236 <category android:name="android.intent.category.TAB" />
237 </intent-filter>
238
239 <intent-filter android:label="@string/strequentList">
240 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
241 <category android:name="android.intent.category.DEFAULT" />
242 <category android:name="android.intent.category.TAB" />
243 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700244
245 <intent-filter>
246 <action android:name="android.intent.action.SEARCH" />
247 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800248 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700249 </intent-filter>
250
251 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800252 <action android:name="android.intent.action.SEARCH" />
253 <category android:name="android.intent.category.DEFAULT" />
254 </intent-filter>
255
256 <intent-filter>
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700257 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
258 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800259 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700260 </intent-filter>
261
262 <meta-data android:name="android.app.searchable"
263 android:resource="@xml/searchable"
264 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700265 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700266
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700267 <activity android:name=".activities.ContactSelectionActivity"
268 android:label="@string/contactsList"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700269 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800270 android:launchMode="singleTop"
271 android:clearTaskOnLaunch="true"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700272 >
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800273 <intent-filter>
274 <action android:name="android.intent.action.INSERT_OR_EDIT" />
275 <category android:name="android.intent.category.DEFAULT" />
276 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700277 <data android:mimeType="vnd.android.cursor.item/contact" />
278 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800279 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700280
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800281 <intent-filter>
282 <action android:name="android.intent.action.PICK" />
283 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800284 <data android:mimeType="vnd.android.cursor.dir/contact" />
285 <data android:mimeType="vnd.android.cursor.dir/person" />
286 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
287 <data android:mimeType="vnd.android.cursor.dir/phone" />
288 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
289 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700290 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800291 </intent-filter>
292
293 <intent-filter>
294 <action android:name="android.intent.action.GET_CONTENT" />
295 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800296 <data android:mimeType="vnd.android.cursor.item/contact" />
297 <data android:mimeType="vnd.android.cursor.item/person" />
298 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
299 <data android:mimeType="vnd.android.cursor.item/phone" />
300 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
301 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800302 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700303 </activity>
304
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700305 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
306 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700307 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700308 />
309
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700310 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
311 <activity-alias android:name=".activities.ContactsFrontDoor"
312 android:targetActivity=".activities.PeopleActivity"
313 android:exported="true"
314 />
315
316 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
317 <activity-alias android:name="DialtactsContactsEntryActivity"
318 android:targetActivity=".activities.PeopleActivity"
319 android:exported="true"
320 />
321
322 <!-- Backwards compatibility: "Phone" from Gingerbread and earlier -->
323 <activity-alias android:name="DialtactsActivity"
324 android:targetActivity=".activities.DialtactsActivity"
325 android:exported="true"
326 />
327
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700328 <!-- An activity for joining contacts -->
Dmitri Plotnikovd21ddb22010-11-03 14:25:59 -0700329 <activity android:name=".activities.JoinContactActivity"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700330 android:theme="@style/JoinContactActivityTheme"
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700331 android:clearTaskOnLaunch="true"
332 >
333 <intent-filter>
Dmitri Plotnikov501b7ea2010-04-07 17:20:49 -0700334 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
Dmitri Plotnikov57d27da2009-09-28 18:06:11 -0700335 <category android:name="android.intent.category.DEFAULT" />
336 </intent-filter>
337 </activity>
338
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700339 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700340 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700341 android:name=".preference.ContactsPreferenceActivity"
342 android:label="@string/activity_title_settings"
Daniel Lehmann10105742010-07-15 17:35:57 -0700343 android:theme="@style/ContactsPreferencesTheme" />
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700344
Katherine Kuan495db432011-07-06 18:58:46 -0700345 <!-- Used to filter contacts list by account -->
346 <activity
347 android:name=".list.AccountFilterActivity"
348 android:label="@string/activity_title_contacts_filter"
349 android:theme="@style/ContactListFilterTheme" />
350
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700351 <!-- Used to select display and sync groups -->
352 <activity
353 android:name=".list.CustomContactListFilterActivity"
354 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700355 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700356
Jeff Sharkey802b2052009-08-04 14:21:06 -0700357 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700358 android:name=".activities.ShowOrCreateActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700359 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700360
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700361 <intent-filter>
362 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700363 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700364 <data android:scheme="mailto" />
365 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700366 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700367 </activity>
368
Katherine Kuan9add0e52011-05-10 18:26:15 -0700369
370 <!-- List of groups -->
371 <activity android:name=".activities.GroupBrowserActivity"
372 android:label="@string/contactsGroupsLabel"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700373 android:theme="@style/PeopleTheme"
Adam Powell84080602011-08-02 16:51:29 -0700374 android:uiOptions="splitActionBarWhenNarrow"
Katherine Kuan9add0e52011-05-10 18:26:15 -0700375 android:launchMode="singleTop"
376 android:clearTaskOnLaunch="true">
377 <!-- TODO: Remove this temporary intent action name when the fragmentization
378 work is done. -->
379 <intent-filter>
380 <action android:name="com.android.phone.action.GROUPS_LIST" />
381 <category android:name="android.intent.category.DEFAULT" />
382 <category android:name="android.intent.category.TAB" />
383 </intent-filter>
384 </activity>
385
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700386 <!-- Views the details of a single group -->
387 <activity android:name=".activities.GroupDetailActivity"
388 android:label=""
Adam Powell84080602011-08-02 16:51:29 -0700389 android:theme="@style/GroupDetailTheme"
390 android:uiOptions="splitActionBarWhenNarrow"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700391
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700392 <!-- Create a new or edit an existing group -->
393 <activity
394 android:name=".activities.GroupEditorActivity"
395 android:theme="@style/ContactEditorActivityTheme"
396 android:windowSoftInputMode="adjustResize" />
397
Evan Millar0d0ab342009-09-30 19:03:35 -0700398 <!-- Used to show QuickContact window over a translucent activity, which is a
Jeff Sharkeye8971622009-09-17 15:42:36 -0700399 temporary hack until we add better framework support. -->
400 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700401 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700402 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700403 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700404 android:excludeFromRecents="true"
Dmitri Plotnikovad3bd442010-03-23 22:49:43 -0700405 android:taskAffinity="android.task.quickcontact"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700406 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700407
408 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700409 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700410 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800411 <data android:mimeType="vnd.android.cursor.item/contact" />
412 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700413 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800414 </activity>
415
Daniel Lehmannaf8e3862010-11-19 15:38:44 -0800416 <!-- Flushes the QuickContact IntentCache -->
417 <receiver android:name=".quickcontact.PackageIntentReceiver">
418 <intent-filter>
419 <action android:name="android.intent.action.PACKAGE_ADDED" />
420 <data android:scheme="package" />
421 </intent-filter>
422 <intent-filter>
423 <action android:name="android.intent.action.PACKAGE_REPLACED" />
424 <data android:scheme="package" />
425 </intent-filter>
426 <intent-filter>
427 <action android:name="android.intent.action.PACKAGE_REMOVED" />
428 <data android:scheme="package" />
429 </intent-filter>
430 <intent-filter>
431 <action android:name="android.intent.action.PACKAGE_CHANGED" />
432 <data android:scheme="package" />
433 </intent-filter>
434 </receiver>
435
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800436 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700437 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700438 android:label="@string/shortcutContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800439 android:icon="@mipmap/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800440
441 <intent-filter>
442 <action android:name="android.intent.action.CREATE_SHORTCUT" />
443 <category android:name="android.intent.category.DEFAULT" />
444 </intent-filter>
445
446 </activity-alias>
447
Dianne Hackborn333a6152009-05-26 12:46:23 -0700448 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700449 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700450 android:label="@string/shortcutDialContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800451 android:icon="@mipmap/ic_launcher_shortcut_directdial"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700452 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700453
454 <intent-filter>
455 <action android:name="android.intent.action.CREATE_SHORTCUT" />
456 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200457 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700458 </intent-filter>
459
460 </activity-alias>
461
462 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700463 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700464 android:label="@string/shortcutMessageContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800465 android:icon="@mipmap/ic_launcher_shortcut_directmessage"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700466 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700467
468 <intent-filter>
469 <action android:name="android.intent.action.CREATE_SHORTCUT" />
470 <category android:name="android.intent.category.DEFAULT" />
471 </intent-filter>
472
473 </activity-alias>
474
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800475 <activity android:name="CallDetailActivity"
476 android:label="@string/callDetailTitle"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700477 android:theme="@style/CallDetailActivityTheme"
Adam Powell84080602011-08-02 16:51:29 -0700478 android:uiOptions="splitActionBarWhenNarrow"
Flavio Lerdac03b1182011-07-22 15:44:08 +0100479 android:screenOrientation="nosensor"
Flavio Lerda0db051f2011-08-02 18:47:02 +0100480 android:icon="@mipmap/ic_launcher_phone"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700481 android:taskAffinity="android.task.contacts.phone"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800482 >
483 <intent-filter>
484 <action android:name="android.intent.action.VIEW" />
485 <category android:name="android.intent.category.DEFAULT" />
486 <data android:mimeType="vnd.android.cursor.item/calls" />
487 </intent-filter>
488 </activity>
489
490 <!-- Views the details of a single contact -->
Daniel Lehmann4cd94412010-04-08 16:44:36 -0700491 <activity android:name=".activities.ContactDetailActivity"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800492 android:label="@string/viewContactTitle"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700493 android:theme="@style/ContactDetailActivityTheme">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700494
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800495 <intent-filter android:label="@string/viewContactDesription">
496 <action android:name="android.intent.action.VIEW" />
497 <category android:name="android.intent.category.DEFAULT" />
Daniel Lehmannc90c7052011-03-16 18:42:34 -0700498 <data android:mimeType="vnd.android.cursor.dir/person" />
499 <data android:mimeType="vnd.android.cursor.dir/contact" />
500 <data android:mimeType="vnd.android.cursor.item/person" />
501 <data android:mimeType="vnd.android.cursor.item/contact" />
502 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800503 </intent-filter>
504 </activity>
505
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700506 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700507 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700508 android:name=".activities.ContactEditorActivity"
Daniel Lehmann134e53f2010-08-25 14:21:51 -0700509 android:theme="@style/ContactEditorActivityTheme"
Adam Powell84080602011-08-02 16:51:29 -0700510 android:uiOptions="splitActionBarWhenNarrow"
Daniel Lehmann3a120772010-06-21 16:21:35 -0700511 android:windowSoftInputMode="adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700512
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800513 <intent-filter android:label="@string/editContactDescription">
514 <action android:name="android.intent.action.EDIT" />
515 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800516 <data android:mimeType="vnd.android.cursor.item/person" />
517 <data android:mimeType="vnd.android.cursor.item/contact" />
518 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800519 </intent-filter>
520 <intent-filter android:label="@string/insertContactDescription">
521 <action android:name="android.intent.action.INSERT" />
522 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700523 <data android:mimeType="vnd.android.cursor.dir/person" />
524 <data android:mimeType="vnd.android.cursor.dir/contact" />
525 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800526 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700527 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700528
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800529 <activity android:name=".test.FragmentTestActivity">
530 <intent-filter>
531 <category android:name="android.intent.category.TEST" />
532 </intent-filter>
533 </activity>
534
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700535 <!-- Stub service used to keep our process alive long enough for
536 background threads to finish their operations. -->
537 <service
538 android:name=".util.EmptyService"
539 android:exported="false" />
540
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700541 <!-- Service to save a contact -->
542 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800543 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700544 android:exported="false" />
545
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800546 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800547 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800548 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800549 android:taskAffinity="">
550 <intent-filter>
551 <action android:name="android.intent.action.ATTACH_DATA" />
552 <data android:mimeType="image/*" />
553 <category android:name="android.intent.category.DEFAULT" />
554 </intent-filter>
555 />
Neel Parekhbe406ff2009-09-16 15:31:22 -0700556 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800557
Dmitri Plotnikov884e3932010-05-13 19:13:51 -0700558 <!-- Interstitial activity that shows a phone disambig dialog -->
559 <activity android:name="CallContactActivity"
560 android:theme="@android:style/Theme.Translucent">
561 </activity>
562
Katherine Kuan9856fce2011-06-01 10:24:09 -0700563 <!-- Makes .PeopleActivity the search target for any activity in Contacts -->
Jeff Sharkey6831cd92010-02-28 19:56:58 -0800564 <meta-data
565 android:name="android.app.default_searchable"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700566 android:value=".activities.PeopleActivity" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800567
568
569 <!-- LIVE FOLDERS -->
570 <activity
571 android:name=".ContactsLiveFolders$AllContacts"
572 android:label="@string/liveFolderAll"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800573 android:icon="@mipmap/ic_launcher_folder_live_contacts">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800574 <intent-filter>
575 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
576 <category android:name="android.intent.category.DEFAULT" />
577 </intent-filter>
578 </activity>
579
580 <activity
581 android:name=".ContactsLiveFolders$StarredContacts"
582 android:label="@string/liveFolderFavorites"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800583 android:icon="@mipmap/ic_launcher_folder_live_contacts_starred">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800584 <intent-filter>
585 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
586 <category android:name="android.intent.category.DEFAULT" />
587 </intent-filter>
588 </activity>
589
590 <activity
591 android:name=".ContactsLiveFolders$PhoneContacts"
592 android:label="@string/liveFolderPhone"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800593 android:icon="@mipmap/ic_launcher_folder_live_contacts_phone">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800594 <intent-filter>
595 <action android:name="android.intent.action.CREATE_LIVE_FOLDER" />
596 <category android:name="android.intent.category.DEFAULT" />
597 </intent-filter>
598 </activity>
599
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700600 <!-- vCard related -->
601 <activity android:name=".vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700602 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900603 android:theme="@style/BackgroundOnly">
604 <intent-filter>
Jeff Hamiltone967f7c2011-06-30 12:01:23 -0500605 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
606 <data android:mimeType="text/x-vcard" />
607 <data android:mimeType="text/x-vCard" />
608 <data android:mimeType="text/vcard" />
609 <category android:name="android.intent.category.DEFAULT" />
610 </intent-filter>
611 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800612 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700613 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900614 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800615 <data android:mimeType="text/x-vcard" />
616 <category android:name="android.intent.category.DEFAULT" />
617 </intent-filter>
618 </activity>
619
Daisuke Miyakawaab596602010-11-18 17:28:02 -0800620 <activity android:name=".vcard.CancelActivity"
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700621 android:theme="@style/BackgroundOnly" />
622
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700623 <activity android:name=".vcard.SelectAccountActivity"
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900624 android:theme="@style/BackgroundOnly" />
625
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700626 <activity android:name=".vcard.ExportVCardActivity"
Daisuke Miyakawa0bec3b92009-09-25 13:33:27 -0700627 android:theme="@style/BackgroundOnly" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700628
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700629 <service
630 android:name=".vcard.VCardService"
631 android:exported="false" />
632
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700633 <!-- Pinned header list demo -->
634 <activity android:name=".widget.PinnedHeaderListDemoActivity">
635 <intent-filter>
636 <action android:name="android.intent.action.MAIN" />
637 <category android:name="android.intent.category.DEFAULT" />
638 </intent-filter>
639 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700640
641 <!-- The widget that shows details and the social stream of a contact -->
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700642 <receiver android:name=".socialwidget.SocialWidgetProvider"
Daniel Lehmannb0ab5d72010-11-03 16:21:22 -0700643 android:label="@string/social_widget_label" >
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700644 <intent-filter>
645 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
646 </intent-filter>
647 <meta-data android:name="android.appwidget.provider"
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700648 android:resource="@xml/social_widget_info" />
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700649 </receiver>
650
Flavio Lerdab78b7092011-07-26 13:38:44 +0100651 <receiver android:name=".calllog.CallLogReceiver">
Flavio Lerda87bd5362011-06-30 12:20:43 +0100652 <intent-filter>
653 <action android:name="android.intent.action.NEW_VOICEMAIL" />
654 <data
655 android:scheme="content"
656 android:host="com.android.voicemail"
657 />
658 </intent-filter>
Flavio Lerdab78b7092011-07-26 13:38:44 +0100659 <intent-filter android:priority="100">
660 <action android:name="android.intent.action.BOOT_COMPLETED"/>
661 </intent-filter>
Flavio Lerda87bd5362011-06-30 12:20:43 +0100662 </receiver>
663
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700664 <activity
Daniel Lehmannb93a26c2010-10-18 14:07:05 -0700665 android:name=".socialwidget.SocialWidgetConfigureActivity"
Daniel Lehmannb0ab5d72010-11-03 16:21:22 -0700666 android:theme="@android:style/Theme.Translucent.NoTitleBar" >
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700667 <intent-filter>
668 <action android:name="android.intent.action.APPWIDGET_PICK" />
669 </intent-filter>
670 </activity>
Flavio Lerdab78b7092011-07-26 13:38:44 +0100671
672 <service
673 android:name=".calllog.CallLogNotificationsService"
674 android:exported="false"
675 />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800676 </application>
677</manifest>