2009-03-04 03:32:22 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2012-06-28 17:40:46 +00:00
|
|
|
<!--
|
|
|
|
Copyright (C) 2012 The Android Open Source Project
|
2009-03-04 03:32:22 +00:00
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
2010-07-21 21:29:49 +00:00
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
2010-07-21 21:29:49 +00:00
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
2012-06-28 17:40:46 +00:00
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
2010-12-16 01:49:07 +00:00
|
|
|
package="com.android.email"
|
2012-09-11 17:14:58 +00:00
|
|
|
android:versionCode="500010"
|
|
|
|
android:versionName="4.2-010" >
|
2012-06-28 17:40:46 +00:00
|
|
|
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
2011-06-21 19:11:57 +00:00
|
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
|
2012-06-28 17:40:46 +00:00
|
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
2012-08-23 05:25:42 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
2012-06-28 17:40:46 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_CALENDAR"/>
|
2012-08-23 05:25:42 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
|
2012-06-28 17:40:46 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_PROFILE"/>
|
|
|
|
<uses-permission android:name="android.permission.NFC"/>
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
|
|
|
|
|
|
|
<!-- This needs to be present when we are doing unbundled releases. -->
|
|
|
|
<uses-sdk android:targetSdkVersion="16" android:minSdkVersion="14" />
|
2009-09-21 00:23:59 +00:00
|
|
|
|
2012-07-20 21:57:40 +00:00
|
|
|
<original-package android:name="com.android.email" />
|
|
|
|
|
2009-09-21 00:23:59 +00:00
|
|
|
<!-- Grant permission to other apps to view attachments -->
|
2010-09-23 16:19:44 +00:00
|
|
|
<permission
|
|
|
|
android:name="com.android.email.permission.READ_ATTACHMENT"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
2011-05-05 17:50:10 +00:00
|
|
|
android:label="@string/permission_read_attachment_label"
|
|
|
|
android:description="@string/permission_read_attachment_desc"/>
|
2010-09-23 16:19:44 +00:00
|
|
|
<uses-permission
|
|
|
|
android:name="com.android.email.permission.READ_ATTACHMENT"/>
|
2009-09-21 00:23:59 +00:00
|
|
|
|
2011-05-04 17:15:35 +00:00
|
|
|
<uses-permission
|
|
|
|
android:name="android.permission.USE_CREDENTIALS"/>
|
|
|
|
|
2009-09-21 00:23:59 +00:00
|
|
|
<!-- Grant permission to system apps to access provider (see provider below) -->
|
2012-06-28 17:40:46 +00:00
|
|
|
<!-- STOPSHIP: Temporarily set protection level to "dangerous" (from "signature") -->
|
2010-09-23 16:19:44 +00:00
|
|
|
<permission
|
|
|
|
android:name="com.android.email.permission.ACCESS_PROVIDER"
|
2012-06-28 17:40:46 +00:00
|
|
|
android:protectionLevel="dangerous"
|
2010-09-23 16:19:44 +00:00
|
|
|
android:label="@string/permission_access_provider_label"
|
|
|
|
android:description="@string/permission_access_provider_desc"/>
|
|
|
|
<uses-permission
|
|
|
|
android:name="com.android.email.permission.ACCESS_PROVIDER"/>
|
2009-09-21 00:23:59 +00:00
|
|
|
|
2010-11-23 20:06:44 +00:00
|
|
|
<application
|
2012-06-28 17:40:46 +00:00
|
|
|
android:icon="@mipmap/ic_launcher_mail"
|
2010-11-23 20:06:44 +00:00
|
|
|
android:label="@string/app_name"
|
2012-06-28 17:40:46 +00:00
|
|
|
android:theme="@style/UnifiedEmailTheme"
|
|
|
|
android:hardwareAccelerated="true" >
|
|
|
|
<!-- Enable search in all activities -->
|
|
|
|
<meta-data android:name="android.app.default_searchable"
|
|
|
|
android:value="com.android.email2.ui.MailActivityEmail" />
|
2010-02-11 07:17:55 +00:00
|
|
|
<activity
|
2012-06-28 17:40:46 +00:00
|
|
|
android:name="com.android.mail.compose.ComposeActivity"
|
|
|
|
android:label="@string/app_name"
|
2012-08-13 16:58:47 +00:00
|
|
|
android:theme="@android:style/Theme.Holo.Light">
|
2011-06-21 22:04:59 +00:00
|
|
|
<intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<action
|
|
|
|
android:name="android.intent.action.VIEW" />
|
|
|
|
<action
|
|
|
|
android:name="android.intent.action.SENDTO" />
|
|
|
|
<data
|
|
|
|
android:scheme="mailto" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.BROWSABLE" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter
|
|
|
|
android:label="@string/app_name">
|
|
|
|
<action
|
|
|
|
android:name="android.intent.action.SEND" />
|
|
|
|
<data
|
|
|
|
android:mimeType="*/*" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter
|
|
|
|
android:label="@string/app_name">
|
|
|
|
<action
|
|
|
|
android:name="android.intent.action.SEND_MULTIPLE" />
|
|
|
|
<data
|
|
|
|
android:mimeType="*/*" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.intent.action.REPLY" />
|
2011-06-21 22:04:59 +00:00
|
|
|
</intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEND" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
|
|
android:scheme="content"
|
|
|
|
android:host="ui.email2.android.com"
|
|
|
|
android:pathPrefix="/compose"
|
|
|
|
/>
|
|
|
|
</intent-filter>
|
2012-07-23 20:14:11 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.nfc.action.NDEF_DISCOVERED" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="mailto" />
|
|
|
|
</intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity
|
|
|
|
android:name=".activity.EventViewer"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:theme="@android:style/Theme.Holo.Light"
|
|
|
|
>
|
2011-03-22 00:08:16 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
2012-06-28 17:40:46 +00:00
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
2011-03-22 00:08:16 +00:00
|
|
|
<data
|
|
|
|
android:scheme="content"
|
2012-06-28 17:40:46 +00:00
|
|
|
android:host="ui.email2.android.com"
|
|
|
|
android:pathPrefix="/event"
|
2011-03-22 00:08:16 +00:00
|
|
|
/>
|
2010-07-21 21:29:49 +00:00
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2012-06-28 17:40:46 +00:00
|
|
|
|
|
|
|
<!-- TODO: this activity doesn't exist. Determine what to do here -->
|
|
|
|
<activity android:name=".ui.CreateShortcutActivity"
|
|
|
|
android:label="@string/activity_folder_selection" />
|
|
|
|
|
|
|
|
<activity android:name="com.android.mail.ui.FolderSelectionActivity"
|
|
|
|
android:label="@string/activity_folder_selection" />
|
|
|
|
|
|
|
|
<activity android:name="com.android.email2.ui.MailboxSelectionActivityEmail"
|
|
|
|
android:label="@string/app_name" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="com.android.mail.ui.ShortcutNameActivity"
|
|
|
|
android:label="@string/shortcut_name_title"
|
|
|
|
android:theme="@style/ShortcutWidgetTheme">
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="com.android.mail.ui.MailboxSelectionActivity"
|
|
|
|
android:label="@string/app_name" >
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity android:name="com.android.email2.ui.CreateShortcutActivityEmail"
|
|
|
|
android:theme="@style/ShortcutWidgetTheme"
|
|
|
|
android:label="@string/activity_folder_selection">
|
|
|
|
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:name="com.android.email2.ui.MailActivityEmail"
|
2012-07-27 17:48:08 +00:00
|
|
|
android:theme="@style/PlainUnifiedEmailTheme"
|
2012-06-28 17:40:46 +00:00
|
|
|
android:uiOptions="splitActionBarWhenNarrow">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.VIEW" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data android:scheme="content"/>
|
2012-09-08 17:50:40 +00:00
|
|
|
<data android:mimeType="@string/application_mime_type" />
|
2012-06-28 17:40:46 +00:00
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.SEARCH" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
|
|
|
|
</activity>
|
2011-03-31 20:29:23 +00:00
|
|
|
|
2012-07-21 12:35:21 +00:00
|
|
|
<activity-alias android:name="com.android.email.activity.Welcome"
|
|
|
|
android:targetActivity="com.android.email2.ui.MailActivityEmail"
|
|
|
|
android:label="@string/app_name" >
|
|
|
|
<intent-filter >
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
<category android:name="android.intent.category.APP_EMAIL" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity-alias>
|
|
|
|
|
2009-08-06 04:48:15 +00:00
|
|
|
<!-- Must be exported in order for the AccountManager to launch it -->
|
2010-12-05 06:53:59 +00:00
|
|
|
<!-- Also available for continuous test systems to force account creation -->
|
2009-03-04 03:32:22 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupBasics"
|
|
|
|
android:label="@string/account_setup_basics_title"
|
2009-08-06 04:48:15 +00:00
|
|
|
android:exported="true"
|
2009-03-04 03:32:22 +00:00
|
|
|
>
|
2010-12-05 06:53:59 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.CREATE_ACCOUNT" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2009-03-04 03:32:22 +00:00
|
|
|
</activity>
|
|
|
|
<activity
|
2012-06-28 17:40:46 +00:00
|
|
|
android:name=".activity.setup.AccountSetupType"
|
2009-03-04 03:32:22 +00:00
|
|
|
android:label="@string/account_setup_account_type_title"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupIncoming"
|
|
|
|
android:label="@string/account_setup_incoming_title"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupOutgoing"
|
|
|
|
android:label="@string/account_setup_outgoing_title"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupOptions"
|
|
|
|
android:label="@string/account_setup_options_title"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupNames"
|
|
|
|
android:label="@string/account_setup_names_title"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
2011-05-13 00:27:56 +00:00
|
|
|
android:name=".activity.setup.AccountSettings"
|
2011-07-22 22:15:47 +00:00
|
|
|
android:label="@string/settings_activity_title"
|
|
|
|
android:theme="@android:style/Theme.Holo.Light"
|
2009-03-04 03:32:22 +00:00
|
|
|
>
|
2010-02-16 22:04:25 +00:00
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
|
|
|
|
<category
|
|
|
|
android:name="android.intent.category.DEFAULT" />
|
2010-02-16 22:04:25 +00:00
|
|
|
</intent-filter>
|
2011-03-22 00:08:16 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.EDIT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
|
|
android:scheme="content"
|
|
|
|
android:host="ui.email.android.com"
|
2012-06-28 17:40:46 +00:00
|
|
|
android:pathPrefix="/settings"
|
2011-03-22 00:08:16 +00:00
|
|
|
/>
|
|
|
|
</intent-filter>
|
2011-07-21 01:09:51 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2009-03-04 03:32:22 +00:00
|
|
|
</activity>
|
2012-09-06 17:19:34 +00:00
|
|
|
<activity
|
|
|
|
android:name=".provider.FolderPickerActivity"
|
|
|
|
android:label="@string/folder_picker_title"
|
|
|
|
android:theme="@android:style/Theme.Holo.Light"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.EDIT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<data
|
|
|
|
android:scheme="content"
|
|
|
|
android:host="ui.email.android.com"
|
|
|
|
android:pathPrefix="/setup"
|
|
|
|
/>
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-02-05 19:10:39 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSecurity"
|
|
|
|
android.label="@string/account_security_title"
|
|
|
|
>
|
|
|
|
</activity>
|
2009-03-04 03:32:22 +00:00
|
|
|
|
2010-07-21 21:29:49 +00:00
|
|
|
<activity
|
2012-06-28 17:40:46 +00:00
|
|
|
android:name=".activity.setup.MailboxSettings"
|
|
|
|
android:label="@string/mailbox_settings_activity_title"
|
2011-08-07 22:33:33 +00:00
|
|
|
>
|
2009-06-30 22:12:23 +00:00
|
|
|
</activity>
|
2012-06-28 17:40:46 +00:00
|
|
|
|
2010-07-26 21:35:06 +00:00
|
|
|
<activity
|
2012-06-28 17:40:46 +00:00
|
|
|
android:name="com.android.mail.photo.MailPhotoViewActivity"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:theme="@style/PhotoViewTheme" >
|
2009-03-04 03:32:22 +00:00
|
|
|
</activity>
|
2012-06-28 17:40:46 +00:00
|
|
|
|
|
|
|
<provider
|
|
|
|
android:authorities="com.android.email2.conversation.provider"
|
|
|
|
android:label="@string/conversation_content_provider"
|
|
|
|
android:multiprocess="false"
|
|
|
|
android:name="com.android.mail.browse.EmailConversationProvider" >
|
|
|
|
<grant-uri-permission android:pathPattern=".*" />
|
|
|
|
</provider>
|
|
|
|
|
|
|
|
<provider
|
|
|
|
android:authorities="com.android.email2.accountcache"
|
|
|
|
android:label="@string/account_cache_provider"
|
|
|
|
android:multiprocess="false"
|
|
|
|
android:name="com.android.mail.providers.EmailAccountCacheProvider" >
|
|
|
|
<grant-uri-permission android:pathPattern=".*" />
|
|
|
|
</provider>
|
|
|
|
|
|
|
|
<!-- The android:name is the name of the Provider class which is stored in
|
|
|
|
UnifiedEmail, and has package name com.android.mail.providers and the class is
|
|
|
|
called SuggestionsProvider. The authority name is specified in the MailAppProvider
|
|
|
|
which is specific to the two apps separately. -->
|
|
|
|
<provider android:name="com.android.mail.providers.SuggestionsProvider"
|
|
|
|
android:authorities="com.android.email.suggestionsprovider" />
|
|
|
|
|
|
|
|
<receiver android:name="com.android.mail.providers.protos.boot.AccountReceiver">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.email2.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
|
2012-08-13 16:58:47 +00:00
|
|
|
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
|
2012-06-28 17:40:46 +00:00
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
|
|
|
<service android:name="com.android.mail.compose.EmptyService"/>
|
|
|
|
<!-- Widget -->
|
2012-07-20 21:57:40 +00:00
|
|
|
<receiver android:name=".provider.WidgetProvider" android:label="@string/app_name">
|
2009-03-04 03:32:22 +00:00
|
|
|
<intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
|
2010-09-23 16:19:44 +00:00
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<action android:name="com.android.mail.ACTION_NOTIFY_DATASET_CHANGED" />
|
2012-09-08 17:50:40 +00:00
|
|
|
<data android:mimeType="@string/application_mime_type" />
|
2009-09-01 14:25:30 +00:00
|
|
|
</intent-filter>
|
2012-07-19 17:03:10 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.mail.ACTION_UPDATE_WIDGET" />
|
2012-09-08 17:50:40 +00:00
|
|
|
<data android:mimeType="@string/application_mime_type" />
|
2012-07-19 17:03:10 +00:00
|
|
|
</intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<meta-data android:name="android.appwidget.provider"
|
|
|
|
android:resource="@xml/widget_info" />
|
|
|
|
</receiver>
|
|
|
|
<service android:name="com.android.mail.widget.WidgetService"
|
|
|
|
android:permission="android.permission.BIND_REMOTEVIEWS"
|
|
|
|
android:exported="false" />
|
2011-05-16 22:23:15 +00:00
|
|
|
|
2012-06-28 17:40:46 +00:00
|
|
|
<!-- From Email application -->
|
2011-07-02 21:48:43 +00:00
|
|
|
|
2011-01-14 20:00:17 +00:00
|
|
|
<receiver
|
2010-09-23 16:19:44 +00:00
|
|
|
android:name=".service.AttachmentDownloadService$Watchdog"
|
2010-11-29 21:21:11 +00:00
|
|
|
android:enabled="true"/>
|
|
|
|
|
2010-09-23 16:19:44 +00:00
|
|
|
<receiver
|
|
|
|
android:name=".service.EmailBroadcastReceiver"
|
|
|
|
android:enabled="true">
|
2009-03-04 03:32:22 +00:00
|
|
|
<intent-filter>
|
2012-06-28 17:40:46 +00:00
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
<action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
|
|
|
|
<action android:name="android.intent.action.DEVICE_STORAGE_OK" />
|
|
|
|
<action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
|
|
|
|
</intent-filter>
|
|
|
|
<!-- To handle new message notifications -->
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="com.android.mail.action.update_notification"
|
|
|
|
android:priority="-10" />
|
2012-09-08 17:50:40 +00:00
|
|
|
<data android:mimeType="@string/application_mime_type" />
|
2009-03-04 03:32:22 +00:00
|
|
|
</intent-filter>
|
2010-06-30 22:43:12 +00:00
|
|
|
<!-- To handle secret code to activate the debug screen. -->
|
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="android.provider.Telephony.SECRET_CODE" />
|
2010-06-30 22:43:12 +00:00
|
|
|
<!-- "36245" = "email" -->
|
2010-09-23 16:19:44 +00:00
|
|
|
<data
|
|
|
|
android:scheme="android_secret_code"
|
|
|
|
android:host="36245" />
|
2010-06-30 22:43:12 +00:00
|
|
|
</intent-filter>
|
2009-03-04 03:32:22 +00:00
|
|
|
</receiver>
|
2010-09-23 16:19:44 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.EmailBroadcastProcessorService" />
|
2009-08-28 17:33:18 +00:00
|
|
|
|
2010-02-02 00:48:16 +00:00
|
|
|
<!-- Support for DeviceAdmin / DevicePolicyManager. See SecurityPolicy class for impl. -->
|
|
|
|
<receiver
|
|
|
|
android:name=".SecurityPolicy$PolicyAdmin"
|
|
|
|
android:label="@string/device_admin_label"
|
|
|
|
android:description="@string/device_admin_description"
|
|
|
|
android:permission="android.permission.BIND_DEVICE_ADMIN" >
|
|
|
|
<meta-data
|
|
|
|
android:name="android.app.device_admin"
|
|
|
|
android:resource="@xml/device_admin" />
|
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
|
2010-02-02 00:48:16 +00:00
|
|
|
</intent-filter>
|
2010-01-28 18:07:51 +00:00
|
|
|
</receiver>
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.MailService"
|
2010-08-24 18:12:53 +00:00
|
|
|
android:enabled="true"
|
2010-08-18 15:50:45 +00:00
|
|
|
>
|
|
|
|
</service>
|
|
|
|
|
2010-08-10 00:48:53 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.AttachmentDownloadService"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
</service>
|
|
|
|
|
2010-07-08 17:08:47 +00:00
|
|
|
<!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
|
|
|
|
<service
|
2012-08-23 05:25:42 +00:00
|
|
|
android:name=".service.Pop3AuthenticatorService"
|
2010-07-08 17:08:47 +00:00
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
2011-01-14 20:00:17 +00:00
|
|
|
<action
|
2010-09-23 16:19:44 +00:00
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
2010-07-08 17:08:47 +00:00
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
2012-08-23 05:25:42 +00:00
|
|
|
android:resource="@xml/authenticator_pop3"
|
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
<!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
|
|
|
|
<service
|
|
|
|
android:name=".service.ImapAuthenticatorService"
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator_imap"
|
2010-07-08 17:08:47 +00:00
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<!--Required stanza to register the PopImapSyncAdapterService with SyncManager -->
|
|
|
|
<service
|
2012-08-23 05:25:42 +00:00
|
|
|
android:name="com.android.email.service.Pop3SyncAdapterService"
|
2010-07-08 17:08:47 +00:00
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="android.content.SyncAdapter" />
|
2010-07-08 17:08:47 +00:00
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.content.SyncAdapter"
|
2012-08-23 05:25:42 +00:00
|
|
|
android:resource="@xml/syncadapter_pop3" />
|
2010-07-08 17:08:47 +00:00
|
|
|
</service>
|
|
|
|
|
2011-02-09 02:54:56 +00:00
|
|
|
<!-- Require provider permission to use our Policy and Account services -->
|
|
|
|
<service
|
|
|
|
android:name=".service.PolicyService"
|
|
|
|
android:enabled="true"
|
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.POLICY_INTENT" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
2011-02-09 01:50:30 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.AccountService"
|
|
|
|
android:enabled="true"
|
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.ACCOUNT_INTENT" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
2012-06-28 17:40:46 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.ImapService"
|
|
|
|
android:enabled="true"
|
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.IMAP_INTENT" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".service.Pop3Service"
|
|
|
|
android:enabled="true"
|
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="com.android.email.POP3_INTENT" />
|
|
|
|
</intent-filter>
|
|
|
|
</service>
|
|
|
|
|
2009-07-07 16:39:11 +00:00
|
|
|
<!--Required stanza to register the EasAuthenticatorService with AccountManager -->
|
2010-01-28 18:07:51 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.EasAuthenticatorService"
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
2009-07-07 16:39:11 +00:00
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
2009-07-07 16:39:11 +00:00
|
|
|
</intent-filter>
|
2010-01-28 18:07:51 +00:00
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
2012-08-23 05:25:42 +00:00
|
|
|
android:resource="@xml/authenticator_eas"
|
2010-01-28 18:07:51 +00:00
|
|
|
/>
|
|
|
|
</service>
|
2011-06-21 19:11:57 +00:00
|
|
|
<!--Required stanza to register the EasTestAuthenticatorService with AccountManager -->
|
|
|
|
<service
|
|
|
|
android:name=".service.EasTestAuthenticatorService"
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/eastest_authenticator"
|
|
|
|
/>
|
|
|
|
</service>
|
2010-01-28 18:07:51 +00:00
|
|
|
<!--
|
2010-09-23 16:19:44 +00:00
|
|
|
EasAuthenticatorService with the alternative label. Disabled by default,
|
2010-01-28 18:07:51 +00:00
|
|
|
and OneTimeInitializer enables it if the vendor policy tells so.
|
|
|
|
-->
|
|
|
|
<service
|
|
|
|
android:name=".service.EasAuthenticatorServiceAlternate"
|
|
|
|
android:exported="true"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
2010-09-23 16:19:44 +00:00
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
2010-01-28 18:07:51 +00:00
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator_alternate"
|
|
|
|
/>
|
2009-07-07 16:39:11 +00:00
|
|
|
</service>
|
2012-06-29 16:42:05 +00:00
|
|
|
<service
|
2012-08-23 05:25:42 +00:00
|
|
|
android:name=".service.ImapAuthenticatorService"
|
2012-06-29 16:42:05 +00:00
|
|
|
android:exported="true"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
2012-08-23 05:25:42 +00:00
|
|
|
android:resource="@xml/authenticator_imap"
|
2012-06-29 16:42:05 +00:00
|
|
|
/>
|
|
|
|
</service>
|
2012-08-21 22:21:40 +00:00
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".imap2.EmailSyncAdapterService"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.content.SyncAdapter" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.content.SyncAdapter"
|
2012-08-23 05:25:42 +00:00
|
|
|
android:resource="@xml/syncadapter_imap" />
|
2012-08-21 22:21:40 +00:00
|
|
|
</service>
|
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".imap2.Imap2SyncManager"
|
|
|
|
android:enabled="true"
|
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
>
|
|
|
|
</service>
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
<provider
|
|
|
|
android:name=".provider.AttachmentProvider"
|
|
|
|
android:authorities="com.android.email.attachmentprovider"
|
|
|
|
android:multiprocess="true"
|
|
|
|
android:grantUriPermissions="true"
|
|
|
|
android:readPermission="com.android.email.permission.READ_ATTACHMENT"
|
|
|
|
/>
|
2009-09-21 00:23:59 +00:00
|
|
|
|
|
|
|
<!-- This provider MUST be protected by strict permissions, as granting access to
|
|
|
|
it exposes user passwords and other confidential information. -->
|
2009-05-27 22:43:27 +00:00
|
|
|
<provider
|
|
|
|
android:name=".provider.EmailProvider"
|
2010-12-17 17:54:20 +00:00
|
|
|
android:authorities="com.android.email.provider;com.android.email.notifier"
|
2009-05-27 22:43:27 +00:00
|
|
|
android:multiprocess="true"
|
2009-09-21 00:23:59 +00:00
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
2010-07-08 17:08:47 +00:00
|
|
|
android:label="@string/app_name"
|
2009-05-27 22:43:27 +00:00
|
|
|
/>
|
2010-03-13 08:38:47 +00:00
|
|
|
|
2012-08-23 05:25:42 +00:00
|
|
|
<!-- Legacy authenticators, etc. can be added below. OEMs may remove these -->
|
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".service.LegacyEmailAuthenticatorService"
|
|
|
|
android:exported="false"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator_legacy_email"
|
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
|
|
|
|
<service
|
|
|
|
android:name=".service.LegacyEasAuthenticatorService"
|
|
|
|
android:exported="false"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator_legacy_eas"
|
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
|
2012-08-24 02:40:47 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.LegacyImap2AuthenticatorService"
|
|
|
|
android:exported="false"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action
|
|
|
|
android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator_legacy_imap2"
|
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
</application>
|
2012-08-23 05:25:42 +00:00
|
|
|
|
|
|
|
<!-- Legacy permissions, etc. can go here -->
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
</manifest>
|