blob: 3f87b7e8b928dddf91618d20c1569a5edbc14cdc [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"/>
34
Andy Stadlerdab90a72009-05-06 17:50:29 -070035 <!-- 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 Stadler22722202009-09-20 17:23:59 -070038
39 <!-- Grant permission to other apps to view attachments -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080040 <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 Stadler22722202009-09-20 17:23:59 -070046
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 Project96c5af42009-03-03 19:32:22 -080054 <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 Blank06275c42009-08-05 21:48:15 -070064 <!-- Must be exported in order for the AccountManager to launch it -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080065 <activity
66 android:name=".activity.setup.AccountSetupBasics"
67 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -070068 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080069 >
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 Stadler87c43ca2009-04-03 16:02:55 -070087 android:name=".activity.setup.AccountSetupExchange"
88 android:label="@string/account_setup_exchange_title"
89 >
90 </activity>
91 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -080092 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 Project96c5af42009-03-03 19:32:22 -0800112 >
113 </activity>
114
115 <activity
116 android:name=".activity.Debug"
117 android:label="@string/debug_title">
118 </activity>
119 <activity
Andrew Stadler72dce732009-07-09 12:33:09 -0700120 android:name=".activity.AccountFolderList"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800121 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 Stadler9e5ee452009-07-29 19:21:37 -0700136 android:name=".activity.MailboxList">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800137 </activity>
Andrew Stadler47654722009-06-30 15:12:23 -0700138
139 <activity
140 android:name=".activity.MessageList">
Andrew Stadler4e4abc62009-07-21 11:06:14 -0700141 <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 Stadler47654722009-06-30 15:12:23 -0700145 </activity>
146
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800147 <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 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 Blankb6493a02009-07-05 12:54:49 -0700184 <receiver android:name=".service.BootReceiver"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800185 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 Blank53cb37c2009-08-28 10:33:18 -0700197
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800198 <service
199 android:name=".service.MailService"
200 android:enabled="false"
201 >
202 </service>
Marc Blank28fc7792009-07-20 17:15:45 -0700203
Marc Blank948c36f2009-07-27 10:24:58 -0700204 <!--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 Blank28fc7792009-07-20 17:15:45 -0700215 <!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
Marc Blank2c67f1f2009-06-16 12:03:45 -0700216 <service
217 android:name="com.android.exchange.SyncManager"
218 android:enabled="true"
219 >
220 </service>
Andrew Stadler17250422009-07-07 09:39:11 -0700221
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 Project96c5af42009-03-03 19:32:22 -0800231 <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 Stadler22722202009-09-20 17:23:59 -0700238
239 <!-- This provider MUST be protected by strict permissions, as granting access to
240 it exposes user passwords and other confidential information. -->
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700241 <provider
242 android:name=".provider.EmailProvider"
243 android:authorities="com.android.email.provider"
244 android:multiprocess="true"
Andrew Stadler22722202009-09-20 17:23:59 -0700245 android:permission="com.android.email.permission.ACCESS_PROVIDER"
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700246 />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800247 </application>
248</manifest>