Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 2 | <!-- |
| 3 | Copyright (C) 2012 The Android Open Source Project |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 4 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 5 | 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 Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 18 | package="com.android.mail" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 19 | android:versionCode="1" |
| 20 | android:versionName="1.0" > |
| 21 | |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 22 | <uses-permission android:name="android.permission.GET_ACCOUNTS" /> |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 23 | <!-- Allows mail to access the user's contacts, for email address auto-completion --> |
Mindy Pereira | 3528d36 | 2012-01-05 14:39:44 -0800 | [diff] [blame] | 24 | <uses-permission android:name="android.permission.READ_CONTACTS"/> |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 25 | <!-- Allows access to EmailProvider (EAS/IMAP/POP3) --> |
| 26 | <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/> |
Marc Blank | 503f4d4 | 2012-03-08 20:04:38 -0800 | [diff] [blame] | 27 | <uses-permission android:name="com.android.email.permission.READ_ATTACHMENT"/> |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 28 | <uses-permission android:name="android.permission.NFC" /> |
| 29 | |
mindyp | 19a95a9 | 2012-10-02 09:56:12 -0700 | [diff] [blame] | 30 | <!-- This needs to be present when we are doing unbundled releases. --> |
Tony Mantler | 2452e39 | 2013-12-20 15:18:58 -0800 | [diff] [blame] | 31 | <uses-sdk android:targetSdkVersion="19" android:minSdkVersion="14" /> |
mindyp | 19a95a9 | 2012-10-02 09:56:12 -0700 | [diff] [blame] | 32 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 33 | <application |
| 34 | android:icon="@mipmap/ic_launcher_mail" |
Mindy Pereira | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 35 | android:label="@string/app_name" |
Tony Mantler | ea5f307 | 2013-07-23 16:13:32 -0700 | [diff] [blame] | 36 | android:theme="@style/UnifiedEmailTheme" |
Tony Mantler | 3d99bb3 | 2013-09-13 13:30:00 -0700 | [diff] [blame] | 37 | android:supportsRtl="false" > |
Mindy Pereira | 68f2e22 | 2012-03-07 10:36:54 -0800 | [diff] [blame] | 38 | <!-- Enable search in all activities --> |
| 39 | <meta-data android:name="android.app.default_searchable" |
| 40 | android:value=".ui.MailActivity" /> |
Vikram Aggarwal | 04ff99c | 2012-02-28 15:29:13 -0800 | [diff] [blame] | 41 | <!-- TODO: add a permission on this --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 42 | <activity |
| 43 | android:label="@string/app_name" |
Vikram Aggarwal | 04ff99c | 2012-02-28 15:29:13 -0800 | [diff] [blame] | 44 | android:name=".ui.MailActivity" |
Vikram Aggarwal | 0dda573 | 2012-04-06 11:20:16 -0700 | [diff] [blame] | 45 | android:launchMode="singleTop" |
Jin Cao | c6801eb | 2014-08-12 18:16:57 -0700 | [diff] [blame] | 46 | android:theme="@style/MailActivityTheme" |
Jin Cao | 7e81c9b | 2014-08-25 18:08:04 -0700 | [diff] [blame] | 47 | android:windowSoftInputMode="stateAlwaysHidden"> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 48 | <intent-filter > |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 49 | <action android:name="android.intent.action.MAIN" /> |
| 50 | <category android:name="android.intent.category.LAUNCHER" /> |
| 51 | </intent-filter> |
Vikram Aggarwal | 04ff99c | 2012-02-28 15:29:13 -0800 | [diff] [blame] | 52 | <intent-filter> |
| 53 | <action android:name="android.intent.action.VIEW" /> |
| 54 | <category android:name="android.intent.category.DEFAULT" /> |
| 55 | <data android:scheme="content"/> |
| 56 | <data android:mimeType="application/mail-ls" /> |
| 57 | </intent-filter> |
Mindy Pereira | 68f2e22 | 2012-03-07 10:36:54 -0800 | [diff] [blame] | 58 | <intent-filter> |
| 59 | <action android:name="android.intent.action.SEARCH" /> |
| 60 | <category android:name="android.intent.category.DEFAULT" /> |
| 61 | </intent-filter> |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 62 | </activity> |
Andy Huang | 848e508 | 2012-03-19 19:02:12 -0700 | [diff] [blame] | 63 | <activity android:name=".compose.ComposeActivity" |
mindyp | 1beafbe | 2012-12-13 11:55:27 -0800 | [diff] [blame] | 64 | android:theme="@style/ComposeTheme"> |
Mindy Pereira | 7418e4b | 2012-02-28 11:32:14 -0800 | [diff] [blame] | 65 | <intent-filter> |
| 66 | <action android:name="android.intent.action.VIEW" /> |
| 67 | <action android:name="android.intent.action.SENDTO" /> |
| 68 | <category android:name="android.intent.category.DEFAULT" /> |
| 69 | <category android:name="android.intent.category.BROWSABLE" /> |
| 70 | <data android:scheme="mailto" /> |
| 71 | </intent-filter> |
| 72 | |
| 73 | <intent-filter> |
| 74 | <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
| 75 | <category android:name="android.intent.category.DEFAULT" /> |
| 76 | <data android:scheme="mailto" /> |
| 77 | </intent-filter> |
| 78 | |
| 79 | <intent-filter android:label="@string/compose"> |
| 80 | <action android:name="android.intent.action.SEND" /> |
| 81 | <category android:name="android.intent.category.DEFAULT" /> |
| 82 | <data android:mimeType="*/*" /> |
| 83 | </intent-filter> |
| 84 | |
| 85 | <intent-filter android:label="@string/compose"> |
| 86 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 87 | <category android:name="android.intent.category.DEFAULT" /> |
| 88 | <data android:mimeType="*/*" /> |
| 89 | </intent-filter> |
| 90 | </activity> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 91 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 92 | <activity android:name=".ui.CreateShortcutActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 93 | android:theme="@style/ShortcutWidgetTheme" |
| 94 | android:label="@string/activity_folder_selection" /> |
| 95 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 96 | <activity android:name=".ui.FolderSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 97 | android:theme="@style/ShortcutWidgetTheme" |
| 98 | android:label="@string/activity_folder_selection" /> |
| 99 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 100 | <activity android:name=".ui.MailboxSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 101 | android:theme="@style/InvisibleShortcutWidgetTheme" |
| 102 | android:label="@string/app_name" > |
| 103 | <intent-filter> |
| 104 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 105 | </intent-filter> |
| 106 | </activity> |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 107 | |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 108 | <activity |
Andrew Sapperstein | 4c7d8b5 | 2012-06-11 18:44:42 -0700 | [diff] [blame] | 109 | android:name=".photo.MailPhotoViewActivity" |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 110 | android:label="@string/app_name" |
| 111 | android:theme="@style/PhotoViewTheme" > |
| 112 | </activity> |
Andrew Sapperstein | f86e023 | 2013-05-31 10:39:50 -0700 | [diff] [blame] | 113 | <activity |
| 114 | android:name=".browse.EmlViewerActivity" |
Andrew Sapperstein | 91f8310 | 2013-08-22 16:59:05 -0700 | [diff] [blame] | 115 | android:label="@string/app_name" |
Andrew Sapperstein | 2684c88 | 2013-08-28 10:14:06 -0700 | [diff] [blame] | 116 | android:theme="@style/UnifiedEmailTheme" > |
Andrew Sapperstein | f86e023 | 2013-05-31 10:39:50 -0700 | [diff] [blame] | 117 | <intent-filter> |
| 118 | <action android:name="android.intent.action.VIEW" /> |
| 119 | <category android:name="android.intent.category.DEFAULT" /> |
| 120 | <data android:mimeType="message/rfc822" /> |
Andrew Sapperstein | 376294b | 2013-06-06 16:04:26 -0700 | [diff] [blame] | 121 | <data android:mimeType="application/eml" /> |
Andrew Sapperstein | f86e023 | 2013-05-31 10:39:50 -0700 | [diff] [blame] | 122 | </intent-filter> |
| 123 | </activity> |
Andrew Sapperstein | f62c05b | 2012-05-23 17:52:01 -0700 | [diff] [blame] | 124 | |
Tony Mantler | 7da3422 | 2014-06-19 11:15:51 -0700 | [diff] [blame] | 125 | <activity android:name=".ui.settings.MailPreferenceActivity" |
| 126 | android:label="@string/activity_preferences" |
| 127 | android:exported="false"> |
| 128 | </activity> |
| 129 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 130 | <provider |
Paul Westbrook | db5356a | 2013-07-16 11:57:20 -0700 | [diff] [blame] | 131 | android:authorities="com.android.mail.accountcache" |
| 132 | android:label="@string/account_cache_provider" |
| 133 | android:multiprocess="false" |
| 134 | android:name=".providers.UnifiedAccountCacheProvider" > |
| 135 | <grant-uri-permission android:pathPattern=".*" /> |
| 136 | </provider> |
| 137 | |
| 138 | <provider |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 139 | android:authorities="com.android.mail.mockprovider" |
| 140 | android:label="@string/mock_content_provider" |
| 141 | android:multiprocess="false" |
| 142 | android:name=".providers.protos.mock.MockUiProvider" > |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 143 | <grant-uri-permission android:pathPattern=".*" /> |
| 144 | </provider> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 145 | |
| 146 | <provider |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 147 | android:authorities="com.android.mail.conversation.provider" |
| 148 | android:label="@string/conversation_content_provider" |
| 149 | android:multiprocess="false" |
Paul Westbrook | 77177b1 | 2012-02-07 15:23:42 -0800 | [diff] [blame] | 150 | android:name=".browse.UnifiedConversationProvider" > |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 151 | <grant-uri-permission android:pathPattern=".*" /> |
| 152 | </provider> |
| 153 | |
| 154 | <provider |
Andrew Sapperstein | 7434e80 | 2013-06-21 11:26:49 -0700 | [diff] [blame] | 155 | android:authorities="@string/eml_attachment_provider" |
| 156 | android:multiprocess="false" |
| 157 | android:exported="false" |
| 158 | android:name="com.android.mail.providers.EmlAttachmentProvider" > |
| 159 | <grant-uri-permission android:pathPattern=".*" /> |
| 160 | </provider> |
| 161 | |
Mindy Pereira | c3df174 | 2012-01-13 13:27:47 -0800 | [diff] [blame] | 162 | <service android:name=".compose.EmptyService"/> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 163 | |
| 164 | <!-- Widget --> |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 165 | <receiver android:name=".widget.WidgetProvider" android:label="@string/app_name"> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 166 | <intent-filter> |
| 167 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 168 | </intent-filter> |
| 169 | <intent-filter> |
Mindy Pereira | 449be13 | 2012-03-12 13:11:37 -0700 | [diff] [blame] | 170 | <action android:name="com.android.mail.ACTION_NOTIFY_DATASET_CHANGED" /> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 171 | </intent-filter> |
| 172 | <meta-data android:name="android.appwidget.provider" |
| 173 | android:resource="@xml/widget_info" /> |
| 174 | </receiver> |
| 175 | <service android:name=".widget.WidgetService" |
| 176 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 177 | android:exported="false" /> |
Vikram Aggarwal | 59f741f | 2013-03-01 15:55:40 -0800 | [diff] [blame] | 178 | <service android:name=".MailLogService"/> |
Andrew Sapperstein | 7434e80 | 2013-06-21 11:26:49 -0700 | [diff] [blame] | 179 | <service android:name=".browse.EmlTempFileDeletionService" /> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 180 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 181 | </application> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 182 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 183 | </manifest> |