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 |
| 7 | |
| 8 | http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | |
| 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 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 59 | <application android:icon="@drawable/icon" android:label="@string/app_name" |
| 60 | android:name="Email"> |
Andrew Stadler | 842ac04 | 2010-02-10 23:17:55 -0800 | [diff] [blame] | 61 | <activity |
| 62 | android:name=".activity.Welcome"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 63 | <intent-filter> |
| 64 | <action android:name="android.intent.action.MAIN" /> |
| 65 | <category android:name="android.intent.category.DEFAULT" /> |
| 66 | <category android:name="android.intent.category.LAUNCHER" /> |
| 67 | </intent-filter> |
| 68 | </activity> |
Andrew Stadler | 842ac04 | 2010-02-10 23:17:55 -0800 | [diff] [blame] | 69 | <activity |
| 70 | android:name=".activity.UpgradeAccounts" |
| 71 | android:label="@string/upgrade_accounts_title" |
| 72 | android:theme="@android:style/Theme.NoTitleBar" |
| 73 | android:configChanges="keyboardHidden|orientation" > |
| 74 | </activity> |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 75 | <!-- 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] | 76 | <activity |
| 77 | android:name=".activity.setup.AccountSetupBasics" |
| 78 | android:label="@string/account_setup_basics_title" |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 79 | android:exported="true" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 80 | > |
| 81 | </activity> |
| 82 | <activity |
| 83 | android:name=".activity.setup.AccountSetupAccountType" |
| 84 | android:label="@string/account_setup_account_type_title" |
| 85 | > |
| 86 | </activity> |
| 87 | <activity |
| 88 | android:name=".activity.setup.AccountSetupIncoming" |
| 89 | android:label="@string/account_setup_incoming_title" |
| 90 | > |
| 91 | </activity> |
| 92 | <activity |
| 93 | android:name=".activity.setup.AccountSetupOutgoing" |
| 94 | android:label="@string/account_setup_outgoing_title" |
| 95 | > |
| 96 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 97 | <!--EXCHANGE-REMOVE-SECTION-START--> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 98 | <activity |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 99 | android:name=".activity.setup.AccountSetupExchange" |
| 100 | android:label="@string/account_setup_exchange_title" |
| 101 | > |
| 102 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 103 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 104 | <activity |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 105 | android:name=".activity.setup.AccountSetupOptions" |
| 106 | android:label="@string/account_setup_options_title" |
| 107 | > |
| 108 | </activity> |
| 109 | <activity |
| 110 | android:name=".activity.setup.AccountSetupNames" |
| 111 | android:label="@string/account_setup_names_title" |
| 112 | > |
| 113 | </activity> |
| 114 | <!-- XXX Note: this activity is hacked to ignore config changes, |
| 115 | since it doesn't currently handle them correctly in code. --> |
| 116 | <activity |
| 117 | android:name=".activity.setup.AccountSetupCheckSettings" |
| 118 | android:label="@string/account_setup_check_settings_title" |
| 119 | android:configChanges="keyboardHidden|orientation" |
| 120 | > |
| 121 | </activity> |
| 122 | <activity |
| 123 | android:name=".activity.setup.AccountSettings" |
| 124 | android:label="@string/account_settings_action" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 125 | > |
Makoto Onuki | 0fef1f1 | 2010-02-16 14:04:25 -0800 | [diff] [blame] | 126 | <intent-filter> |
| 127 | <action android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" /> |
| 128 | <category android:name="android.intent.category.DEFAULT" /> |
| 129 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 130 | </activity> |
Andrew Stadler | 3d2b3b3 | 2010-02-05 11:10:39 -0800 | [diff] [blame] | 131 | <activity |
| 132 | android:name=".activity.setup.AccountSecurity" |
| 133 | android.label="@string/account_security_title" |
| 134 | > |
| 135 | </activity> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 136 | |
| 137 | <activity |
| 138 | android:name=".activity.Debug" |
| 139 | android:label="@string/debug_title"> |
| 140 | </activity> |
| 141 | <activity |
Andrew Stadler | 72dce73 | 2009-07-09 12:33:09 -0700 | [diff] [blame] | 142 | android:name=".activity.AccountFolderList" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 143 | android:launchMode="singleTop" > |
| 144 | </activity> |
| 145 | |
| 146 | <activity |
| 147 | android:name=".activity.AccountShortcutPicker" |
| 148 | android:label="@string/app_name" |
| 149 | android:enabled="false" |
| 150 | > |
| 151 | <intent-filter> |
| 152 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 153 | <category android:name="android.intent.category.DEFAULT" /> |
| 154 | </intent-filter> |
| 155 | </activity> |
| 156 | |
| 157 | <activity |
Mihai Preda | b052885 | 2010-02-10 16:46:41 +0100 | [diff] [blame] | 158 | android:name=".activity.MailboxList" |
| 159 | android:theme="@style/ThemeNoTitleBar"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 160 | </activity> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 161 | |
| 162 | <activity |
Mihai Preda | b052885 | 2010-02-10 16:46:41 +0100 | [diff] [blame] | 163 | android:name=".activity.MessageList" |
| 164 | android:theme="@style/ThemeNoTitleBar"> |
Andrew Stadler | 4e4abc6 | 2009-07-21 11:06:14 -0700 | [diff] [blame] | 165 | <intent-filter> |
| 166 | <!-- This action is only to allow an entry point for launcher shortcuts --> |
| 167 | <action android:name="android.intent.action.MAIN" /> |
| 168 | </intent-filter> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 169 | </activity> |
| 170 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 171 | <activity |
| 172 | android:name=".activity.MessageView" |
| 173 | android:theme="@android:style/Theme.NoTitleBar" > |
| 174 | </activity> |
| 175 | <activity |
| 176 | android:name=".activity.MessageCompose" |
| 177 | android:label="@string/app_name" |
| 178 | android:enabled="false" |
| 179 | > |
| 180 | <intent-filter> |
| 181 | <action android:name="android.intent.action.VIEW" /> |
| 182 | <action android:name="android.intent.action.SENDTO" /> |
| 183 | <data android:scheme="mailto" /> |
| 184 | <category android:name="android.intent.category.DEFAULT" /> |
| 185 | <category android:name="android.intent.category.BROWSABLE" /> |
| 186 | </intent-filter> |
| 187 | <intent-filter android:label="@string/app_name"> |
| 188 | <action android:name="android.intent.action.SEND" /> |
Andrew Stadler | 92a1ff9 | 2009-09-27 23:49:10 -0700 | [diff] [blame] | 189 | <data android:mimeType="*/*" /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 190 | <category android:name="android.intent.category.DEFAULT" /> |
| 191 | </intent-filter> |
Mihai Preda | fa2238c | 2009-09-01 16:25:30 +0200 | [diff] [blame] | 192 | <intent-filter android:label="@string/app_name"> |
| 193 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 194 | <data android:mimeType="*/*" /> |
| 195 | <category android:name="android.intent.category.DEFAULT" /> |
| 196 | </intent-filter> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 197 | </activity> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 198 | <!--EXCHANGE-REMOVE-SECTION-START--> |
Marc Blank | 5f25162 | 2009-08-04 22:33:32 -0700 | [diff] [blame] | 199 | <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/> |
Marc Blank | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 200 | <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 201 | <receiver android:name="com.android.exchange.BootReceiver" android:enabled="true"> |
| 202 | <intent-filter> |
| 203 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 204 | </intent-filter> |
| 205 | </receiver> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 206 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 207 | |
Marc Blank | 5fed934 | 2009-09-23 15:06:19 -0700 | [diff] [blame] | 208 | <receiver android:name=".service.BootReceiver" android:enabled="true"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 209 | <intent-filter> |
| 210 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 211 | </intent-filter> |
| 212 | <intent-filter> |
| 213 | <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> |
| 214 | </intent-filter> |
| 215 | <intent-filter> |
| 216 | <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> |
| 217 | </intent-filter> |
| 218 | </receiver> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 219 | |
Andrew Stadler | d628608 | 2010-02-01 16:48:16 -0800 | [diff] [blame] | 220 | <!-- Support for DeviceAdmin / DevicePolicyManager. See SecurityPolicy class for impl. --> |
| 221 | <receiver |
| 222 | android:name=".SecurityPolicy$PolicyAdmin" |
| 223 | android:label="@string/device_admin_label" |
| 224 | android:description="@string/device_admin_description" |
| 225 | android:permission="android.permission.BIND_DEVICE_ADMIN" > |
| 226 | <meta-data |
| 227 | android:name="android.app.device_admin" |
| 228 | android:resource="@xml/device_admin" /> |
| 229 | <intent-filter> |
| 230 | <action android:name="android.app.action.DEVICE_ADMIN_ENABLED" /> |
| 231 | </intent-filter> |
| 232 | </receiver> |
| 233 | |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 234 | <receiver |
| 235 | android:name=".OneTimeInitializer" |
| 236 | android:enabled="true" |
| 237 | > |
| 238 | <intent-filter> |
| 239 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 240 | </intent-filter> |
| 241 | </receiver> |
| 242 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 243 | <service |
| 244 | android:name=".service.MailService" |
| 245 | android:enabled="false" |
| 246 | > |
| 247 | </service> |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 248 | |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 249 | <!--EXCHANGE-REMOVE-SECTION-START--> |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 250 | <!--Required stanza to register the ContactsSyncAdapterService with SyncManager --> |
| 251 | <service |
| 252 | android:name="com.android.exchange.ContactsSyncAdapterService" |
| 253 | android:exported="true"> |
| 254 | <intent-filter> |
| 255 | <action android:name="android.content.SyncAdapter" /> |
| 256 | </intent-filter> |
| 257 | <meta-data android:name="android.content.SyncAdapter" |
| 258 | android:resource="@xml/syncadapter_contacts" /> |
| 259 | </service> |
| 260 | |
Marc Blank | f3fcb89 | 2009-10-28 18:12:51 -0700 | [diff] [blame] | 261 | <!--Required stanza to register the CalendarSyncAdapterService with SyncManager --> |
| 262 | <service |
| 263 | android:name="com.android.exchange.CalendarSyncAdapterService" |
| 264 | android:exported="true"> |
| 265 | <intent-filter> |
| 266 | <action android:name="android.content.SyncAdapter" /> |
| 267 | </intent-filter> |
| 268 | <meta-data android:name="android.content.SyncAdapter" |
| 269 | android:resource="@xml/syncadapter_calendar" /> |
| 270 | </service> |
| 271 | |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 272 | <!-- Add android:process=":remote" below to enable SyncManager as a separate process --> |
Marc Blank | 2c67f1f | 2009-06-16 12:03:45 -0700 | [diff] [blame] | 273 | <service |
| 274 | android:name="com.android.exchange.SyncManager" |
| 275 | android:enabled="true" |
| 276 | > |
| 277 | </service> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 278 | |
| 279 | <!--Required stanza to register the EasAuthenticatorService with AccountManager --> |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 280 | <service |
| 281 | android:name=".service.EasAuthenticatorService" |
| 282 | android:exported="true" |
| 283 | android:enabled="true" |
| 284 | > |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 285 | <intent-filter> |
| 286 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 287 | </intent-filter> |
Makoto Onuki | b854d05 | 2010-01-28 10:07:51 -0800 | [diff] [blame] | 288 | <meta-data |
| 289 | android:name="android.accounts.AccountAuthenticator" |
| 290 | android:resource="@xml/authenticator" |
| 291 | /> |
| 292 | </service> |
| 293 | <!-- |
| 294 | EasAuthenticatorService with the altenative label. Disabled by default, |
| 295 | and OneTimeInitializer enables it if the vendor policy tells so. |
| 296 | --> |
| 297 | <service |
| 298 | android:name=".service.EasAuthenticatorServiceAlternate" |
| 299 | android:exported="true" |
| 300 | android:enabled="false" |
| 301 | > |
| 302 | <intent-filter> |
| 303 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 304 | </intent-filter> |
| 305 | <meta-data |
| 306 | android:name="android.accounts.AccountAuthenticator" |
| 307 | android:resource="@xml/authenticator_alternate" |
| 308 | /> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 309 | </service> |
Makoto Onuki | 91237e9 | 2010-02-02 15:06:52 -0800 | [diff] [blame] | 310 | <!--EXCHANGE-REMOVE-SECTION-END--> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 311 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 312 | <provider |
| 313 | android:name=".provider.AttachmentProvider" |
| 314 | android:authorities="com.android.email.attachmentprovider" |
| 315 | android:multiprocess="true" |
| 316 | android:grantUriPermissions="true" |
| 317 | android:readPermission="com.android.email.permission.READ_ATTACHMENT" |
| 318 | /> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 319 | |
| 320 | <!-- This provider MUST be protected by strict permissions, as granting access to |
| 321 | it exposes user passwords and other confidential information. --> |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 322 | <provider |
| 323 | android:name=".provider.EmailProvider" |
| 324 | android:authorities="com.android.email.provider" |
| 325 | android:multiprocess="true" |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame] | 326 | android:permission="com.android.email.permission.ACCESS_PROVIDER" |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 327 | /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 328 | </application> |
| 329 | </manifest> |