blob: 807111a2c51ac43018421a82473f8062b41c1adb [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" />
Andy Stadlerdab90a72009-05-06 17:50:29 -070028
Marc Blankb6493a02009-07-05 12:54:49 -070029 <!-- For EAS purposes; could be removed when EAS has a permanent home -->
30 <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
31
Andy Stadlerdab90a72009-05-06 17:50:29 -070032 <!-- Only required if a store implements push mail and needs to keep network open -->
33 <uses-permission android:name="android.permission.WAKE_LOCK"/>
34 <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
35
The Android Open Source Project96c5af42009-03-03 19:32:22 -080036 <permission android:name="com.android.email.permission.READ_ATTACHMENT"
37 android:permissionGroup="android.permission-group.MESSAGES"
38 android:protectionLevel="dangerous"
39 android:label="@string/read_attachment_label"
40 android:description="@string/read_attachment_desc"/>
41 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
42 <application android:icon="@drawable/icon" android:label="@string/app_name"
43 android:name="Email">
44 <activity android:name=".activity.Welcome">
45 <intent-filter>
46 <action android:name="android.intent.action.MAIN" />
47 <category android:name="android.intent.category.DEFAULT" />
48 <category android:name="android.intent.category.LAUNCHER" />
49 </intent-filter>
50 </activity>
51
Marc Blank06275c42009-08-05 21:48:15 -070052 <!-- Must be exported in order for the AccountManager to launch it -->
The Android Open Source Project96c5af42009-03-03 19:32:22 -080053 <activity
54 android:name=".activity.setup.AccountSetupBasics"
55 android:label="@string/account_setup_basics_title"
Marc Blank06275c42009-08-05 21:48:15 -070056 android:exported="true"
The Android Open Source Project96c5af42009-03-03 19:32:22 -080057 >
58 </activity>
59 <activity
60 android:name=".activity.setup.AccountSetupAccountType"
61 android:label="@string/account_setup_account_type_title"
62 >
63 </activity>
64 <activity
65 android:name=".activity.setup.AccountSetupIncoming"
66 android:label="@string/account_setup_incoming_title"
67 >
68 </activity>
69 <activity
70 android:name=".activity.setup.AccountSetupOutgoing"
71 android:label="@string/account_setup_outgoing_title"
72 >
73 </activity>
74 <activity
Andy Stadler87c43ca2009-04-03 16:02:55 -070075 android:name=".activity.setup.AccountSetupExchange"
76 android:label="@string/account_setup_exchange_title"
77 >
78 </activity>
79 <activity
The Android Open Source Project96c5af42009-03-03 19:32:22 -080080 android:name=".activity.setup.AccountSetupOptions"
81 android:label="@string/account_setup_options_title"
82 >
83 </activity>
84 <activity
85 android:name=".activity.setup.AccountSetupNames"
86 android:label="@string/account_setup_names_title"
87 >
88 </activity>
89 <!-- XXX Note: this activity is hacked to ignore config changes,
90 since it doesn't currently handle them correctly in code. -->
91 <activity
92 android:name=".activity.setup.AccountSetupCheckSettings"
93 android:label="@string/account_setup_check_settings_title"
94 android:configChanges="keyboardHidden|orientation"
95 >
96 </activity>
97 <activity
98 android:name=".activity.setup.AccountSettings"
99 android:label="@string/account_settings_action"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800100 >
101 </activity>
102
103 <activity
104 android:name=".activity.Debug"
105 android:label="@string/debug_title">
106 </activity>
107 <activity
Andrew Stadler72dce732009-07-09 12:33:09 -0700108 android:name=".activity.AccountFolderList"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800109 android:launchMode="singleTop" >
110 </activity>
111
112 <activity
113 android:name=".activity.AccountShortcutPicker"
114 android:label="@string/app_name"
115 android:enabled="false"
116 >
117 <intent-filter>
118 <action android:name="android.intent.action.CREATE_SHORTCUT" />
119 <category android:name="android.intent.category.DEFAULT" />
120 </intent-filter>
121 </activity>
122
123 <activity
Andrew Stadler9e5ee452009-07-29 19:21:37 -0700124 android:name=".activity.MailboxList">
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800125 </activity>
Andrew Stadler47654722009-06-30 15:12:23 -0700126
127 <activity
128 android:name=".activity.MessageList">
Andrew Stadler4e4abc62009-07-21 11:06:14 -0700129 <intent-filter>
130 <!-- This action is only to allow an entry point for launcher shortcuts -->
131 <action android:name="android.intent.action.MAIN" />
132 </intent-filter>
Andrew Stadler47654722009-06-30 15:12:23 -0700133 </activity>
134
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800135 <activity
136 android:name=".activity.MessageView"
137 android:theme="@android:style/Theme.NoTitleBar" >
138 </activity>
139 <activity
140 android:name=".activity.MessageCompose"
141 android:label="@string/app_name"
142 android:enabled="false"
143 >
144 <intent-filter>
145 <action android:name="android.intent.action.VIEW" />
146 <action android:name="android.intent.action.SENDTO" />
147 <data android:scheme="mailto" />
148 <category android:name="android.intent.category.DEFAULT" />
149 <category android:name="android.intent.category.BROWSABLE" />
150 </intent-filter>
151 <intent-filter android:label="@string/app_name">
152 <action android:name="android.intent.action.SEND" />
153 <data android:mimeType="text/plain" />
154 <data android:mimeType="image/*" />
155 <data android:mimeType="video/*" />
156 <category android:name="android.intent.category.DEFAULT" />
157 </intent-filter>
158 </activity>
Marc Blank5f251622009-08-04 22:33:32 -0700159 <receiver android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
Marc Blankb6493a02009-07-05 12:54:49 -0700160 <receiver android:name="com.android.exchange.MailboxAlarmReceiver"/>
161 <receiver android:name=".service.BootReceiver"
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800162 android:enabled="false"
163 >
164 <intent-filter>
165 <action android:name="android.intent.action.BOOT_COMPLETED" />
166 </intent-filter>
167 <intent-filter>
168 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
169 </intent-filter>
170 <intent-filter>
171 <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
172 </intent-filter>
173 </receiver>
174 <service
175 android:name=".service.MailService"
176 android:enabled="false"
177 >
178 </service>
Marc Blank28fc7792009-07-20 17:15:45 -0700179
Marc Blank948c36f2009-07-27 10:24:58 -0700180 <!--Required stanza to register the ContactsSyncAdapterService with SyncManager -->
181 <service
182 android:name="com.android.exchange.ContactsSyncAdapterService"
183 android:exported="true">
184 <intent-filter>
185 <action android:name="android.content.SyncAdapter" />
186 </intent-filter>
187 <meta-data android:name="android.content.SyncAdapter"
188 android:resource="@xml/syncadapter_contacts" />
189 </service>
190
Marc Blank28fc7792009-07-20 17:15:45 -0700191 <!-- Add android:process=":remote" below to enable SyncManager as a separate process -->
Marc Blank2c67f1f2009-06-16 12:03:45 -0700192 <service
193 android:name="com.android.exchange.SyncManager"
194 android:enabled="true"
195 >
196 </service>
Andrew Stadler17250422009-07-07 09:39:11 -0700197
198 <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
199 <service android:name=".service.EasAuthenticatorService" android:exported="true">
200 <intent-filter>
201 <action android:name="android.accounts.AccountAuthenticator" />
202 </intent-filter>
203 <meta-data android:name="android.accounts.AccountAuthenticator"
204 android:resource="@xml/authenticator" />
205 </service>
206
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800207 <provider
208 android:name=".provider.AttachmentProvider"
209 android:authorities="com.android.email.attachmentprovider"
210 android:multiprocess="true"
211 android:grantUriPermissions="true"
212 android:readPermission="com.android.email.permission.READ_ATTACHMENT"
213 />
Marc Blankc5f2a7a2009-05-27 15:43:27 -0700214 <provider
215 android:name=".provider.EmailProvider"
216 android:authorities="com.android.email.provider"
217 android:multiprocess="true"
218 android:grantUriPermissions="true"
219 />
The Android Open Source Project96c5af42009-03-03 19:32:22 -0800220 </application>
221</manifest>