blob: 0547fbf9438e3355ae9a242868cb2641bf403d3c [file] [log] [blame]
The Android Open Source Project96c5af42009-03-03 19:32:22 -08001<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2008 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
Makoto Onukid6a29782010-07-21 14:29:49 -07007
The Android Open Source Project96c5af42009-03-03 19:32:22 -08008 http://www.apache.org/licenses/LICENSE-2.0
Makoto Onukid6a29782010-07-21 14:29:49 -07009
The Android Open Source Project96c5af42009-03-03 19:32:22 -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
Marc Blank1b9337e2010-09-23 09:19:44 -070017<manifest
18 xmlns:android="http://schemas.android.com/apk/res/android"
Andy Stadlerd2fcefc2010-12-15 17:49:07 -080019 package="com.android.email"
Ben Komaloc05084c2011-06-07 21:22:07 -070020 android:versionCode="320000"
21 android:versionName="3.2"
Andy Stadlerd2fcefc2010-12-15 17:49:07 -080022 >
Jeff Hamilton1e56db62010-02-11 16:25:49 -060023
Marc Blank1b9337e2010-09-23 09:19:44 -070024 <original-package
25 android:name="com.android.email" />
Jeff Hamilton1e56db62010-02-11 16:25:49 -060026
Marc Blank1b9337e2010-09-23 09:19:44 -070027 <uses-permission
28 android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
29 <uses-permission
Marc Blank1b9337e2010-09-23 09:19:44 -070030 android:name="android.permission.ACCESS_NETWORK_STATE"/>
31 <uses-permission
32 android:name="android.permission.INTERNET"/>
33 <uses-permission
34 android:name="android.permission.VIBRATE"/>
35 <uses-permission
36 android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
37 <uses-permission
38 android:name="android.permission.GET_ACCOUNTS" />
Marc Blankcbc842c2011-06-21 12:11:57 -070039 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
Marc Blank1b9337e2010-09-23 09:19:44 -070040 <uses-permission
41 android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
42 <uses-permission
43 android:name="android.permission.READ_SYNC_SETTINGS" />
44 <uses-permission
Marc Blanka61e7e82011-08-12 16:19:41 -070045 android:name="android.permission.WRITE_SYNC_SETTINGS"/>
Fred Quintana4c195432009-08-17 13:05:44 -070046
Marc Blank1b9337e2010-09-23 09:19:44 -070047 <uses-permission
48 android:name="android.permission.WRITE_CONTACTS"/>
49 <uses-permission
Marc Blankdc78a762011-02-14 14:39:27 -080050 android:name="android.permission.READ_CONTACTS"/>
Marc Blankb6493a02009-07-05 12:54:49 -070051
Martijn Coenene5b15cd2011-07-01 12:56:40 +020052 <uses-permission
53 android:name="android.permission.NFC"/>
54
Andy Stadlerdab90a72009-05-06 17:50:29 -070055 <!-- Only required if a store implements push mail and needs to keep network open -->
Marc Blank1b9337e2010-09-23 09:19:44 -070056 <uses-permission
57 android:name="android.permission.WAKE_LOCK"/>
58 <uses-permission
59 android:name="android.permission.READ_PHONE_STATE"/>
Andrew Stadler22722202009-09-20 17:23:59 -070060
61 <!-- Grant permission to other apps to view attachments -->
Marc Blank1b9337e2010-09-23 09:19:44 -070062 <permission
63 android:name="com.android.email.permission.READ_ATTACHMENT"
64 android:permissionGroup="android.permission-group.MESSAGES"
65 android:protectionLevel="dangerous"
Todd Kennedy3d81e232011-05-05 10:50:10 -070066 android:label="@string/permission_read_attachment_label"
67 android:description="@string/permission_read_attachment_desc"/>
Marc Blank1b9337e2010-09-23 09:19:44 -070068 <uses-permission
69 android:name="com.android.email.permission.READ_ATTACHMENT"/>
Andrew Stadler22722202009-09-20 17:23:59 -070070
Ben Komalo78959912011-05-04 10:15:35 -070071 <uses-permission
72 android:name="android.permission.USE_CREDENTIALS"/>
73
Andrew Stadler22722202009-09-20 17:23:59 -070074 <!-- Grant permission to system apps to access provider (see provider below) -->
Marc Blank1b9337e2010-09-23 09:19:44 -070075 <permission
76 android:name="com.android.email.permission.ACCESS_PROVIDER"
Marc Blankdc78a762011-02-14 14:39:27 -080077 android:protectionLevel="signature"
Marc Blank1b9337e2010-09-23 09:19:44 -070078 android:label="@string/permission_access_provider_label"
79 android:description="@string/permission_access_provider_desc"/>
80 <uses-permission
81 android:name="com.android.email.permission.ACCESS_PROVIDER"/>
Andrew Stadler22722202009-09-20 17:23:59 -070082
Andy Stadlerc540b572011-01-26 22:53:08 -080083 <!-- Note: Actually, android:hardwareAccelerated could be "true", but in order to switch it
84 on/off in the debug screen, we have to set it "false" here and enable it at runtime. -->
Andy Stadler5c4c0ab2010-11-23 12:06:44 -080085 <application
Justin Hob5b8e562011-01-29 13:44:03 -080086 android:icon="@mipmap/ic_launcher_email"
Andy Stadler5c4c0ab2010-11-23 12:06:44 -080087 android:label="@string/app_name"
Makoto Onuki5d1e32a2010-08-24 13:29:00 -070088 android:name="Email"
Ben Komalo87df8d72011-05-23 20:41:24 -070089 android:theme="@style/EmailTheme"
Makoto Onuki3aca79f2010-11-01 15:37:14 -070090 android:hardwareAccelerated="false"
Makoto Onuki5d1e32a2010-08-24 13:29:00 -070091 >
Andrew Stadler842ac042010-02-10 23:17:55 -080092 <activity
Makoto Onuki191448b2010-08-04 15:38:25 -070093 android:name=".activity.Welcome"
Makoto Onukid6a29782010-07-21 14:29:49 -070094 >
95 <intent-filter>
Makoto Onuki053517d2011-06-21 15:04:59 -070096 <action android:name="android.intent.action.MAIN" />
97 <category android:name="android.intent.category.DEFAULT" />
98 <category android:name="android.intent.category.LAUNCHER" />
99 </intent-filter>
100 <intent-filter>
Makoto Onuki308ce922011-03-21 17:08:16 -0700101 <action android:name="android.intent.action.VIEW" />
102 <action android:name="android.intent.action.MAIN" />
103 <category android:name="android.intent.category.DEFAULT" />
104 <category android:name="android.intent.category.LAUNCHER" />
105 <data
106 android:scheme="content"
107 android:host="ui.email.android.com"
108 android:path="/view/mailbox"
109 />
Makoto Onukid6a29782010-07-21 14:29:49 -0700110 </intent-filter>
111 </activity>
Marc Blank78684cc2011-03-31 13:29:23 -0700112
Marc Blank06275c42009-08-05 21:48:15 -0700113 <!-- Must be exported in order for the AccountManager to launch it -->
Andy Stadlerd685b462010-12-04 22:53:59 -0800114 <!-- Also available for continuous test systems to force account creation -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800115 <activity
116 android:name=".activity.setup.AccountSetupBasics"
117 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -0700118 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800119 >
Andy Stadlerd685b462010-12-04 22:53:59 -0800120 <intent-filter>
121 <action
122 android:name="com.android.email.CREATE_ACCOUNT" />
123 <category
124 android:name="android.intent.category.DEFAULT" />
125 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800126 </activity>
127 <activity
128 android:name=".activity.setup.AccountSetupAccountType"
129 android:label="@string/account_setup_account_type_title"
130 >
131 </activity>
132 <activity
133 android:name=".activity.setup.AccountSetupIncoming"
134 android:label="@string/account_setup_incoming_title"
135 >
136 </activity>
137 <activity
138 android:name=".activity.setup.AccountSetupOutgoing"
139 android:label="@string/account_setup_outgoing_title"
140 >
141 </activity>
142 <activity
Andy Stadler87c43ca2009-04-03 16:02:55 -0700143 android:name=".activity.setup.AccountSetupExchange"
144 android:label="@string/account_setup_exchange_title"
145 >
146 </activity>
147 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800148 android:name=".activity.setup.AccountSetupOptions"
149 android:label="@string/account_setup_options_title"
150 >
151 </activity>
152 <activity
153 android:name=".activity.setup.AccountSetupNames"
154 android:label="@string/account_setup_names_title"
155 >
156 </activity>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800157 <activity
Ben Komalo28662842011-05-12 17:27:56 -0700158 android:name=".activity.setup.AccountSettings"
Ben Komalo72a24f12011-07-22 15:15:47 -0700159 android:label="@string/settings_activity_title"
160 android:theme="@android:style/Theme.Holo.Light"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800161 >
Makoto Onuki0fef1f12010-02-16 14:04:25 -0800162 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700163 <action
164 android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
165 <category
166 android:name="android.intent.category.DEFAULT" />
Makoto Onuki0fef1f12010-02-16 14:04:25 -0800167 </intent-filter>
Makoto Onuki308ce922011-03-21 17:08:16 -0700168 <intent-filter>
169 <action android:name="android.intent.action.EDIT" />
170 <category android:name="android.intent.category.DEFAULT" />
171 <data
172 android:scheme="content"
173 android:host="ui.email.android.com"
174 android:path="/settings"
175 />
176 </intent-filter>
Ben Komalof653fdf2011-07-20 18:09:51 -0700177 <intent-filter>
178 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
179 <category android:name="android.intent.category.DEFAULT" />
180 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800181 </activity>
Andrew Stadler3d2b3b32010-02-05 11:10:39 -0800182 <activity
183 android:name=".activity.setup.AccountSecurity"
184 android.label="@string/account_security_title"
185 >
186 </activity>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800187
Todd Kennedy5675ea82011-05-24 09:20:14 -0700188 <!-- Don't need to set the title; it will be set programatically -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800189 <activity
Todd Kennedy5675ea82011-05-24 09:20:14 -0700190 android:name=".activity.ShortcutPicker"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800191 android:enabled="false"
Andy Stadlerd87f81e2010-11-23 22:54:49 -0800192 android:theme="@android:style/Theme.Holo.DialogWhenLarge"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800193 >
Andy Stadlerd87f81e2010-11-23 22:54:49 -0800194 <intent-filter
Marc Blank1b9337e2010-09-23 09:19:44 -0700195 android:label="@string/account_shortcut_picker_name">
196 <action
197 android:name="android.intent.action.CREATE_SHORTCUT" />
198 <category
199 android:name="android.intent.category.DEFAULT" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800200 </intent-filter>
201 </activity>
Makoto Onuki191448b2010-08-04 15:38:25 -0700202 <activity
Ben Komalo4e200e42011-08-07 15:33:33 -0700203 android:name=".activity.EmailActivity"
204 android:uiOptions="splitActionBarWhenNarrow"
205 >
Andrew Stadler47654722009-06-30 15:12:23 -0700206 </activity>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800207 <activity
Makoto Onukie105fbe2010-07-26 14:35:06 -0700208 android:name=".activity.MessageFileView"
Makoto Onuki2f4e87c2010-08-25 11:14:19 -0700209 >
Marc Blank1b9337e2010-09-23 09:19:44 -0700210 <intent-filter
211 android:label="@string/app_name">
212 <action
213 android:name="android.intent.action.VIEW" />
214 <data
215 android:mimeType="application/eml" />
216 <data
217 android:mimeType="message/rfc822" />
218 <category
219 android:name="android.intent.category.DEFAULT" />
Marc Blank391ae252010-05-04 15:33:08 -0700220 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800221 </activity>
222 <activity
223 android:name=".activity.MessageCompose"
Makoto Onukibf678772010-11-03 14:20:10 -0700224 android:label="@string/compose_title"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800225 android:enabled="false"
Ben Komalo0108aeb2011-08-04 17:59:03 -0700226 android:theme="@style/MessageComposeTheme"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800227 >
228 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700229 <action
230 android:name="android.intent.action.VIEW" />
231 <action
232 android:name="android.intent.action.SENDTO" />
233 <data
234 android:scheme="mailto" />
235 <category
236 android:name="android.intent.category.DEFAULT" />
237 <category
238 android:name="android.intent.category.BROWSABLE" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800239 </intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700240 <intent-filter
241 android:label="@string/app_name">
242 <action
243 android:name="android.intent.action.SEND" />
244 <data
245 android:mimeType="*/*" />
246 <category
247 android:name="android.intent.category.DEFAULT" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800248 </intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700249 <intent-filter
250 android:label="@string/app_name">
251 <action
252 android:name="android.intent.action.SEND_MULTIPLE" />
253 <data
254 android:mimeType="*/*" />
255 <category
256 android:name="android.intent.category.DEFAULT" />
257 </intent-filter>
258 <intent-filter>
259 <action
260 android:name="com.android.email.intent.action.REPLY" />
Mihai Predafa2238c2009-09-01 16:25:30 +0200261 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800262 </activity>
Marc Blank53cb37c2009-08-28 10:33:18 -0700263
Ben Komalo4e200e42011-08-07 15:33:33 -0700264 <!-- Only used to support pre-HC shortcuts -->
Makoto Onuki2ed7a862011-05-16 15:23:15 -0700265 <activity
266 android:name=".activity.MessageList"
267 >
268 <intent-filter>
269 <action android:name="android.intent.action.MAIN" />
270 </intent-filter>
271 </activity>
272
Makoto Onuki1ddc2ca2011-07-02 14:48:43 -0700273 <activity
274 android:name=".activity.setup.MailboxSettings"
275 android:label="@string/mailbox_settings_activity_title"
Makoto Onuki1ddc2ca2011-07-02 14:48:43 -0700276 >
277 </activity>
278
Makoto Onukic50b6f62011-01-14 12:00:17 -0800279 <receiver
Marc Blank1b9337e2010-09-23 09:19:44 -0700280 android:name=".service.AttachmentDownloadService$Watchdog"
Marc Blank3bbc6902010-11-29 13:21:11 -0800281 android:enabled="true"/>
282
Marc Blank1b9337e2010-09-23 09:19:44 -0700283 <receiver
284 android:name=".service.EmailBroadcastReceiver"
285 android:enabled="true">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800286 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700287 <action
288 android:name="android.intent.action.BOOT_COMPLETED" />
289 <action
290 android:name="android.intent.action.DEVICE_STORAGE_LOW" />
291 <action
292 android:name="android.intent.action.DEVICE_STORAGE_OK" />
Makoto Onukic50b6f62011-01-14 12:00:17 -0800293 <action
294 android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800295 </intent-filter>
Makoto Onuki42e3f102010-06-30 15:43:12 -0700296 <!-- To handle secret code to activate the debug screen. -->
297 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700298 <action
299 android:name="android.provider.Telephony.SECRET_CODE" />
Makoto Onuki42e3f102010-06-30 15:43:12 -0700300 <!-- "36245" = "email" -->
Marc Blank1b9337e2010-09-23 09:19:44 -0700301 <data
302 android:scheme="android_secret_code"
303 android:host="36245" />
Makoto Onuki42e3f102010-06-30 15:43:12 -0700304 </intent-filter>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800305 </receiver>
Marc Blank1b9337e2010-09-23 09:19:44 -0700306 <service
307 android:name=".service.EmailBroadcastProcessorService" />
Marc Blank53cb37c2009-08-28 10:33:18 -0700308
Andrew Stadlerd6286082010-02-01 16:48:16 -0800309 <!-- Support for DeviceAdmin / DevicePolicyManager. See SecurityPolicy class for impl. -->
310 <receiver
311 android:name=".SecurityPolicy$PolicyAdmin"
312 android:label="@string/device_admin_label"
313 android:description="@string/device_admin_description"
314 android:permission="android.permission.BIND_DEVICE_ADMIN" >
315 <meta-data
316 android:name="android.app.device_admin"
317 android:resource="@xml/device_admin" />
318 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700319 <action
320 android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
Andrew Stadlerd6286082010-02-01 16:48:16 -0800321 </intent-filter>
322 </receiver>
Makoto Onukib854d052010-01-28 10:07:51 -0800323
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800324 <service
325 android:name=".service.MailService"
326 android:enabled="false"
327 >
328 </service>
Makoto Onukid6a29782010-07-21 14:29:49 -0700329
Marc Blankc184f362010-08-23 18:48:25 -0700330 <service
Makoto Onuki45f530b2010-08-24 11:12:53 -0700331 android:name=".Controller$ControllerService"
332 android:enabled="true"
Marc Blank7894ee82010-08-18 08:50:45 -0700333 >
334 </service>
335
336 <service
Marc Blank09fd4d02010-08-09 17:48:53 -0700337 android:name=".service.AttachmentDownloadService"
338 android:enabled="false"
339 >
340 </service>
341
Marc Blanke6cc6622010-07-08 10:08:47 -0700342 <!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
343 <service
344 android:name=".service.PopImapAuthenticatorService"
345 android:exported="true"
346 android:enabled="true"
347 >
348 <intent-filter>
Makoto Onukic50b6f62011-01-14 12:00:17 -0800349 <action
Marc Blank1b9337e2010-09-23 09:19:44 -0700350 android:name="android.accounts.AccountAuthenticator" />
Marc Blanke6cc6622010-07-08 10:08:47 -0700351 </intent-filter>
352 <meta-data
353 android:name="android.accounts.AccountAuthenticator"
354 android:resource="@xml/pop_imap_authenticator"
355 />
356 </service>
357
358 <!--Required stanza to register the PopImapSyncAdapterService with SyncManager -->
359 <service
360 android:name="com.android.email.service.PopImapSyncAdapterService"
361 android:exported="true">
362 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700363 <action
364 android:name="android.content.SyncAdapter" />
Marc Blanke6cc6622010-07-08 10:08:47 -0700365 </intent-filter>
366 <meta-data android:name="android.content.SyncAdapter"
367 android:resource="@xml/syncadapter_pop_imap" />
368 </service>
369
Marc Blank9ba506c2011-02-08 18:54:56 -0800370 <!-- Require provider permission to use our Policy and Account services -->
371 <service
372 android:name=".service.PolicyService"
373 android:enabled="true"
374 android:permission="com.android.email.permission.ACCESS_PROVIDER"
375 >
376 <intent-filter>
377 <action
378 android:name="com.android.email.POLICY_INTENT" />
379 </intent-filter>
380 </service>
381
Marc Blank8a574692011-02-08 17:50:30 -0800382 <service
383 android:name=".service.AccountService"
384 android:enabled="true"
385 android:permission="com.android.email.permission.ACCESS_PROVIDER"
386 >
387 <intent-filter>
388 <action
389 android:name="com.android.email.ACCOUNT_INTENT" />
390 </intent-filter>
391 </service>
392
Andrew Stadler17250422009-07-07 09:39:11 -0700393 <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
Makoto Onukib854d052010-01-28 10:07:51 -0800394 <service
395 android:name=".service.EasAuthenticatorService"
396 android:exported="true"
397 android:enabled="true"
398 >
Andrew Stadler17250422009-07-07 09:39:11 -0700399 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700400 <action
401 android:name="android.accounts.AccountAuthenticator" />
Andrew Stadler17250422009-07-07 09:39:11 -0700402 </intent-filter>
Makoto Onukib854d052010-01-28 10:07:51 -0800403 <meta-data
404 android:name="android.accounts.AccountAuthenticator"
Marc Blanke6cc6622010-07-08 10:08:47 -0700405 android:resource="@xml/eas_authenticator"
Makoto Onukib854d052010-01-28 10:07:51 -0800406 />
407 </service>
Marc Blankcbc842c2011-06-21 12:11:57 -0700408 <!--Required stanza to register the EasTestAuthenticatorService with AccountManager -->
409 <service
410 android:name=".service.EasTestAuthenticatorService"
411 android:exported="true"
412 android:enabled="false"
413 >
414 <intent-filter>
415 <action
416 android:name="android.accounts.AccountAuthenticator" />
417 </intent-filter>
418 <meta-data
419 android:name="android.accounts.AccountAuthenticator"
420 android:resource="@xml/eastest_authenticator"
421 />
422 </service>
Makoto Onukib854d052010-01-28 10:07:51 -0800423 <!--
Marc Blank1b9337e2010-09-23 09:19:44 -0700424 EasAuthenticatorService with the alternative label. Disabled by default,
Makoto Onukib854d052010-01-28 10:07:51 -0800425 and OneTimeInitializer enables it if the vendor policy tells so.
426 -->
427 <service
428 android:name=".service.EasAuthenticatorServiceAlternate"
429 android:exported="true"
430 android:enabled="false"
431 >
432 <intent-filter>
Marc Blank1b9337e2010-09-23 09:19:44 -0700433 <action
434 android:name="android.accounts.AccountAuthenticator" />
Makoto Onukib854d052010-01-28 10:07:51 -0800435 </intent-filter>
436 <meta-data
437 android:name="android.accounts.AccountAuthenticator"
438 android:resource="@xml/authenticator_alternate"
439 />
Andrew Stadler17250422009-07-07 09:39:11 -0700440 </service>
441
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800442 <provider
443 android:name=".provider.AttachmentProvider"
444 android:authorities="com.android.email.attachmentprovider"
445 android:multiprocess="true"
446 android:grantUriPermissions="true"
447 android:readPermission="com.android.email.permission.READ_ATTACHMENT"
448 />
Andrew Stadler22722202009-09-20 17:23:59 -0700449
450 <!-- This provider MUST be protected by strict permissions, as granting access to
451 it exposes user passwords and other confidential information. -->
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700452 <provider
453 android:name=".provider.EmailProvider"
Marc Blank0fd8ae82010-12-17 09:54:20 -0800454 android:authorities="com.android.email.provider;com.android.email.notifier"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700455 android:multiprocess="true"
Andrew Stadler22722202009-09-20 17:23:59 -0700456 android:permission="com.android.email.permission.ACCESS_PROVIDER"
Marc Blanke6cc6622010-07-08 10:08:47 -0700457 android:label="@string/app_name"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700458 />
Andrew Stadlere2c56fc2010-03-13 00:38:47 -0800459
Marc Blank1b9337e2010-09-23 09:19:44 -0700460 <!-- Email AppWidget definitions -->
Todd Kennedy7f4cf3c2011-06-01 16:20:43 -0700461 <activity
462 android:name=".widget.WidgetConfiguration"
463 android:enabled="false"
464 android:theme="@android:style/Theme.Holo.DialogWhenLarge"
465 >
466 <intent-filter
467 android:label="@string/account_shortcut_picker_name">
468 <action
469 android:name="android.appwidget.action.APPWIDGET_CONFIGURE"/>
470 <category
471 android:name="android.intent.category.DEFAULT" />
472 </intent-filter>
473 </activity>
Marc Blank1b9337e2010-09-23 09:19:44 -0700474 <service
475 android:name=".provider.WidgetProvider$WidgetService"
Winson Chungcb8a5542011-01-18 15:31:05 -0800476 android:permission="android.permission.BIND_REMOTEVIEWS"
477 android:exported="false"
Marc Blank1b9337e2010-09-23 09:19:44 -0700478 />
479 <receiver
480 android:name=".provider.WidgetProvider" >
481 <intent-filter>
Makoto Onukic50b6f62011-01-14 12:00:17 -0800482 <action
Marc Blank1b9337e2010-09-23 09:19:44 -0700483 android:name="android.appwidget.action.APPWIDGET_UPDATE" />
484 </intent-filter>
Makoto Onukic50b6f62011-01-14 12:00:17 -0800485 <meta-data
Marc Blank1b9337e2010-09-23 09:19:44 -0700486 android:name="android.appwidget.provider"
487 android:resource="@xml/widget_info" />
488 </receiver>
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800489 </application>
490</manifest>