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