blob: 652ba03af9db2ecaddb4c593e234a2f13db28467 [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" />
Andrew Stadler627d1ae2009-07-24 16:25:18 -070026 <uses-permission android:name="android.permission.MANAGE_ACCOUNTS" />
Marc Blank948c36f2009-07-27 10:24:58 -070027 <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
Fred Quintana4c195432009-08-17 13:05:44 -070028 <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
29 <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS" />
30
Marc Blankb6493a02009-07-05 12:54:49 -070031 <!-- For EAS purposes; could be removed when EAS has a permanent home -->
32 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
33
Andy Stadlerdab90a72009-05-06 17:50:29 -070034 <!-- Only required if a store implements push mail and needs to keep network open -->
35 <uses-permission android:name="android.permission.WAKE_LOCK"/>
36 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
37
The Android Open Source Project96c5af42009-03-03 19:32:22 -080038 <permission android:name="com.android.email.permission.READ_ATTACHMENT"
39 android:permissionGroup="android.permission-group.MESSAGES"
40 android:protectionLevel="dangerous"
41 android:label="@string/read_attachment_label"
42 android:description="@string/read_attachment_desc"/>
43 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
44 <application android:icon="@drawable/icon" android:label="@string/app_name"
45 android:name="Email">
46 <activity android:name=".activity.Welcome">
47 <intent-filter>
48 <action android:name="android.intent.action.MAIN" />
49 <category android:name="android.intent.category.DEFAULT" />
50 <category android:name="android.intent.category.LAUNCHER" />
51 </intent-filter>
52 </activity>
53
Marc Blank06275c42009-08-05 21:48:15 -070054 <!-- Must be exported in order for the AccountManager to launch it -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080055 <activity
56 android:name=".activity.setup.AccountSetupBasics"
57 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -070058 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080059 >
60 </activity>
61 <activity
62 android:name=".activity.setup.AccountSetupAccountType"
63 android:label="@string/account_setup_account_type_title"
64 >
65 </activity>
66 <activity
67 android:name=".activity.setup.AccountSetupIncoming"
68 android:label="@string/account_setup_incoming_title"
69 >
70 </activity>
71 <activity
72 android:name=".activity.setup.AccountSetupOutgoing"
73 android:label="@string/account_setup_outgoing_title"
74 >
75 </activity>
76 <activity
Andy Stadler87c43ca2009-04-03 16:02:55 -070077 android:name=".activity.setup.AccountSetupExchange"
78 android:label="@string/account_setup_exchange_title"
79 >
80 </activity>
81 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -080082 android:name=".activity.setup.AccountSetupOptions"
83 android:label="@string/account_setup_options_title"
84 >
85 </activity>
86 <activity
87 android:name=".activity.setup.AccountSetupNames"
88 android:label="@string/account_setup_names_title"
89 >
90 </activity>
91 <!-- XXX Note: this activity is hacked to ignore config changes,
92 since it doesn't currently handle them correctly in code. -->
93 <activity
94 android:name=".activity.setup.AccountSetupCheckSettings"
95 android:label="@string/account_setup_check_settings_title"
96 android:configChanges="keyboardHidden|orientation"
97 >
98 </activity>
99 <activity
100 android:name=".activity.setup.AccountSettings"
101 android:label="@string/account_settings_action"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800102 >
103 </activity>
104
105 <activity
106 android:name=".activity.Debug"
107 android:label="@string/debug_title">
108 </activity>
109 <activity
Andrew Stadler72dce732009-07-09 12:33:09 -0700110 android:name=".activity.AccountFolderList"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800111 android:launchMode="singleTop" >
112 </activity>
113
114 <activity
115 android:name=".activity.AccountShortcutPicker"
116 android:label="@string/app_name"
117 android:enabled="false"
118 >
119 <intent-filter>
120 <action android:name="android.intent.action.CREATE_SHORTCUT" />
121 <category android:name="android.intent.category.DEFAULT" />
122 </intent-filter>
123 </activity>
124
125 <activity
Andrew Stadler9e5ee452009-07-29 19:21:37 -0700126 android:name=".activity.MailboxList">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800127 </activity>
Andrew Stadler47654722009-06-30 15:12:23 -0700128
129 <activity
130 android:name=".activity.MessageList">
Andrew Stadler4e4abc62009-07-21 11:06:14 -0700131 <intent-filter>
132 <!-- This action is only to allow an entry point for launcher shortcuts -->
133 <action android:name="android.intent.action.MAIN" />
134 </intent-filter>
Andrew Stadler47654722009-06-30 15:12:23 -0700135 </activity>
136
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800137 <activity
138 android:name=".activity.MessageView"
139 android:theme="@android:style/Theme.NoTitleBar" >
140 </activity>
141 <activity
142 android:name=".activity.MessageCompose"
143 android:label="@string/app_name"
144 android:enabled="false"
145 >
146 <intent-filter>
147 <action android:name="android.intent.action.VIEW" />
148 <action android:name="android.intent.action.SENDTO" />
149 <data android:scheme="mailto" />
150 <category android:name="android.intent.category.DEFAULT" />
151 <category android:name="android.intent.category.BROWSABLE" />
152 </intent-filter>
153 <intent-filter android:label="@string/app_name">
154 <action android:name="android.intent.action.SEND" />
155 <data android:mimeType="text/plain" />
156 <data android:mimeType="image/*" />
157 <data android:mimeType="video/*" />
158 <category android:name="android.intent.category.DEFAULT" />
159 </intent-filter>
160 </activity>
Marc Blank5f251622009-08-04 22:33:32 -0700161 <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
Marc Blankb6493a02009-07-05 12:54:49 -0700162 <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/>
163 <receiver android:name=".service.BootReceiver"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800164 android:enabled="false"
165 >
166 <intent-filter>
167 <action android:name="android.intent.action.BOOT_COMPLETED" />
168 </intent-filter>
169 <intent-filter>
170 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
171 </intent-filter>
172 <intent-filter>
173 <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
174 </intent-filter>
175 </receiver>
176 <service
177 android:name=".service.MailService"
178 android:enabled="false"
179 >
180 </service>
Marc Blank28fc7792009-07-20 17:15:45 -0700181
Marc Blank948c36f2009-07-27 10:24:58 -0700182 <!--Required stanza to register the ContactsSyncAdapterService with SyncManager -->
183 <service
184 android:name="com.android.exchange.ContactsSyncAdapterService"
185 android:exported="true">
186 <intent-filter>
187 <action android:name="android.content.SyncAdapter" />
188 </intent-filter>
189 <meta-data android:name="android.content.SyncAdapter"
190 android:resource="@xml/syncadapter_contacts" />
191 </service>
192
Marc Blank28fc7792009-07-20 17:15:45 -0700193 <!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
Marc Blank2c67f1f2009-06-16 12:03:45 -0700194 <service
195 android:name="com.android.exchange.SyncManager"
196 android:enabled="true"
197 >
198 </service>
Andrew Stadler17250422009-07-07 09:39:11 -0700199
200 <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
201 <service android:name=".service.EasAuthenticatorService" android:exported="true">
202 <intent-filter>
203 <action android:name="android.accounts.AccountAuthenticator" />
204 </intent-filter>
205 <meta-data android:name="android.accounts.AccountAuthenticator"
206 android:resource="@xml/authenticator" />
207 </service>
208
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800209 <provider
210 android:name=".provider.AttachmentProvider"
211 android:authorities="com.android.email.attachmentprovider"
212 android:multiprocess="true"
213 android:grantUriPermissions="true"
214 android:readPermission="com.android.email.permission.READ_ATTACHMENT"
215 />
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700216 <provider
217 android:name=".provider.EmailProvider"
218 android:authorities="com.android.email.provider"
219 android:multiprocess="true"
220 android:grantUriPermissions="true"
221 />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800222 </application>
223</manifest>