blob: 1c8e61062ba87d197ad574ff5551dd930e4514c4 [file] [log] [blame]
Mindy Pereira0b2aaf42011-12-12 10:02:12 -08001<?xml version="1.0" encoding="utf-8"?>
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08002<!--
3 Copyright (C) 2012 The Android Open Source Project
Mindy Pereira0b2aaf42011-12-12 10:02:12 -08004
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -08005 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9 http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Andy Huang30e2c242012-01-06 18:14:30 -080018 package="com.android.mail"
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080019 android:versionCode="1"
20 android:versionName="1.0" >
21
Paul Westbrookaa3e7a52012-01-04 17:55:39 -080022 <uses-permission android:name="android.permission.GET_ACCOUNTS" />
Marc Blank9e5a3fd2012-01-11 15:57:08 -080023 <!-- Allows mail to access the user's contacts, for email address auto-completion -->
Mindy Pereira3528d362012-01-05 14:39:44 -080024 <uses-permission android:name="android.permission.READ_CONTACTS"/>
Marc Blank9e5a3fd2012-01-11 15:57:08 -080025 <!-- Allows access to EmailProvider (EAS/IMAP/POP3) -->
26 <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
Marc Blank503f4d42012-03-08 20:04:38 -080027 <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/>
Vikram Aggarwal1ddcf0f2012-01-13 11:45:02 -080028 <uses-permission android:name="android.permission.NFC" />
29
mindyp19a95a92012-10-02 09:56:12 -070030 <!-- This needs to be present when we are doing unbundled releases. -->
31 <uses-sdk android:targetSdkVersion="17" android:minSdkVersion="14" />
32
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080033 <application
34 android:icon="@mipmap/ic_launcher_mail"
Mindy Pereira6f92de62011-12-19 11:31:48 -080035 android:label="@string/app_name"
Mindy Pereirac08c15e2012-03-06 16:04:11 -080036 android:theme="@style/UnifiedEmailTheme" >
Mindy Pereira68f2e222012-03-07 10:36:54 -080037 <!-- Enable search in all activities -->
38 <meta-data android:name="android.app.default_searchable"
39 android:value=".ui.MailActivity" />
Vikram Aggarwal04ff99c2012-02-28 15:29:13 -080040 <!-- TODO: add a permission on this -->
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080041 <activity
42 android:label="@string/app_name"
Vikram Aggarwal04ff99c2012-02-28 15:29:13 -080043 android:name=".ui.MailActivity"
Vikram Aggarwal0dda5732012-04-06 11:20:16 -070044 android:launchMode="singleTop"
Vikram Aggarwal04ff99c2012-02-28 15:29:13 -080045 android:uiOptions="splitActionBarWhenNarrow">
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -080046 <intent-filter >
Mindy Pereira0b2aaf42011-12-12 10:02:12 -080047 <action android:name="android.intent.action.MAIN" />
48 <category android:name="android.intent.category.LAUNCHER" />
49 </intent-filter>
Vikram Aggarwal04ff99c2012-02-28 15:29:13 -080050 <intent-filter>
51 <action android:name="android.intent.action.VIEW" />
52 <category android:name="android.intent.category.DEFAULT" />
53 <data android:scheme="content"/>
54 <data android:mimeType="application/mail-ls" />
55 </intent-filter>
Mindy Pereira68f2e222012-03-07 10:36:54 -080056 <intent-filter>
57 <action android:name="android.intent.action.SEARCH" />
58 <category android:name="android.intent.category.DEFAULT" />
59 </intent-filter>
60 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
Mindy Pereira0b2aaf42011-12-12 10:02:12 -080061 </activity>
Andy Huang848e5082012-03-19 19:02:12 -070062 <activity android:name=".compose.ComposeActivity"
63 android:theme="@android:style/Theme.Holo.Light">
Mindy Pereira7418e4b2012-02-28 11:32:14 -080064 <intent-filter>
65 <action android:name="android.intent.action.VIEW" />
66 <action android:name="android.intent.action.SENDTO" />
67 <category android:name="android.intent.category.DEFAULT" />
68 <category android:name="android.intent.category.BROWSABLE" />
69 <data android:scheme="mailto" />
70 </intent-filter>
71
72 <intent-filter>
73 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
74 <category android:name="android.intent.category.DEFAULT" />
75 <data android:scheme="mailto" />
76 </intent-filter>
77
78 <intent-filter android:label="@string/compose">
79 <action android:name="android.intent.action.SEND" />
80 <category android:name="android.intent.category.DEFAULT" />
81 <data android:mimeType="*/*" />
82 </intent-filter>
83
84 <intent-filter android:label="@string/compose">
85 <action android:name="android.intent.action.SEND_MULTIPLE" />
86 <category android:name="android.intent.category.DEFAULT" />
87 <data android:mimeType="*/*" />
88 </intent-filter>
89 </activity>
Mindy Pereira8a8c50d2012-02-23 11:09:03 -080090 <activity android:name="LabelSynchronizationActivity"
91 android:theme="@android:style/Theme.Holo.Light.Dialog" />
92
Mindy Pereira8a17d6e2012-02-23 15:23:21 -080093 <activity android:name=".ui.CreateShortcutActivity"
Mindy Pereira8a8c50d2012-02-23 11:09:03 -080094 android:theme="@style/ShortcutWidgetTheme"
95 android:label="@string/activity_folder_selection" />
96
Mindy Pereira8a17d6e2012-02-23 15:23:21 -080097 <activity android:name=".ui.FolderSelectionActivity"
Mindy Pereira8a8c50d2012-02-23 11:09:03 -080098 android:theme="@style/ShortcutWidgetTheme"
99 android:label="@string/activity_folder_selection" />
100
Mindy Pereira8a17d6e2012-02-23 15:23:21 -0800101 <activity android:name=".ui.MailboxSelectionActivity"
Mindy Pereira8a8c50d2012-02-23 11:09:03 -0800102 android:theme="@style/InvisibleShortcutWidgetTheme"
103 android:label="@string/app_name" >
104 <intent-filter>
105 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
106 </intent-filter>
107 </activity>
Paul Westbrook82ea6da2011-12-15 11:03:51 -0800108
Andrew Sappersteinf62c05b2012-05-23 17:52:01 -0700109 <activity
Andrew Sapperstein4c7d8b52012-06-11 18:44:42 -0700110 android:name=".photo.MailPhotoViewActivity"
Andrew Sappersteinf62c05b2012-05-23 17:52:01 -0700111 android:label="@string/app_name"
112 android:theme="@style/PhotoViewTheme" >
113 </activity>
114
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800115 <provider
116 android:authorities="com.android.mail.mockprovider"
117 android:label="@string/mock_content_provider"
118 android:multiprocess="false"
119 android:name=".providers.protos.mock.MockUiProvider" >
Paul Westbrook82ea6da2011-12-15 11:03:51 -0800120 <grant-uri-permission android:pathPattern=".*" />
121 </provider>
Paul Westbrookaa3e7a52012-01-04 17:55:39 -0800122
123 <provider
Marc Blankc8a99422012-01-19 14:27:47 -0800124 android:authorities="com.android.mail.conversation.provider"
125 android:label="@string/conversation_content_provider"
126 android:multiprocess="false"
Paul Westbrook77177b12012-02-07 15:23:42 -0800127 android:name=".browse.UnifiedConversationProvider" >
Marc Blankc8a99422012-01-19 14:27:47 -0800128 <grant-uri-permission android:pathPattern=".*" />
129 </provider>
130
131 <provider
Paul Westbrookaa3e7a52012-01-04 17:55:39 -0800132 android:authorities="com.android.mail.accountcache"
133 android:label="@string/account_cache_provider"
134 android:multiprocess="false"
Paul Westbrook77177b12012-02-07 15:23:42 -0800135 android:name=".providers.UnifiedAccountCacheProvider" >
Paul Westbrookaa3e7a52012-01-04 17:55:39 -0800136 <grant-uri-permission android:pathPattern=".*" />
137 </provider>
138
Vikram Aggarwal6a621462012-04-02 14:42:40 -0700139 <!-- The android:name is the name of the Provider class which is stored in
140 UnifiedEmail, and has package name com.android.mail.providers and the class is
141 called SuggestionsProvider. The authority name is specified in the MailAppProvider
142 which is specific to the two apps separately. -->
143 <provider android:name="com.android.mail.providers.SuggestionsProvider"
144 android:authorities="com.android.mail.suggestionsprovider" />
145
Marc Blank9e5a3fd2012-01-11 15:57:08 -0800146 <receiver android:name=".providers.protos.boot.AccountReceiver">
Paul Westbrookaa3e7a52012-01-04 17:55:39 -0800147 <intent-filter>
Marc Blank9e5a3fd2012-01-11 15:57:08 -0800148 <action android:name="com.android.mail.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
Paul Westbrookaa3e7a52012-01-04 17:55:39 -0800149 </intent-filter>
150 </receiver>
151
Mindy Pereirac3df1742012-01-13 13:27:47 -0800152 <service android:name=".compose.EmptyService"/>
Mindy Pereira8a8c50d2012-02-23 11:09:03 -0800153
154 <!-- Widget -->
Mindy Pereira8a17d6e2012-02-23 15:23:21 -0800155 <receiver android:name=".widget.WidgetProvider" android:label="@string/app_name">
Mindy Pereira8a8c50d2012-02-23 11:09:03 -0800156 <intent-filter>
157 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
158 </intent-filter>
159 <intent-filter>
Mindy Pereira449be132012-03-12 13:11:37 -0700160 <action android:name="com.android.mail.ACTION_NOTIFY_DATASET_CHANGED" />
Mindy Pereira8a8c50d2012-02-23 11:09:03 -0800161 </intent-filter>
162 <meta-data android:name="android.appwidget.provider"
163 android:resource="@xml/widget_info" />
164 </receiver>
165 <service android:name=".widget.WidgetService"
166 android:permission="android.permission.BIND_REMOTEVIEWS"
167 android:exported="false" />
168
Mindy Pereira0b2aaf42011-12-12 10:02:12 -0800169 </application>
Vikram Aggarwal5e5ac742011-12-19 08:14:16 -0800170
Mindy Pereira0b2aaf42011-12-12 10:02:12 -0800171</manifest>