blob: 8d4c33473b190a0da53fb58043e3384001506c9b [file] [log] [blame]
The Android Open Source Project96c5af42009-03-03 19:32:22 -08001<?xml version="1.0" encoding="utf-8"?>
Marc Blankf4192872012-06-28 10:40:46 -07002<!--
3 Copyright (C) 2012 The Android Open Source Project
The Android Open Source Project96c5af42009-03-03 19:32:22 -08004
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
Makoto Onukid6a29782010-07-21 14:29:49 -07008
The Android Open Source Project96c5af42009-03-03 19:32:22 -08009 http://www.apache.org/licenses/LICENSE-2.0
Makoto Onukid6a29782010-07-21 14:29:49 -070010
The Android Open Source Project96c5af42009-03-03 19:32:22 -080011 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
Marc Blankf4192872012-06-28 10:40:46 -070017<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Andy Stadlerd2fcefc2010-12-15 17:49:07 -080018 package="com.android.email"
Yu Ping Hueba3ec72013-05-08 17:41:14 -070019 android:versionCode="500031" >
Jeff Hamilton1e56db62010-02-11 16:25:49 -060020
Marc Blankf4192872012-06-28 10:40:46 -070021 <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
22 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
23 <uses-permission android:name="android.permission.INTERNET"/>
24 <uses-permission android:name="android.permission.VIBRATE"/>
25 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
26 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Marc Blankcbc842c2011-06-21 12:11:57 -070027 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
Marc Blankf4192872012-06-28 10:40:46 -070028 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
29 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
30 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
31 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
32 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Marc Blanke714bb92012-08-22 22:25:42 -070033 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
Marc Blankf4192872012-06-28 10:40:46 -070034 <uses-permission android:name="android.permission.READ_CALENDAR"/>
Marc Blanke714bb92012-08-22 22:25:42 -070035 <uses-permission android:name="android.permission.WRITE_CALENDAR"/>
Marc Blankf4192872012-06-28 10:40:46 -070036 <uses-permission android:name="android.permission.READ_PROFILE"/>
37 <uses-permission android:name="android.permission.NFC"/>
38 <uses-permission android:name="android.permission.WAKE_LOCK"/>
39 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
Fred Quintana4c195432009-08-17 13:05:44 -070040
Marc Blankf4192872012-06-28 10:40:46 -070041 <!-- This needs to be present when we are doing unbundled releases. -->
Paul Westbrookf81b5402012-09-14 01:56:17 -070042 <uses-sdk android:targetSdkVersion="17" android:minSdkVersion="14" />
Andrew Stadler22722202009-09-20 17:23:59 -070043
Paul Westbrook51693c52012-07-20 14:57:40 -070044 <original-package android:name="com.android.email" />
45
Andrew Stadler22722202009-09-20 17:23:59 -070046 <!-- Grant permission to other apps to view attachments -->
Marc Blank1b9337e2010-09-23 09:19:44 -070047 <permission
48 android:name="com.android.email.permission.READ_ATTACHMENT"
49 android:permissionGroup="android.permission-group.MESSAGES"
50 android:protectionLevel="dangerous"
Todd Kennedy3d81e232011-05-05 10:50:10 -070051 android:label="@string/permission_read_attachment_label"
52 android:description="@string/permission_read_attachment_desc"/>
Marc Blank1b9337e2010-09-23 09:19:44 -070053 <uses-permission
54 android:name="com.android.email.permission.READ_ATTACHMENT"/>
Andrew Stadler22722202009-09-20 17:23:59 -070055
Ben Komalo78959912011-05-04 10:15:35 -070056 <uses-permission
57 android:name="android.permission.USE_CREDENTIALS"/>
58
Andrew Stadler22722202009-09-20 17:23:59 -070059 <!-- Grant permission to system apps to access provider (see provider below) -->
Marc Blankf4192872012-06-28 10:40:46 -070060 <!-- STOPSHIP: Temporarily set protection level to "dangerous" (from "signature") -->
Marc Blank1b9337e2010-09-23 09:19:44 -070061 <permission
62 android:name="com.android.email.permission.ACCESS_PROVIDER"
Marc Blankf4192872012-06-28 10:40:46 -070063 android:protectionLevel="dangerous"
Marc Blank1b9337e2010-09-23 09:19:44 -070064 android:label="@string/permission_access_provider_label"
65 android:description="@string/permission_access_provider_desc"/>
66 <uses-permission
67 android:name="com.android.email.permission.ACCESS_PROVIDER"/>
Andrew Stadler22722202009-09-20 17:23:59 -070068
Andy Stadler5c4c0ab2010-11-23 12:06:44 -080069 <application
Marc Blankf4192872012-06-28 10:40:46 -070070 android:icon="@mipmap/ic_launcher_mail"
Andy Stadler5c4c0ab2010-11-23 12:06:44 -080071 android:label="@string/app_name"
Marc Blankf4192872012-06-28 10:40:46 -070072 android:theme="@style/UnifiedEmailTheme"
73 android:hardwareAccelerated="true" >
74 <!-- Enable search in all activities -->
75 <meta-data android:name="android.app.default_searchable"
76 android:value="com.android.email2.ui.MailActivityEmail" />
Andrew Stadler842ac042010-02-10 23:17:55 -080077 <activity
Marc Blankf4192872012-06-28 10:40:46 -070078 android:name="com.android.mail.compose.ComposeActivity"
79 android:label="@string/app_name"
Mindy Pereira9fbb81c2012-08-13 09:58:47 -070080 android:theme="@android:style/Theme.Holo.Light">
The Android Open Source Project96c5af42009-03-03 19:32:22 -080081 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -070082 <action
83 android:name="android.intent.action.VIEW" />
84 <action
85 android:name="android.intent.action.SENDTO" />
86 <data
87 android:scheme="mailto" />
88 <category
89 android:name="android.intent.category.DEFAULT" />
90 <category
91 android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -080092 </intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -070093 <intent-filter
94 android:label="@string/app_name">
95 <action
96 android:name="android.intent.action.SEND" />
97 <data
98 android:mimeType="*/*" />
99 <category
100 android:name="android.intent.category.DEFAULT" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800101 </intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700102 <intent-filter
103 android:label="@string/app_name">
104 <action
105 android:name="android.intent.action.SEND_MULTIPLE" />
106 <data
107 android:mimeType="*/*" />
108 <category
109 android:name="android.intent.category.DEFAULT" />
110 </intent-filter>
111 <intent-filter>
112 <action
113 android:name="com.android.email.intent.action.REPLY" />
Mihai Predafa2238c2009-09-01 16:25:30 +0200114 </intent-filter>
Marc Blankf4192872012-06-28 10:40:46 -0700115 <intent-filter>
116 <action android:name="android.intent.action.SEND" />
117 <category
118 android:name="android.intent.category.DEFAULT" />
119 <data
120 android:scheme="content"
121 android:host="ui.email2.android.com"
122 android:pathPrefix="/compose"
123 />
124 </intent-filter>
Mindy Pereira50b50df2012-07-23 13:14:11 -0700125 <intent-filter>
126 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
127 <category android:name="android.intent.category.DEFAULT" />
128 <data android:scheme="mailto" />
129 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800130 </activity>
Marc Blank53cb37c2009-08-28 10:33:18 -0700131
Makoto Onuki2ed7a862011-05-16 15:23:15 -0700132 <activity
Marc Blankf4192872012-06-28 10:40:46 -0700133 android:name=".activity.EventViewer"
134 android:label="@string/app_name"
135 android:theme="@android:style/Theme.Holo.Light"
Makoto Onuki2ed7a862011-05-16 15:23:15 -0700136 >
137 <intent-filter>
Marc Blankf4192872012-06-28 10:40:46 -0700138 <action android:name="android.intent.action.VIEW" />
139 <category
140 android:name="android.intent.category.DEFAULT" />
141 <data
142 android:scheme="content"
143 android:host="ui.email2.android.com"
144 android:pathPrefix="/event"
145 />
Makoto Onuki2ed7a862011-05-16 15:23:15 -0700146 </intent-filter>
147 </activity>
Marc Blankf4192872012-06-28 10:40:46 -0700148
149 <!-- TODO: this activity doesn't exist. Determine what to do here -->
150 <activity android:name=".ui.CreateShortcutActivity"
151 android:label="@string/activity_folder_selection" />
152
153 <activity android:name="com.android.mail.ui.FolderSelectionActivity"
154 android:label="@string/activity_folder_selection" />
155
156 <activity android:name="com.android.email2.ui.MailboxSelectionActivityEmail"
157 android:label="@string/app_name" >
158 <intent-filter>
159 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
160 </intent-filter>
161 </activity>
162
163 <activity android:name="com.android.mail.ui.ShortcutNameActivity"
164 android:label="@string/shortcut_name_title"
165 android:theme="@style/ShortcutWidgetTheme">
166 </activity>
167
168 <activity android:name="com.android.mail.ui.MailboxSelectionActivity"
169 android:label="@string/app_name" >
170 <intent-filter>
171 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
172 </intent-filter>
173 </activity>
174
175 <activity android:name="com.android.email2.ui.CreateShortcutActivityEmail"
176 android:theme="@style/ShortcutWidgetTheme"
177 android:label="@string/activity_folder_selection">
178
179 <intent-filter>
180 <action android:name="android.intent.action.CREATE_SHORTCUT" />
181 <category android:name="android.intent.category.DEFAULT" />
182 </intent-filter>
183
184 </activity>
185
186 <activity
187 android:label="@string/app_name"
188 android:name="com.android.email2.ui.MailActivityEmail"
Vikram Aggarwal1c500312013-03-15 15:22:19 -0700189 android:theme="@style/PlainUnifiedEmailTheme">
Marc Blankf4192872012-06-28 10:40:46 -0700190 <intent-filter>
191 <action android:name="android.intent.action.VIEW" />
192 <category android:name="android.intent.category.DEFAULT" />
193 <data android:scheme="content"/>
Marc Blank7e5df632012-09-08 10:50:40 -0700194 <data android:mimeType="@string/application_mime_type" />
Marc Blankf4192872012-06-28 10:40:46 -0700195 </intent-filter>
196 <intent-filter>
197 <action android:name="android.intent.action.SEARCH" />
198 <category android:name="android.intent.category.DEFAULT" />
199 </intent-filter>
200 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
201 </activity>
202
Paul Westbrook70744d62012-07-21 05:35:21 -0700203 <activity-alias android:name="com.android.email.activity.Welcome"
204 android:targetActivity="com.android.email2.ui.MailActivityEmail"
205 android:label="@string/app_name" >
206 <intent-filter >
207 <action android:name="android.intent.action.MAIN" />
208 <category android:name="android.intent.category.DEFAULT" />
209 <category android:name="android.intent.category.LAUNCHER" />
210 <category android:name="android.intent.category.APP_EMAIL" />
211 </intent-filter>
Paul Westbrook391a7fc2013-04-04 02:42:48 -0700212 <intent-filter>
213 <action android:name="android.intent.action.VIEW" />
214 <action android:name="android.intent.action.MAIN" />
215 <category android:name="android.intent.category.DEFAULT" />
216 <category android:name="android.intent.category.LAUNCHER" />
217 <data
218 android:scheme="content"
219 android:host="ui.email.android.com"
220 android:path="/view/mailbox"
221 />
222 </intent-filter>
Paul Westbrook70744d62012-07-21 05:35:21 -0700223 </activity-alias>
224
Marc Blankf4192872012-06-28 10:40:46 -0700225 <!-- Must be exported in order for the AccountManager to launch it -->
226 <!-- Also available for continuous test systems to force account creation -->
227 <activity
228 android:name=".activity.setup.AccountSetupBasics"
229 android:label="@string/account_setup_basics_title"
230 android:exported="true"
231 >
232 <intent-filter>
233 <action
234 android:name="com.android.email.CREATE_ACCOUNT" />
235 <category
236 android:name="android.intent.category.DEFAULT" />
237 </intent-filter>
238 </activity>
239 <activity
240 android:name=".activity.setup.AccountSetupType"
241 android:label="@string/account_setup_account_type_title"
242 >
243 </activity>
244 <activity
245 android:name=".activity.setup.AccountSetupIncoming"
246 android:label="@string/account_setup_incoming_title"
247 >
248 </activity>
249 <activity
250 android:name=".activity.setup.AccountSetupOutgoing"
251 android:label="@string/account_setup_outgoing_title"
252 >
253 </activity>
254 <activity
255 android:name=".activity.setup.AccountSetupOptions"
256 android:label="@string/account_setup_options_title"
257 >
258 </activity>
259 <activity
260 android:name=".activity.setup.AccountSetupNames"
261 android:label="@string/account_setup_names_title"
262 >
263 </activity>
Paul Westbrookc389a542013-03-12 22:57:54 -0700264 <!-- Must be exported in order for the AccountManager to launch it -->
Marc Blankf4192872012-06-28 10:40:46 -0700265 <activity
266 android:name=".activity.setup.AccountSettings"
267 android:label="@string/settings_activity_title"
268 android:theme="@android:style/Theme.Holo.Light"
Paul Westbrookc389a542013-03-12 22:57:54 -0700269 android:exported="true"
Marc Blankf4192872012-06-28 10:40:46 -0700270 >
271 <intent-filter>
272 <action
273 android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
274 <category
275 android:name="android.intent.category.DEFAULT" />
276 </intent-filter>
277 <intent-filter>
278 <action android:name="android.intent.action.EDIT" />
279 <category android:name="android.intent.category.DEFAULT" />
280 <data
281 android:scheme="content"
282 android:host="ui.email.android.com"
283 android:pathPrefix="/settings"
284 />
285 </intent-filter>
286 <intent-filter>
287 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
288 <category android:name="android.intent.category.DEFAULT" />
289 </intent-filter>
290 </activity>
291 <activity
Marc Blank26164052012-09-06 10:19:34 -0700292 android:name=".provider.FolderPickerActivity"
293 android:label="@string/folder_picker_title"
294 android:theme="@android:style/Theme.Holo.Light"
295 >
296 <intent-filter>
297 <action android:name="android.intent.action.EDIT" />
298 <category android:name="android.intent.category.DEFAULT" />
299 <data
300 android:scheme="content"
301 android:host="ui.email.android.com"
302 android:pathPrefix="/setup"
303 />
304 </intent-filter>
305 </activity>
306 <activity
Marc Blankf4192872012-06-28 10:40:46 -0700307 android:name=".activity.setup.AccountSecurity"
Scott Kennedyb3460822012-12-11 10:37:35 -0800308 android:label="@string/account_security_title"
Marc Blankf4192872012-06-28 10:40:46 -0700309 >
310 </activity>
Makoto Onuki2ed7a862011-05-16 15:23:15 -0700311
Makoto Onuki1ddc2ca2011-07-02 14:48:43 -0700312 <activity
313 android:name=".activity.setup.MailboxSettings"
314 android:label="@string/mailbox_settings_activity_title"
Makoto Onuki1ddc2ca2011-07-02 14:48:43 -0700315 >
316 </activity>
317
Marc Blankf4192872012-06-28 10:40:46 -0700318 <activity
319 android:name="com.android.mail.photo.MailPhotoViewActivity"
320 android:label="@string/app_name"
321 android:theme="@style/PhotoViewTheme" >
322 </activity>
323
Paul Westbrook5a3d8632013-03-08 16:54:50 -0800324 <!-- additional activities -->
325
Marc Blankf4192872012-06-28 10:40:46 -0700326 <provider
327 android:authorities="com.android.email2.conversation.provider"
328 android:label="@string/conversation_content_provider"
329 android:multiprocess="false"
Nick Kralevichb9929c82012-07-28 15:54:34 -0700330 android:exported="true"
Marc Blankf4192872012-06-28 10:40:46 -0700331 android:name="com.android.mail.browse.EmailConversationProvider" >
332 <grant-uri-permission android:pathPattern=".*" />
333 </provider>
334
335 <provider
336 android:authorities="com.android.email2.accountcache"
337 android:label="@string/account_cache_provider"
338 android:multiprocess="false"
Nick Kralevichb9929c82012-07-28 15:54:34 -0700339 android:exported="true"
Marc Blankf4192872012-06-28 10:40:46 -0700340 android:name="com.android.mail.providers.EmailAccountCacheProvider" >
341 <grant-uri-permission android:pathPattern=".*" />
342 </provider>
343
344 <!-- The android:name is the name of the Provider class which is stored in
345 UnifiedEmail, and has package name com.android.mail.providers and the class is
346 called SuggestionsProvider. The authority name is specified in the MailAppProvider
347 which is specific to the two apps separately. -->
348 <provider android:name="com.android.mail.providers.SuggestionsProvider"
Nick Kralevichb9929c82012-07-28 15:54:34 -0700349 android:authorities="com.android.email.suggestionsprovider"
350 android:exported="true" />
Marc Blankf4192872012-06-28 10:40:46 -0700351
Marc Blankf4192872012-06-28 10:40:46 -0700352 <service android:name="com.android.mail.compose.EmptyService"/>
353 <!-- Widget -->
Paul Westbrook51693c52012-07-20 14:57:40 -0700354 <receiver android:name=".provider.WidgetProvider" android:label="@string/app_name">
Marc Blankf4192872012-06-28 10:40:46 -0700355 <intent-filter>
356 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
357 </intent-filter>
358 <intent-filter>
359 <action android:name="com.android.mail.ACTION_NOTIFY_DATASET_CHANGED" />
Marc Blank7e5df632012-09-08 10:50:40 -0700360 <data android:mimeType="@string/application_mime_type" />
Marc Blankf4192872012-06-28 10:40:46 -0700361 </intent-filter>
Paul Westbrookd7f94672012-07-19 10:03:10 -0700362 <intent-filter>
363 <action android:name="com.android.mail.ACTION_UPDATE_WIDGET" />
Marc Blank7e5df632012-09-08 10:50:40 -0700364 <data android:mimeType="@string/application_mime_type" />
Paul Westbrookd7f94672012-07-19 10:03:10 -0700365 </intent-filter>
Mark Weid2740d62013-04-29 17:26:45 -0700366 <intent-filter>
367 <action android:name="com.android.mail.ACTION_VALIDATE_ALL_WIDGETS" />
368 <data android:mimeType="@string/application_mime_type" />
369 </intent-filter>
Marc Blankf4192872012-06-28 10:40:46 -0700370 <meta-data android:name="android.appwidget.provider"
371 android:resource="@xml/widget_info" />
372 </receiver>
373 <service android:name="com.android.mail.widget.WidgetService"
374 android:permission="android.permission.BIND_REMOTEVIEWS"
375 android:exported="false" />
376
377 <!-- From Email application -->
378
Makoto Onukic50b6f62011-01-14 12:00:17 -0800379 <receiver
Marc Blank1b9337e2010-09-23 09:19:44 -0700380 android:name=".service.AttachmentDownloadService$Watchdog"
Marc Blank3bbc6902010-11-29 13:21:11 -0800381 android:enabled="true"/>
382
Marc Blank1b9337e2010-09-23 09:19:44 -0700383 <receiver
384 android:name=".service.EmailBroadcastReceiver"
385 android:enabled="true">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800386 <intent-filter>
Marc Blankf4192872012-06-28 10:40:46 -0700387 <action android:name="android.intent.action.BOOT_COMPLETED" />
388 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
389 <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
390 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
391 </intent-filter>
392 <!-- To handle new message notifications -->
393 <intent-filter>
394 <action android:name="com.android.mail.action.update_notification"
395 android:priority="-10" />
Marc Blank7e5df632012-09-08 10:50:40 -0700396 <data android:mimeType="@string/application_mime_type" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800397 </intent-filter>
Makoto Onuki42e3f102010-06-30 15:43:12 -0700398 <!-- To handle secret code to activate the debug screen. -->
399 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700400 <action
401 android:name="android.provider.Telephony.SECRET_CODE" />
Makoto Onuki42e3f102010-06-30 15:43:12 -0700402 <!-- "36245" = "email" -->
Marc Blank1b9337e2010-09-23 09:19:44 -0700403 <data
404 android:scheme="android_secret_code"
405 android:host="36245" />
Makoto Onuki42e3f102010-06-30 15:43:12 -0700406 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800407 </receiver>
Marc Blank1b9337e2010-09-23 09:19:44 -0700408 <service
409 android:name=".service.EmailBroadcastProcessorService" />
Marc Blank53cb37c2009-08-28 10:33:18 -0700410
Andrew Stadlerd6286082010-02-01 16:48:16 -0800411 <!-- Support for DeviceAdmin / DevicePolicyManager. See SecurityPolicy class for impl. -->
412 <receiver
413 android:name=".SecurityPolicy$PolicyAdmin"
414 android:label="@string/device_admin_label"
415 android:description="@string/device_admin_description"
416 android:permission="android.permission.BIND_DEVICE_ADMIN" >
417 <meta-data
418 android:name="android.app.device_admin"
419 android:resource="@xml/device_admin" />
420 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700421 <action
422 android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
Andrew Stadlerd6286082010-02-01 16:48:16 -0800423 </intent-filter>
424 </receiver>
Makoto Onukib854d052010-01-28 10:07:51 -0800425
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800426 <service
427 android:name=".service.MailService"
Makoto Onuki45f530b2010-08-24 11:12:53 -0700428 android:enabled="true"
Marc Blank7894ee82010-08-18 08:50:45 -0700429 >
430 </service>
431
432 <service
Marc Blank09fd4d02010-08-09 17:48:53 -0700433 android:name=".service.AttachmentDownloadService"
434 android:enabled="false"
435 >
436 </service>
437
Marc Blanke6cc6622010-07-08 10:08:47 -0700438 <!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
439 <service
Marc Blanke714bb92012-08-22 22:25:42 -0700440 android:name=".service.Pop3AuthenticatorService"
Marc Blanke6cc6622010-07-08 10:08:47 -0700441 android:exported="true"
442 android:enabled="true"
443 >
444 <intent-filter>
Makoto Onukic50b6f62011-01-14 12:00:17 -0800445 <action
Marc Blank1b9337e2010-09-23 09:19:44 -0700446 android:name="android.accounts.AccountAuthenticator" />
Marc Blanke6cc6622010-07-08 10:08:47 -0700447 </intent-filter>
448 <meta-data
449 android:name="android.accounts.AccountAuthenticator"
Marc Blanke714bb92012-08-22 22:25:42 -0700450 android:resource="@xml/authenticator_pop3"
451 />
452 </service>
453 <!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
454 <service
455 android:name=".service.ImapAuthenticatorService"
456 android:exported="true"
Paul Westbrook2af7d012013-03-13 00:24:02 +0000457 android:enabled="false"
Marc Blanke714bb92012-08-22 22:25:42 -0700458 >
459 <intent-filter>
460 <action
461 android:name="android.accounts.AccountAuthenticator" />
462 </intent-filter>
463 <meta-data
464 android:name="android.accounts.AccountAuthenticator"
465 android:resource="@xml/authenticator_imap"
Marc Blanke6cc6622010-07-08 10:08:47 -0700466 />
467 </service>
468
469 <!--Required stanza to register the PopImapSyncAdapterService with SyncManager -->
470 <service
Marc Blanke714bb92012-08-22 22:25:42 -0700471 android:name="com.android.email.service.Pop3SyncAdapterService"
Marc Blanke6cc6622010-07-08 10:08:47 -0700472 android:exported="true">
473 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700474 <action
475 android:name="android.content.SyncAdapter" />
Marc Blanke6cc6622010-07-08 10:08:47 -0700476 </intent-filter>
477 <meta-data android:name="android.content.SyncAdapter"
Marc Blanke714bb92012-08-22 22:25:42 -0700478 android:resource="@xml/syncadapter_pop3" />
Marc Blanke6cc6622010-07-08 10:08:47 -0700479 </service>
480
Marc Blank5c523852012-09-20 13:34:13 -0700481 <service
482 android:name="com.android.email.service.LegacyImapSyncAdapterService"
483 android:exported="true">
484 <intent-filter>
485 <action
486 android:name="android.content.SyncAdapter" />
487 </intent-filter>
488 <meta-data android:name="android.content.SyncAdapter"
489 android:resource="@xml/syncadapter_legacy_imap" />
490 </service>
491
Marc Blank9ba506c2011-02-08 18:54:56 -0800492 <!-- Require provider permission to use our Policy and Account services -->
493 <service
494 android:name=".service.PolicyService"
495 android:enabled="true"
496 android:permission="com.android.email.permission.ACCESS_PROVIDER"
497 >
498 <intent-filter>
499 <action
500 android:name="com.android.email.POLICY_INTENT" />
501 </intent-filter>
502 </service>
503
Marc Blank8a574692011-02-08 17:50:30 -0800504 <service
505 android:name=".service.AccountService"
506 android:enabled="true"
507 android:permission="com.android.email.permission.ACCESS_PROVIDER"
508 >
509 <intent-filter>
510 <action
511 android:name="com.android.email.ACCOUNT_INTENT" />
512 </intent-filter>
513 </service>
514
Marc Blankf4192872012-06-28 10:40:46 -0700515 <service
516 android:name=".service.ImapService"
517 android:enabled="true"
518 android:permission="com.android.email.permission.ACCESS_PROVIDER"
519 >
520 <intent-filter>
521 <action
522 android:name="com.android.email.IMAP_INTENT" />
523 </intent-filter>
524 </service>
525
526 <service
527 android:name=".service.Pop3Service"
528 android:enabled="true"
529 android:permission="com.android.email.permission.ACCESS_PROVIDER"
530 >
531 <intent-filter>
532 <action
533 android:name="com.android.email.POP3_INTENT" />
534 </intent-filter>
535 </service>
536
Andrew Stadler17250422009-07-07 09:39:11 -0700537 <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
Makoto Onukib854d052010-01-28 10:07:51 -0800538 <service
539 android:name=".service.EasAuthenticatorService"
540 android:exported="true"
541 android:enabled="true"
542 >
Andrew Stadler17250422009-07-07 09:39:11 -0700543 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700544 <action
545 android:name="android.accounts.AccountAuthenticator" />
Andrew Stadler17250422009-07-07 09:39:11 -0700546 </intent-filter>
Makoto Onukib854d052010-01-28 10:07:51 -0800547 <meta-data
548 android:name="android.accounts.AccountAuthenticator"
Marc Blanke714bb92012-08-22 22:25:42 -0700549 android:resource="@xml/authenticator_eas"
Makoto Onukib854d052010-01-28 10:07:51 -0800550 />
551 </service>
Marc Blankcbc842c2011-06-21 12:11:57 -0700552 <!--Required stanza to register the EasTestAuthenticatorService with AccountManager -->
553 <service
554 android:name=".service.EasTestAuthenticatorService"
555 android:exported="true"
556 android:enabled="false"
557 >
558 <intent-filter>
559 <action
560 android:name="android.accounts.AccountAuthenticator" />
561 </intent-filter>
562 <meta-data
563 android:name="android.accounts.AccountAuthenticator"
564 android:resource="@xml/eastest_authenticator"
565 />
566 </service>
Makoto Onukib854d052010-01-28 10:07:51 -0800567 <!--
Marc Blank1b9337e2010-09-23 09:19:44 -0700568 EasAuthenticatorService with the alternative label. Disabled by default,
Makoto Onukib854d052010-01-28 10:07:51 -0800569 and OneTimeInitializer enables it if the vendor policy tells so.
570 -->
571 <service
572 android:name=".service.EasAuthenticatorServiceAlternate"
573 android:exported="true"
574 android:enabled="false"
575 >
576 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700577 <action
578 android:name="android.accounts.AccountAuthenticator" />
Makoto Onukib854d052010-01-28 10:07:51 -0800579 </intent-filter>
580 <meta-data
581 android:name="android.accounts.AccountAuthenticator"
582 android:resource="@xml/authenticator_alternate"
583 />
Andrew Stadler17250422009-07-07 09:39:11 -0700584 </service>
Marc Blank70edcf02012-08-21 15:21:40 -0700585
Marc Blank5c523852012-09-20 13:34:13 -0700586 <service
587 android:name=".service.LegacyImapAuthenticatorService"
588 android:exported="false"
589 android:enabled="true"
590 >
Marc Blank70edcf02012-08-21 15:21:40 -0700591 <intent-filter>
592 <action
Marc Blank5c523852012-09-20 13:34:13 -0700593 android:name="android.accounts.AccountAuthenticator" />
Marc Blank70edcf02012-08-21 15:21:40 -0700594 </intent-filter>
Marc Blank5c523852012-09-20 13:34:13 -0700595 <meta-data
596 android:name="android.accounts.AccountAuthenticator"
597 android:resource="@xml/authenticator_legacy_imap"
598 />
Marc Blank70edcf02012-08-21 15:21:40 -0700599 </service>
600
601 <service
602 android:name=".imap2.Imap2SyncManager"
603 android:enabled="true"
604 android:permission="com.android.email.permission.ACCESS_PROVIDER"
605 >
606 </service>
607
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800608 <provider
609 android:name=".provider.AttachmentProvider"
610 android:authorities="com.android.email.attachmentprovider"
611 android:multiprocess="true"
612 android:grantUriPermissions="true"
Nick Kralevichb9929c82012-07-28 15:54:34 -0700613 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800614 android:readPermission="com.android.email.permission.READ_ATTACHMENT"
615 />
Andrew Stadler22722202009-09-20 17:23:59 -0700616
617 <!-- This provider MUST be protected by strict permissions, as granting access to
618 it exposes user passwords and other confidential information. -->
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700619 <provider
620 android:name=".provider.EmailProvider"
Marc Blank0fd8ae82010-12-17 09:54:20 -0800621 android:authorities="com.android.email.provider;com.android.email.notifier"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700622 android:multiprocess="true"
Nick Kralevichb9929c82012-07-28 15:54:34 -0700623 android:exported="true"
Andrew Stadler22722202009-09-20 17:23:59 -0700624 android:permission="com.android.email.permission.ACCESS_PROVIDER"
Marc Blanke6cc6622010-07-08 10:08:47 -0700625 android:label="@string/app_name"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700626 />
Andrew Stadlere2c56fc2010-03-13 00:38:47 -0800627
Marc Blanke714bb92012-08-22 22:25:42 -0700628 <!-- Legacy authenticators, etc. can be added below. OEMs may remove these -->
629
630 <service
631 android:name=".service.LegacyEmailAuthenticatorService"
632 android:exported="false"
633 android:enabled="true"
634 >
635 <intent-filter>
636 <action
637 android:name="android.accounts.AccountAuthenticator" />
638 </intent-filter>
639 <meta-data
640 android:name="android.accounts.AccountAuthenticator"
641 android:resource="@xml/authenticator_legacy_email"
642 />
643 </service>
644
645 <service
646 android:name=".service.LegacyEasAuthenticatorService"
647 android:exported="false"
648 android:enabled="true"
649 >
650 <intent-filter>
651 <action
652 android:name="android.accounts.AccountAuthenticator" />
653 </intent-filter>
654 <meta-data
655 android:name="android.accounts.AccountAuthenticator"
656 android:resource="@xml/authenticator_legacy_eas"
657 />
658 </service>
659
Scott Kennedyb3460822012-12-11 10:37:35 -0800660 <service android:name="com.android.email.EmailIntentService"
661 android:exported="false">
662 <intent-filter>
663 <action android:name="android.intent.action.LOCALE_CHANGED"/>
664 <action android:name="com.android.mail.action.RESEND_NOTIFICATIONS" />
Scott Kennedy093e6692013-03-19 18:32:13 -0700665 </intent-filter>
666 <intent-filter>
Scott Kennedyb3460822012-12-11 10:37:35 -0800667 <action android:name="com.android.mail.action.CLEAR_NEW_MAIL_NOTIFICATIONS" />
Scott Kennedy093e6692013-03-19 18:32:13 -0700668 <data android:scheme="content" />
Scott Kennedyb3460822012-12-11 10:37:35 -0800669 </intent-filter>
670 </service>
671
672 <service android:name="com.android.mail.NotificationActionIntentService"
673 android:exported="false">
674 <intent-filter>
Yu Ping Hue46d4452013-03-26 17:32:53 -0700675 <action android:name="com.android.mail.action.notification.MARK_READ" />
676 <action android:name="com.android.mail.action.notification.ARCHIVE" />
677 <action android:name="com.android.mail.action.notification.DELETE" />
678 <action android:name="com.android.mail.action.notification.UNDO" />
679 <action android:name="com.android.mail.action.notification.DESTRUCT" />
680 <action android:name="com.android.mail.action.notification.UNDO_TIMEOUT" />
681 <action android:name="com.android.mail.action.notification.REPLY" />
682 <action android:name="com.android.mail.action.notification.REPLY_ALL" />
683 <action android:name="com.android.mail.action.notification.FORWARD" />
Scott Kennedyb3460822012-12-11 10:37:35 -0800684 </intent-filter>
685 </service>
Vikram Aggarwal3f0f64f2013-03-04 10:47:10 -0800686 <service android:name="com.android.mail.MailLogService">
687 </service>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800688 </application>
Marc Blanke714bb92012-08-22 22:25:42 -0700689
690 <!-- Legacy permissions, etc. can go here -->
691
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800692</manifest>