blob: 1175fe754ba60c037feef73eb157d86fa4137815 [file] [log] [blame]
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2006 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
Neel Parekhbe406ff2009-09-16 15:31:22 -07007
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -08008 http://www.apache.org/licenses/LICENSE-2.0
Neel Parekhbe406ff2009-09-16 15:31:22 -07009
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080010 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15-->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Jeff Sharkey26c7e732009-04-01 17:30:46 -070018 package="com.android.contacts"
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070019 android:sharedUserId="android.uid.shared">
Jeff Sharkey26c7e732009-04-01 17:30:46 -070020
Jeff Hamiltone7883532010-02-11 16:25:48 -060021 <original-package android:name="com.android.contacts" />
22
Jay Shrauner41f45c72014-07-14 12:08:42 -070023 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080024 <uses-permission android:name="android.permission.CALL_PRIVILEGED" />
25 <uses-permission android:name="android.permission.READ_CONTACTS" />
26 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Katherine Kuanaaa2ad52011-09-02 13:36:52 -070027 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070028 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
29 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
30 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070031 <uses-permission android:name="android.permission.READ_PROFILE" />
32 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080033 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020034 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080035 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090036 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070037 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080038 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070039 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080040 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070041 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Maurice Chu056a8462012-04-11 18:29:32 -070042 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070043 <!-- Following used for QuickContacts -->
44 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070045 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070046 <uses-permission android:name="android.permission.READ_CALENDAR" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080047
48 <application
Dmitri Plotnikovf049ff02010-11-29 10:15:24 -080049 android:name="com.android.contacts.ContactsApplication"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080050 android:label="@string/contactsList"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -080051 android:icon="@mipmap/ic_launcher_contacts"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080052 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070053 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080054 android:supportsRtl="true"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080055 >
56
Katherine Kuan9856fce2011-06-01 10:24:09 -070057 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
58 <activity android:name=".activities.PeopleActivity"
59 android:label="@string/people"
60 android:theme="@style/PeopleTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080061 android:clearTaskOnLaunch="true"
62 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080063 >
64 <intent-filter>
65 <action android:name="android.intent.action.MAIN" />
66 <category android:name="android.intent.category.DEFAULT" />
67 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070068 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080069 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080070 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080071 <intent-filter>
72 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
73 <category android:name="android.intent.category.DEFAULT" />
74 <category android:name="android.intent.category.TAB" />
75 </intent-filter>
76
77 <intent-filter>
78 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
79 <category android:name="android.intent.category.DEFAULT" />
80 <category android:name="android.intent.category.TAB" />
81 </intent-filter>
82
83 <intent-filter>
84 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
85 <category android:name="android.intent.category.DEFAULT" />
86 <category android:name="android.intent.category.TAB" />
87 </intent-filter>
88
89 <intent-filter>
90 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
91 <category android:name="android.intent.category.DEFAULT" />
92 <category android:name="android.intent.category.TAB" />
93 </intent-filter>
94
95 <intent-filter android:label="@string/starredList">
96 <action android:name="com.android.contacts.action.LIST_STARRED" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.TAB" />
99 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700100
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800101 <intent-filter android:label="@string/frequentList">
102 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <category android:name="android.intent.category.TAB" />
105 </intent-filter>
106
107 <intent-filter android:label="@string/strequentList">
108 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
109 <category android:name="android.intent.category.DEFAULT" />
110 <category android:name="android.intent.category.TAB" />
111 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700112
113 <intent-filter>
114 <action android:name="android.intent.action.SEARCH" />
115 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800116 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700117 </intent-filter>
118
119 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800120 <action android:name="android.intent.action.SEARCH" />
121 <category android:name="android.intent.category.DEFAULT" />
122 </intent-filter>
123
124 <intent-filter>
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700125 <action android:name="com.android.contacts.action.FILTER_CONTACTS" />
126 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800127 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700128 </intent-filter>
129
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700130 <intent-filter>
131 <action android:name="android.intent.action.VIEW" />
132 <category android:name="android.intent.category.DEFAULT" />
133 <data android:mimeType="vnd.android.cursor.dir/person" />
134 <data android:mimeType="vnd.android.cursor.dir/contact" />
135 </intent-filter>
136
Mathew Inwood700d3692013-09-30 15:48:28 +0100137 <meta-data android:name="android.app.searchable"
138 android:resource="@xml/searchable"
139 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700140 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700141
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700142 <activity android:name=".activities.ContactSelectionActivity"
143 android:label="@string/contactsList"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700144 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800145 android:launchMode="singleTop"
146 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700147 android:uiOptions="splitActionBarWhenNarrow"
148 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800149 <intent-filter>
150 <action android:name="android.intent.action.INSERT_OR_EDIT" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700153 <data android:mimeType="vnd.android.cursor.item/contact" />
154 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800155 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700156
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800157 <intent-filter>
158 <action android:name="android.intent.action.PICK" />
159 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800160 <data android:mimeType="vnd.android.cursor.dir/contact" />
161 <data android:mimeType="vnd.android.cursor.dir/person" />
162 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
163 <data android:mimeType="vnd.android.cursor.dir/phone" />
164 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
165 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700166 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800167 </intent-filter>
168
169 <intent-filter>
170 <action android:name="android.intent.action.GET_CONTENT" />
171 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800172 <data android:mimeType="vnd.android.cursor.item/contact" />
173 <data android:mimeType="vnd.android.cursor.item/person" />
174 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
175 <data android:mimeType="vnd.android.cursor.item/phone" />
176 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
177 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800178 </intent-filter>
Brian Attwell81cc3b32014-07-22 16:04:52 -0700179
180 <intent-filter>
181 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
182 <category android:name="android.intent.category.DEFAULT" />
183 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700184 </activity>
185
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700186 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
187 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700188 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700189 />
190
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700191 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
192 <activity-alias android:name=".activities.ContactsFrontDoor"
193 android:targetActivity=".activities.PeopleActivity"
194 android:exported="true"
195 />
196
197 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
198 <activity-alias android:name="DialtactsContactsEntryActivity"
199 android:targetActivity=".activities.PeopleActivity"
200 android:exported="true"
201 />
202
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700203 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700204 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700205 android:name=".preference.ContactsPreferenceActivity"
206 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700207 android:theme="@style/ContactsPreferencesTheme"
208 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700209
Katherine Kuan495db432011-07-06 18:58:46 -0700210 <!-- Used to filter contacts list by account -->
211 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800212 android:name=".common.list.AccountFilterActivity"
Katherine Kuan495db432011-07-06 18:58:46 -0700213 android:label="@string/activity_title_contacts_filter"
214 android:theme="@style/ContactListFilterTheme" />
215
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700216 <!-- Used to select display and sync groups -->
217 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800218 android:name=".common.list.CustomContactListFilterActivity"
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700219 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700220 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700221
Jeff Sharkey802b2052009-08-04 14:21:06 -0700222 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700223 android:name=".activities.ShowOrCreateActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700224 android:theme="@android:style/Theme.Translucent.NoTitleBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700225
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700226 <intent-filter>
227 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700228 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700229 <data android:scheme="mailto" />
230 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700231 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700232 </activity>
233
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700234 <!-- Views the details of a single group -->
235 <activity android:name=".activities.GroupDetailActivity"
236 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700237 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700238
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700239 <!-- Create a new or edit an existing group -->
240 <activity
241 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700242 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700243 android:windowSoftInputMode="adjustResize" />
244
Jeff Sharkeye8971622009-09-17 15:42:36 -0700245 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700246 android:name=".quickcontact.QuickContactActivity"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700247 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700248 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700249 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700250 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700251 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700252
253 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700254 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700255 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800256 <data android:mimeType="vnd.android.cursor.item/contact" />
257 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700258 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700259
260 <intent-filter android:label="@string/viewContactDesription">
261 <action android:name="android.intent.action.VIEW" />
262 <category android:name="android.intent.category.DEFAULT" />
263 <data android:mimeType="vnd.android.cursor.item/person" />
264 <data android:mimeType="vnd.android.cursor.item/contact" />
265 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
266 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800267 </activity>
268
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700269 <receiver
270 android:name=".quickcontact.QuickContactBroadcastReceiver"
271 android:exported="false" />
272
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800273 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700274 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700275 android:label="@string/shortcutContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800276 android:icon="@mipmap/ic_launcher_shortcut_contact">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800277
278 <intent-filter>
279 <action android:name="android.intent.action.CREATE_SHORTCUT" />
280 <category android:name="android.intent.category.DEFAULT" />
281 </intent-filter>
282
283 </activity-alias>
284
Dianne Hackborn333a6152009-05-26 12:46:23 -0700285 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700286 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700287 android:label="@string/shortcutDialContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800288 android:icon="@mipmap/ic_launcher_shortcut_directdial"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700289 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700290
291 <intent-filter>
292 <action android:name="android.intent.action.CREATE_SHORTCUT" />
293 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200294 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700295 </intent-filter>
296
297 </activity-alias>
298
299 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700300 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700301 android:label="@string/shortcutMessageContact"
Daniel Lehmann174eb0a2010-11-23 11:40:02 -0800302 android:icon="@mipmap/ic_launcher_shortcut_directmessage"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700303 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700304
305 <intent-filter>
306 <action android:name="android.intent.action.CREATE_SHORTCUT" />
307 <category android:name="android.intent.category.DEFAULT" />
308 </intent-filter>
309
310 </activity-alias>
311
Katherine Kuan37bddc22011-07-09 17:36:26 -0700312 <!-- Confirm that a single detail will be added to an existing contact -->
313 <activity
314 android:name=".activities.ConfirmAddDetailActivity"
315 android:label="@string/activity_title_confirm_add_detail"
316 android:theme="@style/ConfirmAddDetailDialogTheme"
317 android:windowSoftInputMode="adjustResize"
318 android:exported="false"/>
319
Katherine Kuan0353a242011-09-23 10:38:28 -0700320 <!-- Accounts changed prompt that can appear when creating a new contact. -->
321 <activity
322 android:name=".activities.ContactEditorAccountsChangedActivity"
323 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
324 android:windowSoftInputMode="adjustResize"
325 android:exported="false"/>
326
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700327 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700328 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700329 android:name=".activities.ContactEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700330 android:theme="@style/EditorActivityTheme"
Brian Attwellc5841bc2014-06-25 15:59:15 -0700331 android:windowSoftInputMode="stateHidden|adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700332
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800333 <intent-filter android:label="@string/editContactDescription">
334 <action android:name="android.intent.action.EDIT" />
335 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800336 <data android:mimeType="vnd.android.cursor.item/person" />
337 <data android:mimeType="vnd.android.cursor.item/contact" />
338 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800339 </intent-filter>
340 <intent-filter android:label="@string/insertContactDescription">
341 <action android:name="android.intent.action.INSERT" />
342 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700343 <data android:mimeType="vnd.android.cursor.dir/person" />
344 <data android:mimeType="vnd.android.cursor.dir/contact" />
345 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800346 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700347 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700348
Chiao Chenga2180f32012-08-17 16:23:35 -0700349 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800350 <intent-filter>
351 <category android:name="android.intent.category.TEST" />
352 </intent-filter>
353 </activity>
354
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700355 <!-- Stub service used to keep our process alive long enough for
356 background threads to finish their operations. -->
357 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800358 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700359 android:exported="false" />
360
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700361 <!-- Service to save a contact -->
362 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800363 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700364 android:exported="false" />
365
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800366 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800367 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800368 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800369 android:taskAffinity="">
370 <intent-filter>
371 <action android:name="android.intent.action.ATTACH_DATA" />
372 <data android:mimeType="image/*" />
373 <category android:name="android.intent.category.DEFAULT" />
374 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700375 </activity>
376
Makoto Onuki272122c2012-05-02 17:00:12 -0700377 <!--
378 Internal photo selection activity. This activity handles all configuration changes by
379 itself.
380 -->
Dave Santoro6fa73842011-09-28 14:37:06 -0700381 <activity android:name=".activities.PhotoSelectionActivity"
382 android:theme="@style/Theme.PhotoSelector"
383 android:launchMode="singleTop"
Makoto Onuki272122c2012-05-02 17:00:12 -0700384 android:windowSoftInputMode="stateUnchanged"
385 android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|screenLayout|fontScale|uiMode|orientation|screenSize|smallestScreenSize"
386 >
Neel Parekhbe406ff2009-09-16 15:31:22 -0700387 </activity>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800388
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700389 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800390 <activity android:name=".common.vcard.ImportVCardActivity"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700391 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700392 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900393 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800394 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700395 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900396 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800397 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500398 <category android:name="android.intent.category.DEFAULT" />
399 </intent-filter>
400 </activity>
401
Chiao Chenge98d54e2012-12-03 17:17:42 -0800402 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500403 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700404 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500405 <intent-filter>
406 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
407 <data android:mimeType="text/vcard" />
408 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800409 <category android:name="android.intent.category.DEFAULT" />
410 </intent-filter>
411 </activity>
412
Chiao Chenge98d54e2012-12-03 17:17:42 -0800413 <activity android:name=".common.vcard.CancelActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700414 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700415
Chiao Chenge98d54e2012-12-03 17:17:42 -0800416 <activity android:name=".common.vcard.SelectAccountActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700417 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900418
Chiao Chenge98d54e2012-12-03 17:17:42 -0800419 <activity android:name=".common.vcard.ExportVCardActivity"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700420 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700421
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700422 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800423 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700424 android:exported="false" />
425
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700426 <!-- Pinned header list demo -->
427 <activity android:name=".widget.PinnedHeaderListDemoActivity">
428 <intent-filter>
429 <action android:name="android.intent.action.MAIN" />
430 <category android:name="android.intent.category.DEFAULT" />
431 </intent-filter>
432 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700433
Chiao Cheng3483b812012-10-23 16:26:40 -0700434 <!-- Intercept Dialer Intents for devices without a phone.
435 This activity should have the same intent filters as the DialtactsActivity,
436 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
437 we don't want this to show up in the Launcher. The priorities of the intent-filters
438 are set lower, so that the user does not see a disambig dialog -->
439 <activity
440 android:name="com.android.contacts.NonPhoneActivity"
441 android:theme="@style/NonPhoneActivityTheme"
442 >
443 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700444 <action android:name="android.intent.action.MAIN"/>
445 <category android:name="android.intent.category.DEFAULT"/>
446 <category android:name="android.intent.category.BROWSABLE"/>
447 </intent-filter>
448 <intent-filter android:priority="-1">
449 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700450 <category android:name="android.intent.category.DEFAULT"/>
451 <category android:name="android.intent.category.BROWSABLE"/>
452 <data android:scheme="tel"/>
453 </intent-filter>
454 <intent-filter android:priority="-1">
455 <action android:name="android.intent.action.VIEW"/>
456 <category android:name="android.intent.category.DEFAULT"/>
457 <category android:name="android.intent.category.BROWSABLE"/>
458 <data android:mimeType="vnd.android.cursor.dir/calls"/>
459 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700460 </activity>
461
462 <!-- Service that is exclusively for the Phone application that sends out a view
463 notification. This service might be removed in future versions of the app.
464
465 This is called explicitly by the phone app via package name and class.
466 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
467 needs to be changed as well.
468 -->
469 <service android:name=".ViewNotificationService"
470 android:permission="android.permission.WRITE_CONTACTS"
471 android:exported="true">
472 <intent-filter>
473 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
474 <data android:mimeType="vnd.android.cursor.item/contact"/>
475 </intent-filter>
476 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700477
Yorke Leeff4b8262014-06-13 15:29:13 -0700478 <!-- Broadcast receiver that passively listens to location updates -->
479 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
480
481 <!-- IntentService to update the user's current country -->
482 <service android:name="com.android.contacts.common.location.UpdateCountryService"
483 android:exported="false"/>
484
Yorke Lee637a38e2013-09-14 08:36:33 -0700485 <provider
486 android:name="android.support.v4.content.FileProvider"
487 android:authorities="com.android.contacts.files"
488 android:grantUriPermissions="true"
489 android:exported="false">
490 <meta-data
491 android:name="android.support.FILE_PROVIDER_PATHS"
492 android:resource="@xml/file_paths" />
493 </provider>
494
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700495 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800496 </application>
497</manifest>