blob: 734d050a0d8d25a514c9830da98d6478c3612b95 [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"/>
38
The Android Open Source Project96c5af42009-03-03 19:32:22 -080039 <permission android:name="com.android.email.permission.READ_ATTACHMENT"
40 android:permissionGroup="android.permission-group.MESSAGES"
41 android:protectionLevel="dangerous"
42 android:label="@string/read_attachment_label"
43 android:description="@string/read_attachment_desc"/>
44 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
45 <application android:icon="@drawable/icon" android:label="@string/app_name"
46 android:name="Email">
47 <activity android:name=".activity.Welcome">
48 <intent-filter>
49 <action android:name="android.intent.action.MAIN" />
50 <category android:name="android.intent.category.DEFAULT" />
51 <category android:name="android.intent.category.LAUNCHER" />
52 </intent-filter>
53 </activity>
54
Marc Blank06275c42009-08-05 21:48:15 -070055 <!-- Must be exported in order for the AccountManager to launch it -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080056 <activity
57 android:name=".activity.setup.AccountSetupBasics"
58 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -070059 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080060 >
61 </activity>
62 <activity
63 android:name=".activity.setup.AccountSetupAccountType"
64 android:label="@string/account_setup_account_type_title"
65 >
66 </activity>
67 <activity
68 android:name=".activity.setup.AccountSetupIncoming"
69 android:label="@string/account_setup_incoming_title"
70 >
71 </activity>
72 <activity
73 android:name=".activity.setup.AccountSetupOutgoing"
74 android:label="@string/account_setup_outgoing_title"
75 >
76 </activity>
77 <activity
Andy Stadler87c43ca2009-04-03 16:02:55 -070078 android:name=".activity.setup.AccountSetupExchange"
79 android:label="@string/account_setup_exchange_title"
80 >
81 </activity>
82 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -080083 android:name=".activity.setup.AccountSetupOptions"
84 android:label="@string/account_setup_options_title"
85 >
86 </activity>
87 <activity
88 android:name=".activity.setup.AccountSetupNames"
89 android:label="@string/account_setup_names_title"
90 >
91 </activity>
92 <!-- XXX Note: this activity is hacked to ignore config changes,
93 since it doesn't currently handle them correctly in code. -->
94 <activity
95 android:name=".activity.setup.AccountSetupCheckSettings"
96 android:label="@string/account_setup_check_settings_title"
97 android:configChanges="keyboardHidden|orientation"
98 >
99 </activity>
100 <activity
101 android:name=".activity.setup.AccountSettings"
102 android:label="@string/account_settings_action"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800103 >
104 </activity>
105
106 <activity
107 android:name=".activity.Debug"
108 android:label="@string/debug_title">
109 </activity>
110 <activity
Andrew Stadler72dce732009-07-09 12:33:09 -0700111 android:name=".activity.AccountFolderList"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800112 android:launchMode="singleTop" >
113 </activity>
114
115 <activity
116 android:name=".activity.AccountShortcutPicker"
117 android:label="@string/app_name"
118 android:enabled="false"
119 >
120 <intent-filter>
121 <action android:name="android.intent.action.CREATE_SHORTCUT" />
122 <category android:name="android.intent.category.DEFAULT" />
123 </intent-filter>
124 </activity>
125
126 <activity
Andrew Stadler9e5ee452009-07-29 19:21:37 -0700127 android:name=".activity.MailboxList">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800128 </activity>
Andrew Stadler47654722009-06-30 15:12:23 -0700129
130 <activity
131 android:name=".activity.MessageList">
Andrew Stadler4e4abc62009-07-21 11:06:14 -0700132 <intent-filter>
133 <!-- This action is only to allow an entry point for launcher shortcuts -->
134 <action android:name="android.intent.action.MAIN" />
135 </intent-filter>
Andrew Stadler47654722009-06-30 15:12:23 -0700136 </activity>
137
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800138 <activity
139 android:name=".activity.MessageView"
140 android:theme="@android:style/Theme.NoTitleBar" >
141 </activity>
142 <activity
143 android:name=".activity.MessageCompose"
144 android:label="@string/app_name"
145 android:enabled="false"
146 >
147 <intent-filter>
148 <action android:name="android.intent.action.VIEW" />
149 <action android:name="android.intent.action.SENDTO" />
150 <data android:scheme="mailto" />
151 <category android:name="android.intent.category.DEFAULT" />
152 <category android:name="android.intent.category.BROWSABLE" />
153 </intent-filter>
154 <intent-filter android:label="@string/app_name">
155 <action android:name="android.intent.action.SEND" />
156 <data android:mimeType="text/plain" />
157 <data android:mimeType="image/*" />
158 <data android:mimeType="video/*" />
159 <category android:name="android.intent.category.DEFAULT" />
160 </intent-filter>
161 </activity>
Marc Blank5f251622009-08-04 22:33:32 -0700162 <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
Marc Blankb6493a02009-07-05 12:54:49 -0700163 <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/>
Marc Blank53cb37c2009-08-28 10:33:18 -0700164 <receiver android:name="com.android.exchange.BootReceiver" android:enabled="true">
165 <intent-filter>
166 <action android:name="android.intent.action.BOOT_COMPLETED" />
167 </intent-filter>
168 </receiver>
169
Marc Blankb6493a02009-07-05 12:54:49 -0700170 <receiver android:name=".service.BootReceiver"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800171 android:enabled="false"
172 >
173 <intent-filter>
174 <action android:name="android.intent.action.BOOT_COMPLETED" />
175 </intent-filter>
176 <intent-filter>
177 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
178 </intent-filter>
179 <intent-filter>
180 <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
181 </intent-filter>
182 </receiver>
Marc Blank53cb37c2009-08-28 10:33:18 -0700183
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800184 <service
185 android:name=".service.MailService"
186 android:enabled="false"
187 >
188 </service>
Marc Blank28fc7792009-07-20 17:15:45 -0700189
Marc Blank948c36f2009-07-27 10:24:58 -0700190 <!--Required stanza to register the ContactsSyncAdapterService with SyncManager -->
191 <service
192 android:name="com.android.exchange.ContactsSyncAdapterService"
193 android:exported="true">
194 <intent-filter>
195 <action android:name="android.content.SyncAdapter" />
196 </intent-filter>
197 <meta-data android:name="android.content.SyncAdapter"
198 android:resource="@xml/syncadapter_contacts" />
199 </service>
200
Marc Blank28fc7792009-07-20 17:15:45 -0700201 <!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
Marc Blank2c67f1f2009-06-16 12:03:45 -0700202 <service
203 android:name="com.android.exchange.SyncManager"
204 android:enabled="true"
205 >
206 </service>
Andrew Stadler17250422009-07-07 09:39:11 -0700207
208 <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
209 <service android:name=".service.EasAuthenticatorService" android:exported="true">
210 <intent-filter>
211 <action android:name="android.accounts.AccountAuthenticator" />
212 </intent-filter>
213 <meta-data android:name="android.accounts.AccountAuthenticator"
214 android:resource="@xml/authenticator" />
215 </service>
216
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800217 <provider
218 android:name=".provider.AttachmentProvider"
219 android:authorities="com.android.email.attachmentprovider"
220 android:multiprocess="true"
221 android:grantUriPermissions="true"
222 android:readPermission="com.android.email.permission.READ_ATTACHMENT"
223 />
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700224 <provider
225 android:name=".provider.EmailProvider"
226 android:authorities="com.android.email.provider"
227 android:multiprocess="true"
228 android:grantUriPermissions="true"
229 />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800230 </application>
231</manifest>