blob: 4175ef45a892167d7325369d420af95aadf5d9d9 [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.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" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080032 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020033 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080034 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090035 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070036 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080037 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070038 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080039 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070040 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Maurice Chu056a8462012-04-11 18:29:32 -070041 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070042 <!-- Following used for QuickContacts -->
43 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070044 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070045 <uses-permission android:name="android.permission.READ_CALENDAR" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080046
47 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080048 android:name="com.android.contacts.ContactsApplication"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080049 android:label="@string/contactsList"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -080050 android:icon="@mipmap/ic_launcher_contacts"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080051 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070052 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080053 android:supportsRtl="true"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080054 >
55
Katherine Kuan9856fce2011-06-01 10:24:09 -070056 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
57 <activity android:name=".activities.PeopleActivity"
58 android:label="@string/people"
59 android:theme="@style/PeopleTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080060 android:clearTaskOnLaunch="true"
61 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080062 >
63 <intent-filter>
64 <action android:name="android.intent.action.MAIN" />
65 <category android:name="android.intent.category.DEFAULT" />
66 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070067 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080068 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080069 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080070 <intent-filter>
71 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
72 <category android:name="android.intent.category.DEFAULT" />
73 <category android:name="android.intent.category.TAB" />
74 </intent-filter>
75
76 <intent-filter>
77 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
78 <category android:name="android.intent.category.DEFAULT" />
79 <category android:name="android.intent.category.TAB" />
80 </intent-filter>
81
82 <intent-filter>
83 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
84 <category android:name="android.intent.category.DEFAULT" />
85 <category android:name="android.intent.category.TAB" />
86 </intent-filter>
87
88 <intent-filter>
89 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
90 <category android:name="android.intent.category.DEFAULT" />
91 <category android:name="android.intent.category.TAB" />
92 </intent-filter>
93
94 <intent-filter android:label="@string/starredList">
95 <action android:name="com.android.contacts.action.LIST_STARRED" />
96 <category android:name="android.intent.category.DEFAULT" />
97 <category android:name="android.intent.category.TAB" />
98 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -070099
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800100 <intent-filter android:label="@string/frequentList">
101 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
102 <category android:name="android.intent.category.DEFAULT" />
103 <category android:name="android.intent.category.TAB" />
104 </intent-filter>
105
106 <intent-filter android:label="@string/strequentList">
107 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
108 <category android:name="android.intent.category.DEFAULT" />
109 <category android:name="android.intent.category.TAB" />
110 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700111
112 <intent-filter>
113 <action android:name="android.intent.action.SEARCH" />
114 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800115 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700116 </intent-filter>
117
118 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800119 <action android:name="android.intent.action.SEARCH" />
120 <category android:name="android.intent.category.DEFAULT" />
121 </intent-filter>
122
123 <intent-filter>
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700124 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
125 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800126 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700127 </intent-filter>
128
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700129 <intent-filter>
130 <action android:name="android.intent.action.VIEW" />
131 <category android:name="android.intent.category.DEFAULT" />
132 <data android:mimeType="vnd.android.cursor.dir/person" />
133 <data android:mimeType="vnd.android.cursor.dir/contact" />
134 </intent-filter>
135
Mathew Inwood700d3692013-09-30 15:48:28 +0100136 <meta-data android:name="android.app.searchable"
137 android:resource="@xml/searchable"
138 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700139 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700140
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700141 <activity android:name=".activities.ContactSelectionActivity"
142 android:label="@string/contactsList"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700143 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800144 android:launchMode="singleTop"
145 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700146 android:uiOptions="splitActionBarWhenNarrow"
147 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800148 <intent-filter>
149 <action android:name="android.intent.action.INSERT_OR_EDIT" />
150 <category android:name="android.intent.category.DEFAULT" />
151 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700152 <data android:mimeType="vnd.android.cursor.item/contact" />
153 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800154 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700155
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800156 <intent-filter>
157 <action android:name="android.intent.action.PICK" />
158 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800159 <data android:mimeType="vnd.android.cursor.dir/contact" />
160 <data android:mimeType="vnd.android.cursor.dir/person" />
161 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
162 <data android:mimeType="vnd.android.cursor.dir/phone" />
163 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
164 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700165 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800166 </intent-filter>
167
168 <intent-filter>
169 <action android:name="android.intent.action.GET_CONTENT" />
170 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800171 <data android:mimeType="vnd.android.cursor.item/contact" />
172 <data android:mimeType="vnd.android.cursor.item/person" />
173 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
174 <data android:mimeType="vnd.android.cursor.item/phone" />
175 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
176 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800177 </intent-filter>
Brian Attwell81cc3b32014-07-22 16:04:52 -0700178
179 <intent-filter>
180 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
181 <category android:name="android.intent.category.DEFAULT" />
182 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700183 </activity>
184
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700185 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
186 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700187 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700188 />
189
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700190 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
191 <activity-alias android:name=".activities.ContactsFrontDoor"
192 android:targetActivity=".activities.PeopleActivity"
193 android:exported="true"
194 />
195
196 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
197 <activity-alias android:name="DialtactsContactsEntryActivity"
198 android:targetActivity=".activities.PeopleActivity"
199 android:exported="true"
200 />
201
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700202 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700203 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700204 android:name=".preference.ContactsPreferenceActivity"
205 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700206 android:theme="@style/ContactsPreferencesTheme"
207 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700208
Katherine Kuan495db432011-07-06 18:58:46 -0700209 <!-- Used to filter contacts list by account -->
210 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800211 android:name=".common.list.AccountFilterActivity"
Katherine Kuan495db432011-07-06 18:58:46 -0700212 android:label="@string/activity_title_contacts_filter"
213 android:theme="@style/ContactListFilterTheme" />
214
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700215 <!-- Used to select display and sync groups -->
216 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800217 android:name=".common.list.CustomContactListFilterActivity"
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700218 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700219 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700220
Jeff Sharkey802b2052009-08-04 14:21:06 -0700221 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700222 android:name=".activities.ShowOrCreateActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700223 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700224
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700225 <intent-filter>
226 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700227 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700228 <data android:scheme="mailto" />
229 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700230 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700231 </activity>
232
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700233 <!-- Views the details of a single group -->
234 <activity android:name=".activities.GroupDetailActivity"
235 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700236 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700237
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700238 <!-- Create a new or edit an existing group -->
239 <activity
240 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700241 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700242 android:windowSoftInputMode="adjustResize" />
243
Jeff Sharkeye8971622009-09-17 15:42:36 -0700244 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700245 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700246 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700247 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700248 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700249 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700250 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700251
252 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700253 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700254 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800255 <data android:mimeType="vnd.android.cursor.item/contact" />
256 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700257 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700258
259 <intent-filter android:label="@string/viewContactDesription">
260 <action android:name="android.intent.action.VIEW" />
261 <category android:name="android.intent.category.DEFAULT" />
262 <data android:mimeType="vnd.android.cursor.item/person" />
263 <data android:mimeType="vnd.android.cursor.item/contact" />
264 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
265 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800266 </activity>
267
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700268 <receiver
269 android:name=".quickcontact.QuickContactBroadcastReceiver"
270 android:exported="false" />
271
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800272 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700273 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700274 android:label="@string/shortcutContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800275 android:icon="@mipmap/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800276
277 <intent-filter>
278 <action android:name="android.intent.action.CREATE_SHORTCUT" />
279 <category android:name="android.intent.category.DEFAULT" />
280 </intent-filter>
281
282 </activity-alias>
283
Dianne Hackborn333a6152009-05-26 12:46:23 -0700284 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700285 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700286 android:label="@string/shortcutDialContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800287 android:icon="@mipmap/ic_launcher_shortcut_directdial"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700288 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700289
290 <intent-filter>
291 <action android:name="android.intent.action.CREATE_SHORTCUT" />
292 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200293 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700294 </intent-filter>
295
296 </activity-alias>
297
298 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700299 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700300 android:label="@string/shortcutMessageContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800301 android:icon="@mipmap/ic_launcher_shortcut_directmessage"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700302 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700303
304 <intent-filter>
305 <action android:name="android.intent.action.CREATE_SHORTCUT" />
306 <category android:name="android.intent.category.DEFAULT" />
307 </intent-filter>
308
309 </activity-alias>
310
Katherine Kuan37bddc22011-07-09 17:36:26 -0700311 <!-- Confirm that a single detail will be added to an existing contact -->
312 <activity
313 android:name=".activities.ConfirmAddDetailActivity"
314 android:label="@string/activity_title_confirm_add_detail"
315 android:theme="@style/ConfirmAddDetailDialogTheme"
316 android:windowSoftInputMode="adjustResize"
317 android:exported="false"/>
318
Katherine Kuan0353a242011-09-23 10:38:28 -0700319 <!-- Accounts changed prompt that can appear when creating a new contact. -->
320 <activity
321 android:name=".activities.ContactEditorAccountsChangedActivity"
322 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
323 android:windowSoftInputMode="adjustResize"
324 android:exported="false"/>
325
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700326 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700327 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700328 android:name=".activities.ContactEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700329 android:theme="@style/EditorActivityTheme"
Brian Attwellc5841bc2014-06-25 15:59:15 -0700330 android:windowSoftInputMode="stateHidden|adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700331
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800332 <intent-filter android:label="@string/editContactDescription">
333 <action android:name="android.intent.action.EDIT" />
334 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800335 <data android:mimeType="vnd.android.cursor.item/person" />
336 <data android:mimeType="vnd.android.cursor.item/contact" />
337 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800338 </intent-filter>
339 <intent-filter android:label="@string/insertContactDescription">
340 <action android:name="android.intent.action.INSERT" />
341 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700342 <data android:mimeType="vnd.android.cursor.dir/person" />
343 <data android:mimeType="vnd.android.cursor.dir/contact" />
344 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800345 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700346 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700347
Chiao Chenga2180f32012-08-17 16:23:35 -0700348 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800349 <intent-filter>
350 <category android:name="android.intent.category.TEST" />
351 </intent-filter>
352 </activity>
353
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700354 <!-- Stub service used to keep our process alive long enough for
355 background threads to finish their operations. -->
356 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800357 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700358 android:exported="false" />
359
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700360 <!-- Service to save a contact -->
361 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800362 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700363 android:exported="false" />
364
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800365 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800366 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800367 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800368 android:taskAffinity="">
369 <intent-filter>
370 <action android:name="android.intent.action.ATTACH_DATA" />
371 <data android:mimeType="image/*" />
372 <category android:name="android.intent.category.DEFAULT" />
373 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700374 </activity>
375
Makoto Onuki272122c2012-05-02 17:00:12 -0700376 <!--
377 Internal photo selection activity. This activity handles all configuration changes by
378 itself.
379 -->
Dave Santoro6fa73842011-09-28 14:37:06 -0700380 <activity android:name=".activities.PhotoSelectionActivity"
381 android:theme="@style/Theme.PhotoSelector"
382 android:launchMode="singleTop"
Makoto Onuki272122c2012-05-02 17:00:12 -0700383 android:windowSoftInputMode="stateUnchanged"
384 android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"
385 >
Neel Parekhbe406ff2009-09-16 15:31:22 -0700386 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800387
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700388 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800389 <activity android:name=".common.vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700390 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700391 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900392 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800393 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700394 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900395 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800396 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500397 <category android:name="android.intent.category.DEFAULT" />
398 </intent-filter>
399 </activity>
400
Chiao Chenge98d54e2012-12-03 17:17:42 -0800401 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500402 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700403 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500404 <intent-filter>
405 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
406 <data android:mimeType="text/vcard" />
407 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800408 <category android:name="android.intent.category.DEFAULT" />
409 </intent-filter>
410 </activity>
411
Chiao Chenge98d54e2012-12-03 17:17:42 -0800412 <activity android:name=".common.vcard.CancelActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700413 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700414
Chiao Chenge98d54e2012-12-03 17:17:42 -0800415 <activity android:name=".common.vcard.SelectAccountActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700416 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900417
Chiao Chenge98d54e2012-12-03 17:17:42 -0800418 <activity android:name=".common.vcard.ExportVCardActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700419 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700420
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700421 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800422 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700423 android:exported="false" />
424
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700425 <!-- Pinned header list demo -->
426 <activity android:name=".widget.PinnedHeaderListDemoActivity">
427 <intent-filter>
428 <action android:name="android.intent.action.MAIN" />
429 <category android:name="android.intent.category.DEFAULT" />
430 </intent-filter>
431 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700432
Chiao Cheng3483b812012-10-23 16:26:40 -0700433 <!-- Intercept Dialer Intents for devices without a phone.
434 This activity should have the same intent filters as the DialtactsActivity,
435 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
436 we don't want this to show up in the Launcher. The priorities of the intent-filters
437 are set lower, so that the user does not see a disambig dialog -->
438 <activity
439 android:name="com.android.contacts.NonPhoneActivity"
440 android:theme="@style/NonPhoneActivityTheme"
441 >
442 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700443 <action android:name="android.intent.action.MAIN"/>
444 <category android:name="android.intent.category.DEFAULT"/>
445 <category android:name="android.intent.category.BROWSABLE"/>
446 </intent-filter>
447 <intent-filter android:priority="-1">
448 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700449 <category android:name="android.intent.category.DEFAULT"/>
450 <category android:name="android.intent.category.BROWSABLE"/>
451 <data android:scheme="tel"/>
452 </intent-filter>
453 <intent-filter android:priority="-1">
454 <action android:name="android.intent.action.VIEW"/>
455 <category android:name="android.intent.category.DEFAULT"/>
456 <category android:name="android.intent.category.BROWSABLE"/>
457 <data android:mimeType="vnd.android.cursor.dir/calls"/>
458 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700459 </activity>
460
461 <!-- Service that is exclusively for the Phone application that sends out a view
462 notification. This service might be removed in future versions of the app.
463
464 This is called explicitly by the phone app via package name and class.
465 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
466 needs to be changed as well.
467 -->
468 <service android:name=".ViewNotificationService"
469 android:permission="android.permission.WRITE_CONTACTS"
470 android:exported="true">
471 <intent-filter>
472 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
473 <data android:mimeType="vnd.android.cursor.item/contact"/>
474 </intent-filter>
475 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700476
Yorke Leeff4b8262014-06-13 15:29:13 -0700477 <!-- Broadcast receiver that passively listens to location updates -->
478 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
479
480 <!-- IntentService to update the user's current country -->
481 <service android:name="com.android.contacts.common.location.UpdateCountryService"
482 android:exported="false"/>
483
Yorke Lee637a38e2013-09-14 08:36:33 -0700484 <provider
485 android:name="android.support.v4.content.FileProvider"
486 android:authorities="com.android.contacts.files"
487 android:grantUriPermissions="true"
488 android:exported="false">
489 <meta-data
490 android:name="android.support.FILE_PROVIDER_PATHS"
491 android:resource="@xml/file_paths" />
492 </provider>
493
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700494 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800495 </application>
496</manifest>