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