2009-03-04 03:32:22 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!-- Copyright (C) 2008 The Android Open Source Project
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
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.
|
|
|
|
-->
|
|
|
|
|
|
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
package="com.android.email">
|
|
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_CONTACTS"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_OWNER_DATA"/>
|
|
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
|
|
|
<uses-permission android:name="android.permission.INTERNET"/>
|
|
|
|
<uses-permission android:name="android.permission.VIBRATE"/>
|
2009-06-04 22:16:43 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
2009-08-20 21:38:12 +00:00
|
|
|
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
|
2009-07-24 23:25:18 +00:00
|
|
|
<uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
|
2009-07-27 17:24:58 +00:00
|
|
|
<uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
|
2009-08-17 20:05:44 +00:00
|
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
|
|
<uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
|
|
|
|
|
2009-07-05 19:54:49 +00:00
|
|
|
<!-- For EAS purposes; could be removed when EAS has a permanent home -->
|
|
|
|
<uses-permission android:name="android.permission.WRITE_CONTACTS"/>
|
2009-10-29 01:12:51 +00:00
|
|
|
<uses-permission android:name="android.permission.WRITE_CALENDAR"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_CALENDAR"/>
|
2009-07-05 19:54:49 +00:00
|
|
|
|
2009-05-07 00:50:29 +00:00
|
|
|
<!-- Only required if a store implements push mail and needs to keep network open -->
|
|
|
|
<uses-permission android:name="android.permission.WAKE_LOCK"/>
|
|
|
|
<uses-permission android:name="android.permission.READ_PHONE_STATE"/>
|
2009-09-21 00:23:59 +00:00
|
|
|
|
|
|
|
<!-- Grant permission to other apps to view attachments -->
|
2009-03-04 03:32:22 +00:00
|
|
|
<permission android:name="com.android.email.permission.READ_ATTACHMENT"
|
|
|
|
android:permissionGroup="android.permission-group.MESSAGES"
|
|
|
|
android:protectionLevel="dangerous"
|
|
|
|
android:label="@string/read_attachment_label"
|
|
|
|
android:description="@string/read_attachment_desc"/>
|
|
|
|
<uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
|
2009-09-21 00:23:59 +00:00
|
|
|
|
|
|
|
<!-- Grant permission to system apps to access provider (see provider below) -->
|
|
|
|
<permission android:name="com.android.email.permission.ACCESS_PROVIDER"
|
|
|
|
android:protectionLevel="signatureOrSystem"
|
|
|
|
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-03-04 03:32:22 +00:00
|
|
|
<application android:icon="@drawable/icon" android:label="@string/app_name"
|
|
|
|
android:name="Email">
|
2010-02-11 07:17:55 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.Welcome">
|
2009-03-04 03:32:22 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
2010-02-11 07:17:55 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.UpgradeAccounts"
|
|
|
|
android:label="@string/upgrade_accounts_title"
|
|
|
|
android:theme="@android:style/Theme.NoTitleBar"
|
|
|
|
android:configChanges="keyboardHidden|orientation" >
|
|
|
|
</activity>
|
2009-08-06 04:48:15 +00:00
|
|
|
<!-- Must be exported in order for the AccountManager to launch it -->
|
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
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupAccountType"
|
|
|
|
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>
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-START-->
|
2009-04-03 23:02:55 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupExchange"
|
|
|
|
android:label="@string/account_setup_exchange_title"
|
|
|
|
>
|
|
|
|
</activity>
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-END-->
|
2009-03-04 03:32:22 +00:00
|
|
|
<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>
|
|
|
|
<!-- XXX Note: this activity is hacked to ignore config changes,
|
|
|
|
since it doesn't currently handle them correctly in code. -->
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSetupCheckSettings"
|
|
|
|
android:label="@string/account_setup_check_settings_title"
|
|
|
|
android:configChanges="keyboardHidden|orientation"
|
|
|
|
>
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.setup.AccountSettings"
|
|
|
|
android:label="@string/account_settings_action"
|
|
|
|
>
|
|
|
|
</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
|
|
|
|
|
|
|
<activity
|
|
|
|
android:name=".activity.Debug"
|
|
|
|
android:label="@string/debug_title">
|
|
|
|
</activity>
|
|
|
|
<activity
|
2009-07-09 19:33:09 +00:00
|
|
|
android:name=".activity.AccountFolderList"
|
2009-03-04 03:32:22 +00:00
|
|
|
android:launchMode="singleTop" >
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity
|
|
|
|
android:name=".activity.AccountShortcutPicker"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.CREATE_SHORTCUT" />
|
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
|
|
|
</activity>
|
|
|
|
|
|
|
|
<activity
|
2010-02-10 15:46:41 +00:00
|
|
|
android:name=".activity.MailboxList"
|
|
|
|
android:theme="@style/ThemeNoTitleBar">
|
2009-03-04 03:32:22 +00:00
|
|
|
</activity>
|
2009-06-30 22:12:23 +00:00
|
|
|
|
|
|
|
<activity
|
2010-02-10 15:46:41 +00:00
|
|
|
android:name=".activity.MessageList"
|
|
|
|
android:theme="@style/ThemeNoTitleBar">
|
2009-07-21 18:06:14 +00:00
|
|
|
<intent-filter>
|
|
|
|
<!-- This action is only to allow an entry point for launcher shortcuts -->
|
|
|
|
<action android:name="android.intent.action.MAIN" />
|
|
|
|
</intent-filter>
|
2009-06-30 22:12:23 +00:00
|
|
|
</activity>
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
<activity
|
|
|
|
android:name=".activity.MessageView"
|
|
|
|
android:theme="@android:style/Theme.NoTitleBar" >
|
|
|
|
</activity>
|
|
|
|
<activity
|
|
|
|
android:name=".activity.MessageCompose"
|
|
|
|
android:label="@string/app_name"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<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" />
|
2009-09-28 06:49:10 +00:00
|
|
|
<data android:mimeType="*/*" />
|
2009-03-04 03:32:22 +00:00
|
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
|
|
</intent-filter>
|
2009-09-01 14:25:30 +00:00
|
|
|
<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>
|
2009-03-04 03:32:22 +00:00
|
|
|
</activity>
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-START-->
|
2009-08-05 05:33:32 +00:00
|
|
|
<receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
|
2009-07-05 19:54:49 +00:00
|
|
|
<receiver android:name="com.android.exchange.MailboxAlarmReceiver"/>
|
2009-08-28 17:33:18 +00:00
|
|
|
<receiver android:name="com.android.exchange.BootReceiver" android:enabled="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-END-->
|
2009-08-28 17:33:18 +00:00
|
|
|
|
2009-09-23 22:06:19 +00:00
|
|
|
<receiver android:name=".service.BootReceiver" android:enabled="true">
|
2009-03-04 03:32:22 +00:00
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
|
|
|
|
</intent-filter>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.DEVICE_STORAGE_OK" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
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>
|
|
|
|
<action android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2010-01-28 18:07:51 +00:00
|
|
|
<receiver
|
|
|
|
android:name=".OneTimeInitializer"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
|
|
</intent-filter>
|
|
|
|
</receiver>
|
|
|
|
|
2009-03-04 03:32:22 +00:00
|
|
|
<service
|
|
|
|
android:name=".service.MailService"
|
|
|
|
android:enabled="false"
|
|
|
|
>
|
|
|
|
</service>
|
2009-07-21 00:15:45 +00:00
|
|
|
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-START-->
|
2009-07-27 17:24:58 +00:00
|
|
|
<!--Required stanza to register the ContactsSyncAdapterService with SyncManager -->
|
|
|
|
<service
|
|
|
|
android:name="com.android.exchange.ContactsSyncAdapterService"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.content.SyncAdapter" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.content.SyncAdapter"
|
|
|
|
android:resource="@xml/syncadapter_contacts" />
|
|
|
|
</service>
|
|
|
|
|
2009-10-29 01:12:51 +00:00
|
|
|
<!--Required stanza to register the CalendarSyncAdapterService with SyncManager -->
|
|
|
|
<service
|
|
|
|
android:name="com.android.exchange.CalendarSyncAdapterService"
|
|
|
|
android:exported="true">
|
|
|
|
<intent-filter>
|
|
|
|
<action android:name="android.content.SyncAdapter" />
|
|
|
|
</intent-filter>
|
|
|
|
<meta-data android:name="android.content.SyncAdapter"
|
|
|
|
android:resource="@xml/syncadapter_calendar" />
|
|
|
|
</service>
|
|
|
|
|
2009-07-21 00:15:45 +00:00
|
|
|
<!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
|
2009-06-16 19:03:45 +00:00
|
|
|
<service
|
|
|
|
android:name="com.android.exchange.SyncManager"
|
|
|
|
android:enabled="true"
|
|
|
|
>
|
|
|
|
</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>
|
|
|
|
<action android:name="android.accounts.AccountAuthenticator" />
|
|
|
|
</intent-filter>
|
2010-01-28 18:07:51 +00:00
|
|
|
<meta-data
|
|
|
|
android:name="android.accounts.AccountAuthenticator"
|
|
|
|
android:resource="@xml/authenticator"
|
|
|
|
/>
|
|
|
|
</service>
|
|
|
|
<!--
|
|
|
|
EasAuthenticatorService with the altenative label. Disabled by default,
|
|
|
|
and OneTimeInitializer enables it if the vendor policy tells so.
|
|
|
|
-->
|
|
|
|
<service
|
|
|
|
android:name=".service.EasAuthenticatorServiceAlternate"
|
|
|
|
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/authenticator_alternate"
|
|
|
|
/>
|
2009-07-07 16:39:11 +00:00
|
|
|
</service>
|
2010-02-02 23:06:52 +00:00
|
|
|
<!--EXCHANGE-REMOVE-SECTION-END-->
|
2009-07-07 16:39:11 +00:00
|
|
|
|
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"
|
|
|
|
android:authorities="com.android.email.provider"
|
|
|
|
android:multiprocess="true"
|
2009-09-21 00:23:59 +00:00
|
|
|
android:permission="com.android.email.permission.ACCESS_PROVIDER"
|
2009-05-27 22:43:27 +00:00
|
|
|
/>
|
2009-03-04 03:32:22 +00:00
|
|
|
</application>
|
|
|
|
</manifest>
|