The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 1 | <?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 Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 7 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 9 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 10 | Unless required by applicable law or agreed to in writing, software |
| 11 | distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | See the License for the specific language governing permissions and |
| 14 | limitations under the License. |
| 15 | --> |
| 16 | |
| 17 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 18 | package="com.android.email"> |
Jeff Hamilton | 1e56db6 | 2010-02-11 16:25:49 -0600 | [diff] [blame] | 19 | |
| 20 | <original-package android:name="com.android.email" /> |
| 21 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> |
| 23 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
| 24 | <uses-permission android:name="android.permission.READ_OWNER_DATA"/> |
| 25 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/> |
| 26 | <uses-permission android:name="android.permission.INTERNET"/> |
| 27 | <uses-permission android:name="android.permission.VIBRATE"/> |
Andrew Stadler | a392e07 | 2009-06-04 15:16:43 -0700 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> |
Marc Blank | 03ecce7 | 2009-08-20 14:38:12 -0700 | [diff] [blame] | 29 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Andrew Stadler | 627d1ae | 2009-07-24 16:25:18 -0700 | [diff] [blame] | 30 | <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" /> |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 31 | <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> |
Fred Quintana | 4c19543 | 2009-08-17 13:05:44 -0700 | [diff] [blame] | 32 | <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" /> |
| 33 | <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" /> |
| 34 | |
Marc Blank | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 35 | <!-- For EAS purposes; could be removed when EAS has a permanent home --> |
| 36 | <uses-permission android:name="android.permission.WRITE_CONTACTS"/> |
Marc Blank | f3fcb89 | 2009-10-28 18:12:51 -0700 | [diff] [blame] | 37 | <uses-permission android:name="android.permission.WRITE_CALENDAR"/> |
| 38 | <uses-permission android:name="android.permission.READ_CALENDAR"/> |
Marc Blank | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 39 | |
Andy Stadler | dab90a7 | 2009-05-06 17:50:29 -0700 | [diff] [blame] | 40 | <!-- Only required if a store implements push mail and needs to keep network open --> |
| 41 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 42 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 43 | |
| 44 | <!-- Grant permission to other apps to view attachments --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 45 | <permission android:name="com.android.email.permission.READ_ATTACHMENT" |
| 46 | android:permissionGroup="android.permission-group.MESSAGES" |
| 47 | android:protectionLevel="dangerous" |
| 48 | android:label="@string/read_attachment_label" |
| 49 | android:description="@string/read_attachment_desc"/> |
| 50 | <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 51 | |
| 52 | <!-- Grant permission to system apps to access provider (see provider below) --> |
| 53 | <permission android:name="com.android.email.permission.ACCESS_PROVIDER" |
| 54 | android:protectionLevel="signatureOrSystem" |
| 55 | android:label="@string/permission_access_provider_label" |
| 56 | android:description="@string/permission_access_provider_desc"/> |
| 57 | <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/> |
| 58 | |
Makoto Onuki | 5d1e32a | 2010-08-24 13:29:00 -0700 | [diff] [blame] | 59 | <!-- |
| 60 | Regarding android:theme |
| 61 | Some of the activities can't handle ActionBar, which comes with the new |
| 62 | default theme "Holo". Explicitly set the traditional default theme. |
| 63 | TODO This should go away. (Or make Light.Holo default) |
| 64 | --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 65 | <application android:icon="@drawable/icon" android:label="@string/app_name" |
Makoto Onuki | 5d1e32a | 2010-08-24 13:29:00 -0700 | [diff] [blame] | 66 | android:name="Email" |
| 67 | android:theme="@android:style/Theme" |
| 68 | > |
Andrew Stadler | 842ac04 | 2010-02-10 23:17:55 -0800 | [diff] [blame] | 69 | <activity |
Makoto Onuki | 191448b | 2010-08-04 15:38:25 -0700 | [diff] [blame] | 70 | android:name=".activity.Welcome" |
| 71 | android:theme="@android:style/Theme.WithActionBar" > |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 72 | > |
| 73 | <intent-filter> |
| 74 | <action android:name="android.intent.action.MAIN" /> |
Makoto Onuki | 191448b | 2010-08-04 15:38:25 -0700 | [diff] [blame] | 75 | <category android:name="android.intent.category.DEFAULT" /> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 76 | <category android:name="android.intent.category.LAUNCHER" /> |
| 77 | </intent-filter> |
| 78 | </activity> |
Andrew Stadler | 842ac04 | 2010-02-10 23:17:55 -0800 | [diff] [blame] | 79 | <activity |
| 80 | android:name=".activity.UpgradeAccounts" |
| 81 | android:label="@string/upgrade_accounts_title" |
| 82 | android:theme="@android:style/Theme.NoTitleBar" |
| 83 | android:configChanges="keyboardHidden|orientation" > |
| 84 | </activity> |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 85 | <!-- Must be exported in order for the AccountManager to launch it --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 86 | <activity |
| 87 | android:name=".activity.setup.AccountSetupBasics" |
| 88 | android:label="@string/account_setup_basics_title" |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 89 | android:exported="true" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 90 | > |
| 91 | </activity> |
| 92 | <activity |
| 93 | android:name=".activity.setup.AccountSetupAccountType" |
| 94 | android:label="@string/account_setup_account_type_title" |
| 95 | > |
| 96 | </activity> |
| 97 | <activity |
| 98 | android:name=".activity.setup.AccountSetupIncoming" |
| 99 | android:label="@string/account_setup_incoming_title" |
| 100 | > |
| 101 | </activity> |
| 102 | <activity |
| 103 | android:name=".activity.setup.AccountSetupOutgoing" |
| 104 | android:label="@string/account_setup_outgoing_title" |
| 105 | > |
| 106 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 107 | <!--EXCHANGE-REMOVE-SECTION-START--> |
Andrew Stadler | 9f73249 | 2010-03-03 22:19:41 -0800 | [diff] [blame] | 108 | <!-- This activity ignores configuration changes (e.g. rotation) so that it will |
| 109 | not make multiple calls to AccountSetupCheckSettings. --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 110 | <activity |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 111 | android:name=".activity.setup.AccountSetupExchange" |
| 112 | android:label="@string/account_setup_exchange_title" |
Andrew Stadler | 9f73249 | 2010-03-03 22:19:41 -0800 | [diff] [blame] | 113 | android:configChanges="keyboardHidden|orientation" |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 114 | > |
| 115 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 116 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 117 | <activity |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 118 | android:name=".activity.setup.AccountSetupOptions" |
| 119 | android:label="@string/account_setup_options_title" |
| 120 | > |
| 121 | </activity> |
| 122 | <activity |
| 123 | android:name=".activity.setup.AccountSetupNames" |
| 124 | android:label="@string/account_setup_names_title" |
| 125 | > |
| 126 | </activity> |
| 127 | <!-- XXX Note: this activity is hacked to ignore config changes, |
| 128 | since it doesn't currently handle them correctly in code. --> |
| 129 | <activity |
| 130 | android:name=".activity.setup.AccountSetupCheckSettings" |
| 131 | android:label="@string/account_setup_check_settings_title" |
| 132 | android:configChanges="keyboardHidden|orientation" |
| 133 | > |
| 134 | </activity> |
| 135 | <activity |
| 136 | android:name=".activity.setup.AccountSettings" |
| 137 | android:label="@string/account_settings_action" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 138 | > |
Makoto Onuki | 0fef1f1 | 2010-02-16 14:04:25 -0800 | [diff] [blame] | 139 | <intent-filter> |
| 140 | <action android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" /> |
| 141 | <category android:name="android.intent.category.DEFAULT" /> |
| 142 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 143 | </activity> |
Andrew Stadler | 2ae2a12 | 2010-08-18 11:29:46 -0700 | [diff] [blame] | 144 | <!-- STOPSHIP - AccountSettingsXL is a parallel implementation and eventually |
| 145 | it simply replaces activity.setup.AccountSettings --> |
| 146 | <activity |
| 147 | android:name=".activity.setup.AccountSettingsXL" |
| 148 | android:label="@string/account_settings_action" |
Andrew Stadler | a14a24a | 2010-08-19 16:28:52 -0700 | [diff] [blame] | 149 | android:theme="@android:style/Theme.WithActionBar" > |
Andrew Stadler | 2ae2a12 | 2010-08-18 11:29:46 -0700 | [diff] [blame] | 150 | > |
| 151 | </activity> |
Andrew Stadler | 3d2b3b3 | 2010-02-05 11:10:39 -0800 | [diff] [blame] | 152 | <activity |
| 153 | android:name=".activity.setup.AccountSecurity" |
| 154 | android.label="@string/account_security_title" |
| 155 | > |
| 156 | </activity> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 157 | |
| 158 | <activity |
| 159 | android:name=".activity.Debug" |
| 160 | android:label="@string/debug_title"> |
| 161 | </activity> |
| 162 | <activity |
Andrew Stadler | 72dce73 | 2009-07-09 12:33:09 -0700 | [diff] [blame] | 163 | android:name=".activity.AccountFolderList" |
Andrew Stadler | 0d6ce63 | 2010-06-28 16:00:25 -0700 | [diff] [blame] | 164 | android:launchMode="singleTop" |
| 165 | android:theme="@android:style/Theme.WithActionBar" > |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 166 | </activity> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 167 | |
| 168 | <activity |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 169 | android:name=".activity.AccountShortcutPicker" |
| 170 | android:label="@string/app_name" |
| 171 | android:enabled="false" |
| 172 | > |
| 173 | <intent-filter> |
| 174 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 175 | <category android:name="android.intent.category.DEFAULT" /> |
| 176 | </intent-filter> |
| 177 | </activity> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 178 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 179 | <activity |
Mihai Preda | b052885 | 2010-02-10 16:46:41 +0100 | [diff] [blame] | 180 | android:name=".activity.MailboxList" |
Andrew Stadler | d5b2da3 | 2010-06-28 23:17:27 -0700 | [diff] [blame] | 181 | android:theme="@android:style/Theme.WithActionBar" > |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 182 | </activity> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 183 | |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 184 | <activity |
Mihai Preda | b052885 | 2010-02-10 16:46:41 +0100 | [diff] [blame] | 185 | android:name=".activity.MessageList" |
| 186 | android:theme="@style/ThemeNoTitleBar"> |
Makoto Onuki | 191448b | 2010-08-04 15:38:25 -0700 | [diff] [blame] | 187 | </activity> |
| 188 | <activity |
| 189 | android:name=".activity.MessageListXL" |
| 190 | android:theme="@android:style/Theme.WithActionBar" |
| 191 | > |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 192 | </activity> |
Makoto Onuki | a942858 | 2010-03-26 11:01:12 -0700 | [diff] [blame] | 193 | |
| 194 | <!-- |
| 195 | This activity catches shortcuts to account created on Android 1.6 and before, |
| 196 | and redirects to MessageList. |
| 197 | singleTask is necessary to make sure the activity is really launched. |
| 198 | Without it, the framework brings up the app to front, but doesn't necessarily |
| 199 | launch the activity. |
| 200 | --> |
| 201 | <activity |
| 202 | android:name=".activity.FolderMessageList" |
| 203 | android:launchMode="singleTask" |
| 204 | > |
| 205 | <intent-filter> |
| 206 | <!-- This action is only to allow an entry point for launcher shortcuts --> |
| 207 | <action android:name="android.intent.action.MAIN" /> |
| 208 | </intent-filter> |
| 209 | </activity> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 210 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 211 | <activity |
| 212 | android:name=".activity.MessageView" |
| 213 | android:theme="@android:style/Theme.NoTitleBar" > |
Makoto Onuki | e105fbe | 2010-07-26 14:35:06 -0700 | [diff] [blame] | 214 | </activity> |
| 215 | <activity |
| 216 | android:name=".activity.MessageFileView" |
| 217 | android:theme="@android:style/Theme.NoTitleBar" > |
Marc Blank | 391ae25 | 2010-05-04 15:33:08 -0700 | [diff] [blame] | 218 | <intent-filter android:label="@string/app_name"> |
| 219 | <action android:name="android.intent.action.VIEW" /> |
| 220 | <data android:mimeType="application/eml" /> |
| 221 | <data android:mimeType="message/rfc822" /> |
| 222 | <category android:name="android.intent.category.DEFAULT" /> |
| 223 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 224 | </activity> |
| 225 | <activity |
| 226 | android:name=".activity.MessageCompose" |
| 227 | android:label="@string/app_name" |
| 228 | android:enabled="false" |
| 229 | > |
| 230 | <intent-filter> |
| 231 | <action android:name="android.intent.action.VIEW" /> |
| 232 | <action android:name="android.intent.action.SENDTO" /> |
| 233 | <data android:scheme="mailto" /> |
| 234 | <category android:name="android.intent.category.DEFAULT" /> |
| 235 | <category android:name="android.intent.category.BROWSABLE" /> |
| 236 | </intent-filter> |
| 237 | <intent-filter android:label="@string/app_name"> |
| 238 | <action android:name="android.intent.action.SEND" /> |
Andrew Stadler | 92a1ff9 | 2009-09-27 23:49:10 -0700 | [diff] [blame] | 239 | <data android:mimeType="*/*" /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 240 | <category android:name="android.intent.category.DEFAULT" /> |
| 241 | </intent-filter> |
Mihai Preda | fa2238c | 2009-09-01 16:25:30 +0200 | [diff] [blame] | 242 | <intent-filter android:label="@string/app_name"> |
| 243 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 244 | <data android:mimeType="*/*" /> |
| 245 | <category android:name="android.intent.category.DEFAULT" /> |
| 246 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 247 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 248 | <!--EXCHANGE-REMOVE-SECTION-START--> |
Makoto Onuki | 898283b | 2010-05-27 18:29:35 -0700 | [diff] [blame] | 249 | <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/> |
| 250 | <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 251 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 252 | |
Makoto Onuki | 898283b | 2010-05-27 18:29:35 -0700 | [diff] [blame] | 253 | <receiver android:name=".service.EmailBroadcastReceiver" android:enabled="true"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 254 | <intent-filter> |
| 255 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 256 | <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 257 | <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> |
| 258 | </intent-filter> |
Makoto Onuki | 42e3f10 | 2010-06-30 15:43:12 -0700 | [diff] [blame] | 259 | <!-- To handle secret code to activate the debug screen. --> |
| 260 | <intent-filter> |
| 261 | <action android:name="android.provider.Telephony.SECRET_CODE" /> |
| 262 | <!-- "36245" = "email" --> |
| 263 | <data android:scheme="android_secret_code" android:host="36245" /> |
| 264 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 265 | </receiver> |
Makoto Onuki | 898283b | 2010-05-27 18:29:35 -0700 | [diff] [blame] | 266 | <service android:name=".service.EmailBroadcastProcessorService" /> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 267 | |
Andrew Stadler | d628608 | 2010-02-01 16:48:16 -0800 | [diff] [blame] | 268 | <!-- Support for DeviceAdmin / DevicePolicyManager. See SecurityPolicy class for impl. --> |
| 269 | <receiver |
| 270 | android:name=".SecurityPolicy$PolicyAdmin" |
| 271 | android:label="@string/device_admin_label" |
| 272 | android:description="@string/device_admin_description" |
| 273 | android:permission="android.permission.BIND_DEVICE_ADMIN" > |
| 274 | <meta-data |
| 275 | android:name="android.app.device_admin" |
| 276 | android:resource="@xml/device_admin" /> |
| 277 | <intent-filter> |
| 278 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 279 | </intent-filter> |
| 280 | </receiver> |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 281 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 282 | <service |
| 283 | android:name=".service.MailService" |
| 284 | android:enabled="false" |
| 285 | > |
| 286 | </service> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 287 | |
Marc Blank | c184f36 | 2010-08-23 18:48:25 -0700 | [diff] [blame] | 288 | <service |
Makoto Onuki | 45f530b | 2010-08-24 11:12:53 -0700 | [diff] [blame] | 289 | android:name=".Controller$ControllerService" |
| 290 | android:enabled="true" |
Marc Blank | 7894ee8 | 2010-08-18 08:50:45 -0700 | [diff] [blame] | 291 | > |
| 292 | </service> |
| 293 | |
| 294 | <service |
Marc Blank | 09fd4d0 | 2010-08-09 17:48:53 -0700 | [diff] [blame] | 295 | android:name=".service.AttachmentDownloadService" |
| 296 | android:enabled="false" |
| 297 | > |
| 298 | </service> |
| 299 | |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 300 | <!--EXCHANGE-REMOVE-SECTION-START--> |
Marc Blank | e6cc662 | 2010-07-08 10:08:47 -0700 | [diff] [blame] | 301 | <!--Required stanza to register the PopImapAuthenticatorService with AccountManager --> |
| 302 | <service |
| 303 | android:name=".service.PopImapAuthenticatorService" |
| 304 | android:exported="true" |
| 305 | android:enabled="true" |
| 306 | > |
| 307 | <intent-filter> |
| 308 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 309 | </intent-filter> |
| 310 | <meta-data |
| 311 | android:name="android.accounts.AccountAuthenticator" |
| 312 | android:resource="@xml/pop_imap_authenticator" |
| 313 | /> |
| 314 | </service> |
| 315 | |
| 316 | <!--Required stanza to register the PopImapSyncAdapterService with SyncManager --> |
| 317 | <service |
| 318 | android:name="com.android.email.service.PopImapSyncAdapterService" |
| 319 | android:exported="true"> |
| 320 | <intent-filter> |
| 321 | <action android:name="android.content.SyncAdapter" /> |
| 322 | </intent-filter> |
| 323 | <meta-data android:name="android.content.SyncAdapter" |
| 324 | android:resource="@xml/syncadapter_pop_imap" /> |
| 325 | </service> |
| 326 | |
| 327 | <!--EXCHANGE-REMOVE-SECTION-START--> |
| 328 | <!--Required stanza to register the EAS EmailSyncAdapterService with SyncManager --> |
| 329 | <service |
| 330 | android:name="com.android.exchange.EmailSyncAdapterService" |
| 331 | android:exported="true"> |
| 332 | <intent-filter> |
| 333 | <action android:name="android.content.SyncAdapter" /> |
| 334 | </intent-filter> |
| 335 | <meta-data android:name="android.content.SyncAdapter" |
| 336 | android:resource="@xml/syncadapter_email" /> |
| 337 | </service> |
| 338 | |
| 339 | <!--Required stanza to register the EAS ContactsSyncAdapterService with SyncManager --> |
Makoto Onuki | d6a2978 | 2010-07-21 14:29:49 -0700 | [diff] [blame] | 340 | <service |
| 341 | android:name="com.android.exchange.ContactsSyncAdapterService" |
| 342 | android:exported="true"> |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 343 | <intent-filter> |
| 344 | <action android:name="android.content.SyncAdapter" /> |
| 345 | </intent-filter> |
| 346 | <meta-data android:name="android.content.SyncAdapter" |
| 347 | android:resource="@xml/syncadapter_contacts" /> |
| 348 | </service> |
| 349 | |
Marc Blank | e6cc662 | 2010-07-08 10:08:47 -0700 | [diff] [blame] | 350 | <!--Required stanza to register the EAS CalendarSyncAdapterService with SyncManager --> |
Marc Blank | f3fcb89 | 2009-10-28 18:12:51 -0700 | [diff] [blame] | 351 | <service |
| 352 | android:name="com.android.exchange.CalendarSyncAdapterService" |
| 353 | android:exported="true"> |
| 354 | <intent-filter> |
| 355 | <action android:name="android.content.SyncAdapter" /> |
| 356 | </intent-filter> |
| 357 | <meta-data android:name="android.content.SyncAdapter" |
| 358 | android:resource="@xml/syncadapter_calendar" /> |
| 359 | </service> |
| 360 | |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 361 | <!-- Add android:process=":remote" below to enable SyncManager as a separate process --> |
Marc Blank | 2c67f1f | 2009-06-16 12:03:45 -0700 | [diff] [blame] | 362 | <service |
| 363 | android:name="com.android.exchange.SyncManager" |
| 364 | android:enabled="true" |
| 365 | > |
| 366 | </service> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 367 | |
| 368 | <!--Required stanza to register the EasAuthenticatorService with AccountManager --> |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 369 | <service |
| 370 | android:name=".service.EasAuthenticatorService" |
| 371 | android:exported="true" |
| 372 | android:enabled="true" |
| 373 | > |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 374 | <intent-filter> |
| 375 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 376 | </intent-filter> |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 377 | <meta-data |
| 378 | android:name="android.accounts.AccountAuthenticator" |
Marc Blank | e6cc662 | 2010-07-08 10:08:47 -0700 | [diff] [blame] | 379 | android:resource="@xml/eas_authenticator" |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 380 | /> |
| 381 | </service> |
| 382 | <!-- |
| 383 | EasAuthenticatorService with the altenative label. Disabled by default, |
| 384 | and OneTimeInitializer enables it if the vendor policy tells so. |
| 385 | --> |
| 386 | <service |
| 387 | android:name=".service.EasAuthenticatorServiceAlternate" |
| 388 | android:exported="true" |
| 389 | android:enabled="false" |
| 390 | > |
| 391 | <intent-filter> |
| 392 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 393 | </intent-filter> |
| 394 | <meta-data |
| 395 | android:name="android.accounts.AccountAuthenticator" |
| 396 | android:resource="@xml/authenticator_alternate" |
| 397 | /> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 398 | </service> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 399 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 400 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 401 | <provider |
| 402 | android:name=".provider.AttachmentProvider" |
| 403 | android:authorities="com.android.email.attachmentprovider" |
| 404 | android:multiprocess="true" |
| 405 | android:grantUriPermissions="true" |
| 406 | android:readPermission="com.android.email.permission.READ_ATTACHMENT" |
| 407 | /> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 408 | |
| 409 | <!-- This provider MUST be protected by strict permissions, as granting access to |
| 410 | it exposes user passwords and other confidential information. --> |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 411 | <provider |
| 412 | android:name=".provider.EmailProvider" |
| 413 | android:authorities="com.android.email.provider" |
| 414 | android:multiprocess="true" |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 415 | android:permission="com.android.email.permission.ACCESS_PROVIDER" |
Marc Blank | e6cc662 | 2010-07-08 10:08:47 -0700 | [diff] [blame] | 416 | android:label="@string/app_name" |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 417 | /> |
Andrew Stadler | e2c56fc | 2010-03-13 00:38:47 -0800 | [diff] [blame] | 418 | |
| 419 | <!--EXCHANGE-REMOVE-SECTION-START--> |
| 420 | <!-- In this release, GAL information is used locally only, so we used the same |
| 421 | strict permissions. --> |
Marc Blank | 270b0c1 | 2010-06-29 13:32:36 -0700 | [diff] [blame] | 422 | <!-- NOTE: ExchangeDirectoryProvider will replace ExchangeProvider after integration with |
Marc Blank | 5bd2fae | 2010-06-13 17:39:15 -0700 | [diff] [blame] | 423 | the new GAL/contacts implementation --> |
Andrew Stadler | e2c56fc | 2010-03-13 00:38:47 -0800 | [diff] [blame] | 424 | <provider |
| 425 | android:name="com.android.exchange.provider.ExchangeProvider" |
| 426 | android:authorities="com.android.exchange.provider" |
| 427 | android:multiprocess="true" |
| 428 | android:permission="com.android.email.permission.ACCESS_PROVIDER" |
| 429 | /> |
Marc Blank | 5bd2fae | 2010-06-13 17:39:15 -0700 | [diff] [blame] | 430 | <provider |
Marc Blank | 270b0c1 | 2010-06-29 13:32:36 -0700 | [diff] [blame] | 431 | android:name="com.android.exchange.provider.ExchangeDirectoryProvider" |
| 432 | android:authorities="com.android.exchange.directory.provider" |
Marc Blank | 5bd2fae | 2010-06-13 17:39:15 -0700 | [diff] [blame] | 433 | android:readPermission="android.permission.READ_CONTACTS" |
| 434 | android:multiprocess="false" |
Dmitri Plotnikov | 32358f5 | 2010-08-05 11:22:58 -0700 | [diff] [blame] | 435 | > |
| 436 | <meta-data android:name="android.content.ContactDirectory" android:value="true"/> |
| 437 | </provider> |
Andrew Stadler | e2c56fc | 2010-03-13 00:38:47 -0800 | [diff] [blame] | 438 | <!--EXCHANGE-REMOVE-SECTION-END--> |
| 439 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 440 | </application> |
| 441 | </manifest> |