blob: caf95926b6655a01182c29569b0068f4992cc598 [file] [log] [blame]
The Android Open Source Project96c5af42009-03-03 19:32:22 -08001<?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 Stadlera392e072009-06-04 15:16:43 -070025 <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
Marc Blank03ecce72009-08-20 14:38:12 -070026 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Andrew Stadler627d1ae2009-07-24 16:25:18 -070027 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Marc Blank948c36f2009-07-27 10:24:58 -070028 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
Fred Quintana4c195432009-08-17 13:05:44 -070029 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
30 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
31
Marc Blankb6493a02009-07-05 12:54:49 -070032 <!-- For EAS purposes; could be removed when EAS has a permanent home -->
33 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
Marc Blankf3fcb892009-10-28 18:12:51 -070034 <uses-permission android:name="android.permission.WRITE_CALENDAR"/>
35 <uses-permission android:name="android.permission.READ_CALENDAR"/>
Marc Blankb6493a02009-07-05 12:54:49 -070036
Andy Stadlerdab90a72009-05-06 17:50:29 -070037 <!-- 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 Stadler22722202009-09-20 17:23:59 -070040
41 <!-- Grant permission to other apps to view attachments -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080042 <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 Stadler22722202009-09-20 17:23:59 -070048
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 Project96c5af42009-03-03 19:32:22 -080056 <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 Blank06275c42009-08-05 21:48:15 -070066 <!-- Must be exported in order for the AccountManager to launch it -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080067 <activity
68 android:name=".activity.setup.AccountSetupBasics"
69 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -070070 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080071 >
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 Stadler87c43ca2009-04-03 16:02:55 -070089 android:name=".activity.setup.AccountSetupExchange"
90 android:label="@string/account_setup_exchange_title"
91 >
92 </activity>
93 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -080094 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 Project96c5af42009-03-03 19:32:22 -0800114 >
115 </activity>
116
117 <activity
118 android:name=".activity.Debug"
119 android:label="@string/debug_title">
120 </activity>
121 <activity
Andrew Stadler72dce732009-07-09 12:33:09 -0700122 android:name=".activity.AccountFolderList"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800123 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 Stadler9e5ee452009-07-29 19:21:37 -0700138 android:name=".activity.MailboxList">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800139 </activity>
Andrew Stadler47654722009-06-30 15:12:23 -0700140
141 <activity
142 android:name=".activity.MessageList">
Andrew Stadler4e4abc62009-07-21 11:06:14 -0700143 <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 Stadler47654722009-06-30 15:12:23 -0700147 </activity>
148
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800149 <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 Stadler92a1ff92009-09-27 23:49:10 -0700167 <data android:mimeType="*/*" />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800168 <category android:name="android.intent.category.DEFAULT" />
169 </intent-filter>
Mihai Predafa2238c2009-09-01 16:25:30 +0200170 <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 Project96c5af42009-03-03 19:32:22 -0800175 </activity>
Marc Blank5f251622009-08-04 22:33:32 -0700176 <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
Marc Blankb6493a02009-07-05 12:54:49 -0700177 <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/>
Marc Blank53cb37c2009-08-28 10:33:18 -0700178 <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 Blank5fed9342009-09-23 15:06:19 -0700184 <receiver android:name=".service.BootReceiver" android:enabled="true">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800185 <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 Blank53cb37c2009-08-28 10:33:18 -0700195
Andrew Stadlerd6286082010-02-01 16:48:16 -0800196 <!-- 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 Project96c5af42009-03-03 19:32:22 -0800210 <service
211 android:name=".service.MailService"
212 android:enabled="false"
213 >
214 </service>
Marc Blank28fc7792009-07-20 17:15:45 -0700215
Marc Blank948c36f2009-07-27 10:24:58 -0700216 <!--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 Blankf3fcb892009-10-28 18:12:51 -0700227 <!--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 Blank28fc7792009-07-20 17:15:45 -0700238 <!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
Marc Blank2c67f1f2009-06-16 12:03:45 -0700239 <service
240 android:name="com.android.exchange.SyncManager"
241 android:enabled="true"
242 >
243 </service>
Andrew Stadler17250422009-07-07 09:39:11 -0700244
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 Project96c5af42009-03-03 19:32:22 -0800254 <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 Stadler22722202009-09-20 17:23:59 -0700261
262 <!-- This provider MUST be protected by strict permissions, as granting access to
263 it exposes user passwords and other confidential information. -->
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700264 <provider
265 android:name=".provider.EmailProvider"
266 android:authorities="com.android.email.provider"
267 android:multiprocess="true"
Andrew Stadler22722202009-09-20 17:23:59 -0700268 android:permission="com.android.email.permission.ACCESS_PROVIDER"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700269 />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800270 </application>
271</manifest>