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"/> |
| 34 | |
Andy Stadler | dab90a7 | 2009-05-06 17:50:29 -0700 | [diff] [blame] | 35 | <!-- Only required if a store implements push mail and needs to keep network open --> |
| 36 | <uses-permission android:name="android.permission.WAKE_LOCK"/> |
| 37 | <uses-permission android:name="android.permission.READ_PHONE_STATE"/> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame^] | 38 | |
| 39 | <!-- Grant permission to other apps to view attachments --> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 40 | <permission android:name="com.android.email.permission.READ_ATTACHMENT" |
| 41 | android:permissionGroup="android.permission-group.MESSAGES" |
| 42 | android:protectionLevel="dangerous" |
| 43 | android:label="@string/read_attachment_label" |
| 44 | android:description="@string/read_attachment_desc"/> |
| 45 | <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame^] | 46 | |
| 47 | <!-- Grant permission to system apps to access provider (see provider below) --> |
| 48 | <permission android:name="com.android.email.permission.ACCESS_PROVIDER" |
| 49 | android:protectionLevel="signatureOrSystem" |
| 50 | android:label="@string/permission_access_provider_label" |
| 51 | android:description="@string/permission_access_provider_desc"/> |
| 52 | <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/> |
| 53 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 54 | <application android:icon="@drawable/icon" android:label="@string/app_name" |
| 55 | android:name="Email"> |
| 56 | <activity android:name=".activity.Welcome"> |
| 57 | <intent-filter> |
| 58 | <action android:name="android.intent.action.MAIN" /> |
| 59 | <category android:name="android.intent.category.DEFAULT" /> |
| 60 | <category android:name="android.intent.category.LAUNCHER" /> |
| 61 | </intent-filter> |
| 62 | </activity> |
| 63 | |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 64 | <!-- 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] | 65 | <activity |
| 66 | android:name=".activity.setup.AccountSetupBasics" |
| 67 | android:label="@string/account_setup_basics_title" |
Marc Blank | 06275c4 | 2009-08-05 21:48:15 -0700 | [diff] [blame] | 68 | android:exported="true" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 69 | > |
| 70 | </activity> |
| 71 | <activity |
| 72 | android:name=".activity.setup.AccountSetupAccountType" |
| 73 | android:label="@string/account_setup_account_type_title" |
| 74 | > |
| 75 | </activity> |
| 76 | <activity |
| 77 | android:name=".activity.setup.AccountSetupIncoming" |
| 78 | android:label="@string/account_setup_incoming_title" |
| 79 | > |
| 80 | </activity> |
| 81 | <activity |
| 82 | android:name=".activity.setup.AccountSetupOutgoing" |
| 83 | android:label="@string/account_setup_outgoing_title" |
| 84 | > |
| 85 | </activity> |
| 86 | <activity |
Andy Stadler | 87c43ca | 2009-04-03 16:02:55 -0700 | [diff] [blame] | 87 | android:name=".activity.setup.AccountSetupExchange" |
| 88 | android:label="@string/account_setup_exchange_title" |
| 89 | > |
| 90 | </activity> |
| 91 | <activity |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 92 | android:name=".activity.setup.AccountSetupOptions" |
| 93 | android:label="@string/account_setup_options_title" |
| 94 | > |
| 95 | </activity> |
| 96 | <activity |
| 97 | android:name=".activity.setup.AccountSetupNames" |
| 98 | android:label="@string/account_setup_names_title" |
| 99 | > |
| 100 | </activity> |
| 101 | <!-- XXX Note: this activity is hacked to ignore config changes, |
| 102 | since it doesn't currently handle them correctly in code. --> |
| 103 | <activity |
| 104 | android:name=".activity.setup.AccountSetupCheckSettings" |
| 105 | android:label="@string/account_setup_check_settings_title" |
| 106 | android:configChanges="keyboardHidden|orientation" |
| 107 | > |
| 108 | </activity> |
| 109 | <activity |
| 110 | android:name=".activity.setup.AccountSettings" |
| 111 | android:label="@string/account_settings_action" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 112 | > |
| 113 | </activity> |
| 114 | |
| 115 | <activity |
| 116 | android:name=".activity.Debug" |
| 117 | android:label="@string/debug_title"> |
| 118 | </activity> |
| 119 | <activity |
Andrew Stadler | 72dce73 | 2009-07-09 12:33:09 -0700 | [diff] [blame] | 120 | android:name=".activity.AccountFolderList" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 121 | android:launchMode="singleTop" > |
| 122 | </activity> |
| 123 | |
| 124 | <activity |
| 125 | android:name=".activity.AccountShortcutPicker" |
| 126 | android:label="@string/app_name" |
| 127 | android:enabled="false" |
| 128 | > |
| 129 | <intent-filter> |
| 130 | <action android:name="android.intent.action.CREATE_SHORTCUT" /> |
| 131 | <category android:name="android.intent.category.DEFAULT" /> |
| 132 | </intent-filter> |
| 133 | </activity> |
| 134 | |
| 135 | <activity |
Andrew Stadler | 9e5ee45 | 2009-07-29 19:21:37 -0700 | [diff] [blame] | 136 | android:name=".activity.MailboxList"> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 137 | </activity> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 138 | |
| 139 | <activity |
| 140 | android:name=".activity.MessageList"> |
Andrew Stadler | 4e4abc6 | 2009-07-21 11:06:14 -0700 | [diff] [blame] | 141 | <intent-filter> |
| 142 | <!-- This action is only to allow an entry point for launcher shortcuts --> |
| 143 | <action android:name="android.intent.action.MAIN" /> |
| 144 | </intent-filter> |
Andrew Stadler | 4765472 | 2009-06-30 15:12:23 -0700 | [diff] [blame] | 145 | </activity> |
| 146 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 147 | <activity |
| 148 | android:name=".activity.MessageView" |
| 149 | android:theme="@android:style/Theme.NoTitleBar" > |
| 150 | </activity> |
| 151 | <activity |
| 152 | android:name=".activity.MessageCompose" |
| 153 | android:label="@string/app_name" |
| 154 | android:enabled="false" |
| 155 | > |
| 156 | <intent-filter> |
| 157 | <action android:name="android.intent.action.VIEW" /> |
| 158 | <action android:name="android.intent.action.SENDTO" /> |
| 159 | <data android:scheme="mailto" /> |
| 160 | <category android:name="android.intent.category.DEFAULT" /> |
| 161 | <category android:name="android.intent.category.BROWSABLE" /> |
| 162 | </intent-filter> |
| 163 | <intent-filter android:label="@string/app_name"> |
| 164 | <action android:name="android.intent.action.SEND" /> |
| 165 | <data android:mimeType="text/plain" /> |
| 166 | <data android:mimeType="image/*" /> |
| 167 | <data android:mimeType="video/*" /> |
| 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 | b6493a0 | 2009-07-05 12:54:49 -0700 | [diff] [blame] | 184 | <receiver android:name=".service.BootReceiver" |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 185 | android:enabled="false" |
| 186 | > |
| 187 | <intent-filter> |
| 188 | <action android:name="android.intent.action.BOOT_COMPLETED" /> |
| 189 | </intent-filter> |
| 190 | <intent-filter> |
| 191 | <action android:name="android.intent.action.DEVICE_STORAGE_LOW" /> |
| 192 | </intent-filter> |
| 193 | <intent-filter> |
| 194 | <action android:name="android.intent.action.DEVICE_STORAGE_OK" /> |
| 195 | </intent-filter> |
| 196 | </receiver> |
Marc Blank | 53cb37c | 2009-08-28 10:33:18 -0700 | [diff] [blame] | 197 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 198 | <service |
| 199 | android:name=".service.MailService" |
| 200 | android:enabled="false" |
| 201 | > |
| 202 | </service> |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 203 | |
Marc Blank | 948c36f | 2009-07-27 10:24:58 -0700 | [diff] [blame] | 204 | <!--Required stanza to register the ContactsSyncAdapterService with SyncManager --> |
| 205 | <service |
| 206 | android:name="com.android.exchange.ContactsSyncAdapterService" |
| 207 | android:exported="true"> |
| 208 | <intent-filter> |
| 209 | <action android:name="android.content.SyncAdapter" /> |
| 210 | </intent-filter> |
| 211 | <meta-data android:name="android.content.SyncAdapter" |
| 212 | android:resource="@xml/syncadapter_contacts" /> |
| 213 | </service> |
| 214 | |
Marc Blank | 28fc779 | 2009-07-20 17:15:45 -0700 | [diff] [blame] | 215 | <!-- Add android:process=":remote" below to enable SyncManager as a separate process --> |
Marc Blank | 2c67f1f | 2009-06-16 12:03:45 -0700 | [diff] [blame] | 216 | <service |
| 217 | android:name="com.android.exchange.SyncManager" |
| 218 | android:enabled="true" |
| 219 | > |
| 220 | </service> |
Andrew Stadler | 1725042 | 2009-07-07 09:39:11 -0700 | [diff] [blame] | 221 | |
| 222 | <!--Required stanza to register the EasAuthenticatorService with AccountManager --> |
| 223 | <service android:name=".service.EasAuthenticatorService" android:exported="true"> |
| 224 | <intent-filter> |
| 225 | <action android:name="android.accounts.AccountAuthenticator" /> |
| 226 | </intent-filter> |
| 227 | <meta-data android:name="android.accounts.AccountAuthenticator" |
| 228 | android:resource="@xml/authenticator" /> |
| 229 | </service> |
| 230 | |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 231 | <provider |
| 232 | android:name=".provider.AttachmentProvider" |
| 233 | android:authorities="com.android.email.attachmentprovider" |
| 234 | android:multiprocess="true" |
| 235 | android:grantUriPermissions="true" |
| 236 | android:readPermission="com.android.email.permission.READ_ATTACHMENT" |
| 237 | /> |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame^] | 238 | |
| 239 | <!-- This provider MUST be protected by strict permissions, as granting access to |
| 240 | it exposes user passwords and other confidential information. --> |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 241 | <provider |
| 242 | android:name=".provider.EmailProvider" |
| 243 | android:authorities="com.android.email.provider" |
| 244 | android:multiprocess="true" |
Andrew Stadler | 2272220 | 2009-09-20 17:23:59 -0700 | [diff] [blame^] | 245 | android:permission="com.android.email.permission.ACCESS_PROVIDER" |
Marc Blank | c5f2a7a | 2009-05-27 15:43:27 -0700 | [diff] [blame] | 246 | /> |
The Android Open Source Project | 96c5af4 | 2009-03-03 19:32:22 -0800 | [diff] [blame] | 247 | </application> |
| 248 | </manifest> |