blob: e5dca5ad18d8e91c7527087d9c91de917f984ff3 [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
Brian Attwellbdd32642015-05-08 17:03:15 -070023 <!-- Whenever a permission is added here, it should also be added to
24 RequestPermissionsActivity so it can be requested at runtime. -->
Jay Shrauner41f45c72014-07-14 12:08:42 -070025 <uses-permission android:name="android.permission.CALL_PHONE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080026 <uses-permission android:name="android.permission.READ_CONTACTS" />
27 <uses-permission android:name="android.permission.WRITE_CONTACTS" />
Katherine Kuanaaa2ad52011-09-02 13:36:52 -070028 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Dianne Hackborn4a3e9802011-08-05 11:21:03 -070029 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
30 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
31 <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
Dave Santoro0a4d2252011-05-20 11:40:34 -070032 <uses-permission android:name="android.permission.READ_PROFILE" />
33 <uses-permission android:name="android.permission.WRITE_PROFILE" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080034 <uses-permission android:name="android.permission.INTERNET" />
Martijn Coenen8bd40652011-06-15 15:55:05 +020035 <uses-permission android:name="android.permission.NFC" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080036 <uses-permission android:name="android.permission.READ_PHONE_STATE" />
Daisuke Miyakawa2991dd92009-05-19 08:32:17 +090037 <uses-permission android:name="android.permission.WAKE_LOCK" />
Daisuke Miyakawa72c50522009-07-07 15:37:59 -070038 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Dmitri Plotnikovdaa2d5c2010-01-29 17:44:20 -080039 <uses-permission android:name="android.permission.WRITE_SETTINGS" />
Fred Quintana104b7922009-07-22 20:01:15 -070040 <uses-permission android:name="android.permission.USE_CREDENTIALS" />
Nicolas Catania9bcf4702009-11-06 13:19:43 -080041 <uses-permission android:name="android.permission.VIBRATE" />
Dmitri Plotnikov99811722010-11-01 18:21:22 -070042 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
Maurice Chu056a8462012-04-11 18:29:32 -070043 <uses-permission android:name="com.android.launcher.permission.INSTALL_SHORTCUT"/>
Jay Shrauner07f604f2014-06-24 15:10:04 -070044 <!-- Following used for QuickContacts -->
45 <uses-permission android:name="android.permission.READ_CALL_LOG" />
Paul Soulosb3054e52014-06-05 16:46:02 -070046 <uses-permission android:name="android.permission.READ_SMS" />
Paul Soulos899aa212014-06-11 12:04:43 -070047 <uses-permission android:name="android.permission.READ_CALENDAR" />
Brian Attwellbdd32642015-05-08 17:03:15 -070048 <uses-permission android:name="com.android.voicemail.permission.READ_VOICEMAIL" />
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"
Jay Shrauner39570862014-09-03 15:08:49 -070052 android:label="@string/applicationLabel"
Paul Soulos44bfcba2014-08-18 11:20:43 -070053 android:icon="@mipmap/ic_contacts_clr_48cv_44dp"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080054 android:taskAffinity="android.task.contacts"
Daniel Lehmann57b5aa12010-09-23 17:42:23 -070055 android:hardwareAccelerated="true"
Yorke Leea7109d72013-01-17 11:47:23 -080056 android:supportsRtl="true"
Alex Klyubin6746d252015-04-02 12:51:40 -070057 android:usesCleartextTraffic="false"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080058 >
59
Katherine Kuan9856fce2011-06-01 10:24:09 -070060 <!-- The main Contacts activity with the contact list, favorites, and groups. -->
61 <activity android:name=".activities.PeopleActivity"
Jay Shrauner39570862014-09-03 15:08:49 -070062 android:label="@string/launcherActivityLabel"
Katherine Kuan9856fce2011-06-01 10:24:09 -070063 android:theme="@style/PeopleTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -080064 android:clearTaskOnLaunch="true"
65 android:launchMode="singleTop"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080066 >
67 <intent-filter>
68 <action android:name="android.intent.action.MAIN" />
69 <category android:name="android.intent.category.DEFAULT" />
70 <category android:name="android.intent.category.LAUNCHER" />
Dmitri Plotnikov032bb362009-05-06 17:05:39 -070071 <category android:name="android.intent.category.BROWSABLE" />
Jeff Brownd7152b62011-11-28 16:34:58 -080072 <category android:name="android.intent.category.APP_CONTACTS" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080073 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -080074 <intent-filter>
75 <action android:name="com.android.contacts.action.LIST_DEFAULT" />
76 <category android:name="android.intent.category.DEFAULT" />
77 <category android:name="android.intent.category.TAB" />
78 </intent-filter>
79
80 <intent-filter>
81 <action android:name="com.android.contacts.action.LIST_CONTACTS" />
82 <category android:name="android.intent.category.DEFAULT" />
83 <category android:name="android.intent.category.TAB" />
84 </intent-filter>
85
86 <intent-filter>
87 <action android:name="com.android.contacts.action.LIST_ALL_CONTACTS" />
88 <category android:name="android.intent.category.DEFAULT" />
89 <category android:name="android.intent.category.TAB" />
90 </intent-filter>
91
92 <intent-filter>
93 <action android:name="com.android.contacts.action.LIST_CONTACTS_WITH_PHONES" />
94 <category android:name="android.intent.category.DEFAULT" />
95 <category android:name="android.intent.category.TAB" />
96 </intent-filter>
97
98 <intent-filter android:label="@string/starredList">
99 <action android:name="com.android.contacts.action.LIST_STARRED" />
100 <category android:name="android.intent.category.DEFAULT" />
101 <category android:name="android.intent.category.TAB" />
102 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700103
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800104 <intent-filter android:label="@string/frequentList">
105 <action android:name="com.android.contacts.action.LIST_FREQUENT" />
106 <category android:name="android.intent.category.DEFAULT" />
107 <category android:name="android.intent.category.TAB" />
108 </intent-filter>
109
110 <intent-filter android:label="@string/strequentList">
111 <action android:name="com.android.contacts.action.LIST_STREQUENT" />
112 <category android:name="android.intent.category.DEFAULT" />
113 <category android:name="android.intent.category.TAB" />
114 </intent-filter>
Dmitri Plotnikov27b97bc2010-10-07 18:06:09 -0700115
116 <intent-filter>
117 <action android:name="android.intent.action.SEARCH" />
118 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikov0edd4072011-01-19 10:10:10 -0800119 <data android:mimeType="vnd.android.cursor.dir/contact" />
Dmitri Plotnikov7b8f7462010-11-02 17:25:08 -0700120 </intent-filter>
121
122 <intent-filter>
Dmitri Plotnikov30b99712011-01-20 09:29:44 -0800123 <action android:name="android.intent.action.SEARCH" />
124 <category android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
126
127 <intent-filter>
Daisuke Miyakawaf0c46812011-08-23 15:58:21 -0700128 <action android:name="android.intent.action.VIEW" />
129 <category android:name="android.intent.category.DEFAULT" />
130 <data android:mimeType="vnd.android.cursor.dir/person" />
131 <data android:mimeType="vnd.android.cursor.dir/contact" />
132 </intent-filter>
133
Mathew Inwood700d3692013-09-30 15:48:28 +0100134 <meta-data android:name="android.app.searchable"
135 android:resource="@xml/searchable"
136 />
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700137 </activity>
Doug Zongker854d3262011-07-19 13:11:58 -0700138
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700139 <activity android:name=".activities.ContactSelectionActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700140 android:label="@string/launcherActivityLabel"
Dmitri Plotnikove1d4c062010-07-15 16:20:36 -0700141 android:theme="@style/ContactPickerTheme"
Dmitri Plotnikovfa49a662011-01-13 11:04:56 -0800142 android:launchMode="singleTop"
143 android:clearTaskOnLaunch="true"
Chiao Cheng934e39d2013-04-16 18:15:44 -0700144 android:uiOptions="splitActionBarWhenNarrow"
145 android:windowSoftInputMode="adjustResize">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800146 <intent-filter>
147 <action android:name="android.intent.action.INSERT_OR_EDIT" />
148 <category android:name="android.intent.category.DEFAULT" />
149 <data android:mimeType="vnd.android.cursor.item/person" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700150 <data android:mimeType="vnd.android.cursor.item/contact" />
151 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800152 </intent-filter>
Jeff Sharkey26c7e732009-04-01 17:30:46 -0700153
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800154 <intent-filter>
155 <action android:name="android.intent.action.PICK" />
156 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800157 <data android:mimeType="vnd.android.cursor.dir/contact" />
158 <data android:mimeType="vnd.android.cursor.dir/person" />
159 <data android:mimeType="vnd.android.cursor.dir/phone_v2" />
160 <data android:mimeType="vnd.android.cursor.dir/phone" />
161 <data android:mimeType="vnd.android.cursor.dir/postal-address_v2" />
162 <data android:mimeType="vnd.android.cursor.dir/postal-address" />
Daniel Lehmannc86ace72011-03-23 21:04:29 -0700163 <data android:mimeType="vnd.android.cursor.dir/email_v2" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800164 </intent-filter>
165
166 <intent-filter>
167 <action android:name="android.intent.action.GET_CONTENT" />
168 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800169 <data android:mimeType="vnd.android.cursor.item/contact" />
170 <data android:mimeType="vnd.android.cursor.item/person" />
171 <data android:mimeType="vnd.android.cursor.item/phone_v2" />
172 <data android:mimeType="vnd.android.cursor.item/phone" />
173 <data android:mimeType="vnd.android.cursor.item/postal-address_v2" />
174 <data android:mimeType="vnd.android.cursor.item/postal-address" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800175 </intent-filter>
Brian Attwell81cc3b32014-07-22 16:04:52 -0700176
177 <intent-filter>
178 <action android:name="com.android.contacts.action.JOIN_CONTACT" />
179 <category android:name="android.intent.category.DEFAULT" />
180 </intent-filter>
The Android Open Source Project37a16ac2009-03-18 17:39:48 -0700181 </activity>
182
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700183 <!-- Backwards compatibility: somebody may have hard coded this activity name -->
184 <activity-alias android:name="ContactsListActivity"
Katherine Kuan9856fce2011-06-01 10:24:09 -0700185 android:targetActivity=".activities.PeopleActivity"
Dmitri Plotnikov27834b22010-07-01 14:10:08 -0700186 />
187
Daniel Lehmanne9b94612011-07-11 11:44:56 -0700188 <!-- Backwards compatibility: "Contacts" from Honeycomb -->
189 <activity-alias android:name=".activities.ContactsFrontDoor"
190 android:targetActivity=".activities.PeopleActivity"
191 android:exported="true"
192 />
193
194 <!-- Backwards compatibility: "Contacts" from Gingerbread and earlier -->
195 <activity-alias android:name="DialtactsContactsEntryActivity"
196 android:targetActivity=".activities.PeopleActivity"
197 android:exported="true"
198 />
199
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700200 <!-- Used to set options -->
Daniel Lehmann10105742010-07-15 17:35:57 -0700201 <activity
Dmitri Plotnikovc85ad182010-09-17 18:12:49 -0700202 android:name=".preference.ContactsPreferenceActivity"
203 android:label="@string/activity_title_settings"
Yorke Lee676c4632013-09-06 16:16:10 -0700204 android:theme="@style/ContactsPreferencesTheme"
205 android:exported="false"/>
Jeff Sharkeyd5c5b9a2009-06-21 19:46:04 -0700206
Katherine Kuan495db432011-07-06 18:58:46 -0700207 <!-- Used to filter contacts list by account -->
208 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800209 android:name=".common.list.AccountFilterActivity"
Katherine Kuan495db432011-07-06 18:58:46 -0700210 android:label="@string/activity_title_contacts_filter"
211 android:theme="@style/ContactListFilterTheme" />
212
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700213 <!-- Used to select display and sync groups -->
214 <activity
Chiao Cheng30868d42012-11-28 17:45:57 -0800215 android:name=".common.list.CustomContactListFilterActivity"
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700216 android:label="@string/custom_list_filter"
Katherine Kuan495db432011-07-06 18:58:46 -0700217 android:theme="@style/ContactListFilterTheme" />
Dmitri Plotnikovd6e6b8a2010-09-15 16:23:02 -0700218
Jeff Sharkey802b2052009-08-04 14:21:06 -0700219 <activity
Brian Attwellbdd32642015-05-08 17:03:15 -0700220 android:name=".common.activity.RequestPermissionsActivity"
221 android:label="@string/launcherActivityLabel"
222 android:theme="@style/PeopleTheme"
223 android:exported="false"/>
224
225 <activity
Daniel Lehmann72af89f2010-10-18 15:15:59 -0700226 android:name=".activities.ShowOrCreateActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700227 android:label="@string/launcherActivityLabel"
Brian Attwell53e42012014-10-22 11:15:14 -0700228 android:theme="@android:style/Theme.Material.Light.Dialog.NoActionBar">
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700229
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700230 <intent-filter>
231 <action android:name="com.android.contacts.action.SHOW_OR_CREATE_CONTACT" />
Jeff Sharkey802b2052009-08-04 14:21:06 -0700232 <category android:name="android.intent.category.DEFAULT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700233 <data android:scheme="mailto" />
234 <data android:scheme="tel" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700235 </intent-filter>
Jeff Sharkeye8971622009-09-17 15:42:36 -0700236 </activity>
237
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700238 <!-- Views the details of a single group -->
239 <activity android:name=".activities.GroupDetailActivity"
240 android:label=""
Katherine Kuanab583952011-08-23 14:20:43 -0700241 android:theme="@style/DetailActivityTheme"/>
Katherine Kuanfd8cded2011-05-11 11:34:56 -0700242
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700243 <!-- Create a new or edit an existing group -->
244 <activity
245 android:name=".activities.GroupEditorActivity"
Katherine Kuanfd709032011-08-02 14:18:16 -0700246 android:theme="@style/EditorActivityTheme"
Katherine Kuanc6b8afe2011-06-22 19:03:50 -0700247 android:windowSoftInputMode="adjustResize" />
248
Jeff Sharkeye8971622009-09-17 15:42:36 -0700249 <activity
Daniel Lehmannedb576a2011-07-27 16:45:13 -0700250 android:name=".quickcontact.QuickContactActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700251 android:label="@string/launcherActivityLabel"
Jeff Sharkeycde73892011-04-07 00:48:02 -0700252 android:theme="@style/Theme.QuickContact"
Jeff Sharkey735e8b12009-09-30 14:57:07 -0700253 android:launchMode="singleTop"
Jeff Sharkey5cbf6f42009-10-02 14:22:51 -0700254 android:excludeFromRecents="true"
Adam Powell8ca93ed2012-04-23 13:28:28 -0700255 android:taskAffinity=""
Jeff Sharkeycde73892011-04-07 00:48:02 -0700256 android:windowSoftInputMode="stateUnchanged">
Jeff Sharkey3f177592009-05-18 15:23:12 -0700257
258 <intent-filter>
Evan Millar33b08452009-09-30 21:45:08 -0700259 <action android:name="com.android.contacts.action.QUICK_CONTACT" />
Yorke Lee9d2b6d52014-09-04 14:58:56 -0700260 <action android:name="android.provider.action.QUICK_CONTACT" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700261 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800262 <data android:mimeType="vnd.android.cursor.item/contact" />
263 <data android:mimeType="vnd.android.cursor.item/person" />
The Android Open Source Projecte740e2e2009-03-11 12:11:58 -0700264 </intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700265
Brian Attwellf0a2a8b2015-01-14 09:49:18 -0800266 <intent-filter>
Paul Soulos5fb3a582014-05-19 16:51:51 -0700267 <action android:name="android.intent.action.VIEW" />
268 <category android:name="android.intent.category.DEFAULT" />
269 <data android:mimeType="vnd.android.cursor.item/person" />
270 <data android:mimeType="vnd.android.cursor.item/contact" />
271 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
272 </intent-filter>
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800273 </activity>
274
Daniel Lehmannd1e50112012-05-06 16:41:15 -0700275 <receiver
276 android:name=".quickcontact.QuickContactBroadcastReceiver"
277 android:exported="false" />
278
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800279 <activity-alias android:name="ContactShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700280 android:targetActivity=".activities.ContactSelectionActivity"
Romain Guy4eb77b62009-03-24 18:10:17 -0700281 android:label="@string/shortcutContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700282 android:icon="@drawable/logo_quick_contacts_color_44in48dp">
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800283
284 <intent-filter>
285 <action android:name="android.intent.action.CREATE_SHORTCUT" />
286 <category android:name="android.intent.category.DEFAULT" />
287 </intent-filter>
288
289 </activity-alias>
290
Dianne Hackborn333a6152009-05-26 12:46:23 -0700291 <activity-alias android:name="alias.DialShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700292 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700293 android:label="@string/shortcutDialContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700294 android:icon="@drawable/logo_quick_contacts_dialer_color_44in48dp"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700295 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700296
297 <intent-filter>
298 <action android:name="android.intent.action.CREATE_SHORTCUT" />
299 <category android:name="android.intent.category.DEFAULT" />
Bernd Holzheya497ce52010-03-31 10:06:24 +0200300 <category android:name="android.intent.category.CAR_MODE" />
Dianne Hackborn333a6152009-05-26 12:46:23 -0700301 </intent-filter>
302
303 </activity-alias>
304
305 <activity-alias android:name="alias.MessageShortcut"
Dmitri Plotnikovb979b422010-07-01 15:29:15 -0700306 android:targetActivity=".activities.ContactSelectionActivity"
Dianne Hackborn333a6152009-05-26 12:46:23 -0700307 android:label="@string/shortcutMessageContact"
Paul Soulosad1df312014-09-12 15:43:22 -0700308 android:icon="@drawable/logo_quick_contacts_mail_color_44in48dp"
Daniel Lehmanne9b196e2010-10-26 12:17:39 -0700309 android:enabled="@*android:bool/config_voice_capable">
Dianne Hackborn333a6152009-05-26 12:46:23 -0700310
311 <intent-filter>
312 <action android:name="android.intent.action.CREATE_SHORTCUT" />
313 <category android:name="android.intent.category.DEFAULT" />
314 </intent-filter>
315
316 </activity-alias>
317
Katherine Kuan37bddc22011-07-09 17:36:26 -0700318 <!-- Confirm that a single detail will be added to an existing contact -->
319 <activity
320 android:name=".activities.ConfirmAddDetailActivity"
321 android:label="@string/activity_title_confirm_add_detail"
322 android:theme="@style/ConfirmAddDetailDialogTheme"
323 android:windowSoftInputMode="adjustResize"
324 android:exported="false"/>
325
Katherine Kuan0353a242011-09-23 10:38:28 -0700326 <!-- Accounts changed prompt that can appear when creating a new contact. -->
327 <activity
328 android:name=".activities.ContactEditorAccountsChangedActivity"
329 android:theme="@style/ContactEditorAccountsChangedActivityTheme"
330 android:windowSoftInputMode="adjustResize"
331 android:exported="false"/>
332
Brian Attwellbdd32642015-05-08 17:03:15 -0700333 <!-- Edit or create a contact with only the most important fields displayed initially. -->
334 <activity
335 android:name=".activities.CompactContactEditorActivity"
336 android:label="@string/launcherActivityLabel"
337 android:theme="@style/EditorActivityTheme"
338 android:windowSoftInputMode="stateHidden|adjustPan">
339
340 <intent-filter android:label="@string/editContactDescription">
341 <action android:name="android.intent.action.EDIT" />
342 <category android:name="android.intent.category.DEFAULT" />
343 <data android:mimeType="vnd.android.cursor.item/person" />
344 <data android:mimeType="vnd.android.cursor.item/contact" />
345 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
346 </intent-filter>
347 <intent-filter android:label="@string/insertContactDescription">
348 <action android:name="android.intent.action.INSERT" />
349 <category android:name="android.intent.category.DEFAULT" />
350 <data android:mimeType="vnd.android.cursor.dir/person" />
351 <data android:mimeType="vnd.android.cursor.dir/contact" />
352 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
353 </intent-filter>
354 </activity>
355
Daniel Lehmannf319cf82010-06-25 17:41:13 -0700356 <!-- Create a new or edit an existing contact -->
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700357 <activity
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700358 android:name=".activities.ContactEditorActivity"
Paul Soulos39937e32014-09-11 11:55:27 -0700359 android:label="@string/launcherActivityLabel"
Katherine Kuanfd709032011-08-02 14:18:16 -0700360 android:theme="@style/EditorActivityTheme"
Brian Attwellc5841bc2014-06-25 15:59:15 -0700361 android:windowSoftInputMode="stateHidden|adjustResize">
Jeff Sharkey14f61ab2009-08-05 21:02:37 -0700362
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800363 <intent-filter android:label="@string/editContactDescription">
364 <action android:name="android.intent.action.EDIT" />
365 <category android:name="android.intent.category.DEFAULT" />
Dmitri Plotnikovd11bca22010-12-08 20:15:17 -0800366 <data android:mimeType="vnd.android.cursor.item/person" />
367 <data android:mimeType="vnd.android.cursor.item/contact" />
368 <data android:mimeType="vnd.android.cursor.item/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800369 </intent-filter>
370 <intent-filter android:label="@string/insertContactDescription">
371 <action android:name="android.intent.action.INSERT" />
372 <category android:name="android.intent.category.DEFAULT" />
Jeff Sharkeyd9798ae2009-08-24 20:46:23 -0700373 <data android:mimeType="vnd.android.cursor.dir/person" />
374 <data android:mimeType="vnd.android.cursor.dir/contact" />
375 <data android:mimeType="vnd.android.cursor.dir/raw_contact" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800376 </intent-filter>
Daniel Lehmanncdef2b62010-06-06 18:25:49 -0700377 </activity>
Neel Parekhbe406ff2009-09-16 15:31:22 -0700378
Chiao Chenga2180f32012-08-17 16:23:35 -0700379 <activity android:name=".common.test.FragmentTestActivity">
Dmitri Plotnikov43fd1e82011-01-09 11:29:39 -0800380 <intent-filter>
381 <category android:name="android.intent.category.TEST" />
382 </intent-filter>
383 </activity>
384
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700385 <!-- Stub service used to keep our process alive long enough for
386 background threads to finish their operations. -->
387 <service
Chiao Cheng30868d42012-11-28 17:45:57 -0800388 android:name=".common.util.EmptyService"
Jeff Sharkey3f0b7b82009-08-12 11:28:53 -0700389 android:exported="false" />
390
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700391 <!-- Service to save a contact -->
392 <service
Dmitri Plotnikov72f2b7a2010-12-03 18:46:31 -0800393 android:name=".ContactSaveService"
Daniel Lehmann173ffe12010-06-14 18:19:10 -0700394 android:exported="false" />
395
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800396 <!-- Attaches a photo to a contact. Started from external applications -->
Dmitri Plotnikov19d51ac2011-01-04 14:30:24 -0800397 <activity android:name=".activities.AttachPhotoActivity"
Daniel Lehmann9442ef42010-11-09 17:35:53 -0800398 android:label="@string/attach_photo_dialog_title"
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800399 android:taskAffinity="">
400 <intent-filter>
401 <action android:name="android.intent.action.ATTACH_DATA" />
402 <data android:mimeType="image/*" />
403 <category android:name="android.intent.category.DEFAULT" />
404 </intent-filter>
Dave Santoro6fa73842011-09-28 14:37:06 -0700405 </activity>
406
Daisuke Miyakawa1b918e52010-06-07 15:48:41 -0700407 <!-- vCard related -->
Chiao Chenge98d54e2012-12-03 17:17:42 -0800408 <activity android:name=".common.vcard.ImportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700409 android:label="@string/launcherActivityLabel"
Daisuke Miyakawa4baff1e2011-04-07 14:28:37 -0700410 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700411 android:theme="@style/BackgroundOnlyTheme">
Daisuke Miyakawa6448da72010-04-02 12:06:44 +0900412 <intent-filter>
Lixin Yue24fc7632009-12-04 17:03:00 +0800413 <action android:name="android.intent.action.VIEW" />
Attila Bodis1261e132010-03-18 22:06:37 -0700414 <data android:mimeType="text/directory" />
Daisuke Miyakawa92ba98a2010-06-22 09:12:19 +0900415 <data android:mimeType="text/vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800416 <data android:mimeType="text/x-vcard" />
Jeff Hamilton1167da42011-08-03 09:38:47 -0500417 <category android:name="android.intent.category.DEFAULT" />
418 </intent-filter>
419 </activity>
420
Chiao Chenge98d54e2012-12-03 17:17:42 -0800421 <activity android:name=".common.vcard.NfcImportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700422 android:label="@string/launcherActivityLabel"
Jeff Hamilton1167da42011-08-03 09:38:47 -0500423 android:configChanges="orientation|screenSize|keyboardHidden"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700424 android:theme="@style/BackgroundOnlyTheme">
Jeff Hamilton1167da42011-08-03 09:38:47 -0500425 <intent-filter>
426 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
427 <data android:mimeType="text/vcard" />
428 <data android:mimeType="text/x-vcard" />
Lixin Yue24fc7632009-12-04 17:03:00 +0800429 <category android:name="android.intent.category.DEFAULT" />
430 </intent-filter>
431 </activity>
432
Chiao Chenge98d54e2012-12-03 17:17:42 -0800433 <activity android:name=".common.vcard.CancelActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700434 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700435 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa18b51902010-08-19 14:13:38 -0700436
Chiao Chenge98d54e2012-12-03 17:17:42 -0800437 <activity android:name=".common.vcard.SelectAccountActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700438 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700439 android:theme="@style/BackgroundOnlyTheme" />
Daisuke Miyakawa6d2f27f2010-04-21 16:11:38 +0900440
Chiao Chenge98d54e2012-12-03 17:17:42 -0800441 <activity android:name=".common.vcard.ExportVCardActivity"
Jay Shrauner39570862014-09-03 15:08:49 -0700442 android:label="@string/launcherActivityLabel"
Daisuke Miyakawae8b06c12011-08-29 09:47:34 -0700443 android:theme="@style/BackgroundOnlyTheme" />
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700444
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700445 <service
Chiao Chenge98d54e2012-12-03 17:17:42 -0800446 android:name=".common.vcard.VCardService"
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700447 android:exported="false" />
Jay Shrauner39570862014-09-03 15:08:49 -0700448 <!-- end vCard related -->
Daisuke Miyakawad8fb81a2010-06-08 17:44:22 -0700449
Dmitri Plotnikove1247222010-06-02 18:14:21 -0700450 <!-- Pinned header list demo -->
451 <activity android:name=".widget.PinnedHeaderListDemoActivity">
452 <intent-filter>
453 <action android:name="android.intent.action.MAIN" />
454 <category android:name="android.intent.category.DEFAULT" />
455 </intent-filter>
456 </activity>
Daniel Lehmann2d4f7592010-10-12 23:31:31 -0700457
Chiao Cheng3483b812012-10-23 16:26:40 -0700458 <!-- Intercept Dialer Intents for devices without a phone.
459 This activity should have the same intent filters as the DialtactsActivity,
460 so that its capturing the same events. Omit android.intent.category.LAUNCHER, because
461 we don't want this to show up in the Launcher. The priorities of the intent-filters
462 are set lower, so that the user does not see a disambig dialog -->
463 <activity
464 android:name="com.android.contacts.NonPhoneActivity"
465 android:theme="@style/NonPhoneActivityTheme"
Jay Shrauner39570862014-09-03 15:08:49 -0700466 android:label="@string/launcherActivityLabel"
Chiao Cheng3483b812012-10-23 16:26:40 -0700467 >
468 <intent-filter android:priority="-1">
Chiao Cheng3483b812012-10-23 16:26:40 -0700469 <action android:name="android.intent.action.MAIN"/>
470 <category android:name="android.intent.category.DEFAULT"/>
471 <category android:name="android.intent.category.BROWSABLE"/>
472 </intent-filter>
473 <intent-filter android:priority="-1">
474 <action android:name="android.intent.action.VIEW"/>
Chiao Cheng3483b812012-10-23 16:26:40 -0700475 <category android:name="android.intent.category.DEFAULT"/>
476 <category android:name="android.intent.category.BROWSABLE"/>
477 <data android:scheme="tel"/>
478 </intent-filter>
479 <intent-filter android:priority="-1">
480 <action android:name="android.intent.action.VIEW"/>
481 <category android:name="android.intent.category.DEFAULT"/>
482 <category android:name="android.intent.category.BROWSABLE"/>
483 <data android:mimeType="vnd.android.cursor.dir/calls"/>
484 </intent-filter>
Chiao Cheng3483b812012-10-23 16:26:40 -0700485 </activity>
486
487 <!-- Service that is exclusively for the Phone application that sends out a view
488 notification. This service might be removed in future versions of the app.
489
490 This is called explicitly by the phone app via package name and class.
491 (PhoneUtils.sendViewNotificationAsync()). If this service moves, then phone
492 needs to be changed as well.
493 -->
494 <service android:name=".ViewNotificationService"
495 android:permission="android.permission.WRITE_CONTACTS"
496 android:exported="true">
497 <intent-filter>
498 <action android:name="com.android.contacts.VIEW_NOTIFICATION"/>
499 <data android:mimeType="vnd.android.cursor.item/contact"/>
500 </intent-filter>
501 </service>
Daniel Lehmann93597c32012-04-19 17:01:17 -0700502
Yorke Leeff4b8262014-06-13 15:29:13 -0700503 <!-- Broadcast receiver that passively listens to location updates -->
504 <receiver android:name="com.android.contacts.common.location.CountryDetector$LocationChangedReceiver"/>
505
506 <!-- IntentService to update the user's current country -->
507 <service android:name="com.android.contacts.common.location.UpdateCountryService"
508 android:exported="false"/>
509
Yorke Lee637a38e2013-09-14 08:36:33 -0700510 <provider
511 android:name="android.support.v4.content.FileProvider"
512 android:authorities="com.android.contacts.files"
513 android:grantUriPermissions="true"
514 android:exported="false">
515 <meta-data
516 android:name="android.support.FILE_PROVIDER_PATHS"
517 android:resource="@xml/file_paths" />
518 </provider>
519
Martijn Coenen345ec4f2012-09-24 17:53:40 -0700520 <meta-data android:name="android.nfc.disable_beam_default" android:value="true" />
The Android Open Source Project7aa0e4c2009-03-03 19:32:21 -0800521 </application>
522</manifest>