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"/> |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 27 | <uses-permission android:name="android.permission.NFC" /> |
Mindy Pereira | 9cdc406 | 2012-02-02 14:18:08 -0800 | [diff] [blame] | 28 | <uses-permission android:name="com.google.android.gm.permission.READ_CONTENT_PROVIDER"/> |
| 29 | <uses-permission android:name="com.google.android.gm.permission.READ_GMAIL"/> |
| 30 | <uses-permission android:name="com.google.android.gm.permission.WRITE_GMAIL"/> |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 31 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 32 | <application |
| 33 | android:icon="@mipmap/ic_launcher_mail" |
Mindy Pereira | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 34 | android:label="@string/app_name" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 35 | android:theme="@android:style/Theme.Holo.Light" > |
| 36 | <activity |
| 37 | android:label="@string/app_name" |
| 38 | android:name=".UnifiedEmail" > |
| 39 | <intent-filter > |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 40 | <action android:name="android.intent.action.MAIN" /> |
| 41 | <category android:name="android.intent.category.LAUNCHER" /> |
| 42 | </intent-filter> |
| 43 | </activity> |
Mindy Pereira | 7418e4b | 2012-02-28 11:32:14 -0800 | [diff] [blame^] | 44 | <activity android:name=".compose.ComposeActivity"> |
| 45 | <intent-filter> |
| 46 | <action android:name="android.intent.action.VIEW" /> |
| 47 | <action android:name="android.intent.action.SENDTO" /> |
| 48 | <category android:name="android.intent.category.DEFAULT" /> |
| 49 | <category android:name="android.intent.category.BROWSABLE" /> |
| 50 | <data android:scheme="mailto" /> |
| 51 | </intent-filter> |
| 52 | |
| 53 | <intent-filter> |
| 54 | <action android:name="android.nfc.action.NDEF_DISCOVERED" /> |
| 55 | <category android:name="android.intent.category.DEFAULT" /> |
| 56 | <data android:scheme="mailto" /> |
| 57 | </intent-filter> |
| 58 | |
| 59 | <intent-filter android:label="@string/compose"> |
| 60 | <action android:name="android.intent.action.SEND" /> |
| 61 | <category android:name="android.intent.category.DEFAULT" /> |
| 62 | <data android:mimeType="*/*" /> |
| 63 | </intent-filter> |
| 64 | |
| 65 | <intent-filter android:label="@string/compose"> |
| 66 | <action android:name="android.intent.action.SEND_MULTIPLE" /> |
| 67 | <category android:name="android.intent.category.DEFAULT" /> |
| 68 | <data android:mimeType="*/*" /> |
| 69 | </intent-filter> |
| 70 | </activity> |
| 71 | <!-- TODO: add a permission on this --> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 72 | <activity |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 73 | android:name=".ui.MailActivity" |
Mindy Pereira | 9ae8ce0 | 2012-02-28 09:28:15 -0800 | [diff] [blame] | 74 | android:uiOptions="splitActionBarWhenNarrow"> |
| 75 | <intent-filter> |
| 76 | <action android:name="android.intent.action.VIEW" /> |
| 77 | <category android:name="android.intent.category.DEFAULT" /> |
| 78 | <data android:scheme="content"/> |
| 79 | <data android:mimeType="application/mail-ls" /> |
| 80 | </intent-filter> |
| 81 | </activity> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 82 | <activity android:name="LabelSynchronizationActivity" |
| 83 | android:theme="@android:style/Theme.Holo.Light.Dialog" /> |
| 84 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 85 | <activity android:name=".ui.CreateShortcutActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 86 | android:theme="@style/ShortcutWidgetTheme" |
| 87 | android:label="@string/activity_folder_selection" /> |
| 88 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 89 | <activity android:name=".ui.FolderSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 90 | android:theme="@style/ShortcutWidgetTheme" |
| 91 | android:label="@string/activity_folder_selection" /> |
| 92 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 93 | <activity android:name=".ui.MailboxSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 94 | android:theme="@style/InvisibleShortcutWidgetTheme" |
| 95 | android:label="@string/app_name" > |
| 96 | <intent-filter> |
| 97 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 98 | </intent-filter> |
| 99 | </activity> |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 100 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 101 | <provider |
| 102 | android:authorities="com.android.mail.mockprovider" |
| 103 | android:label="@string/mock_content_provider" |
| 104 | android:multiprocess="false" |
| 105 | android:name=".providers.protos.mock.MockUiProvider" > |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 106 | <grant-uri-permission android:pathPattern=".*" /> |
| 107 | </provider> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 108 | |
| 109 | <provider |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 110 | android:authorities="com.android.mail.conversation.provider" |
| 111 | android:label="@string/conversation_content_provider" |
| 112 | android:multiprocess="false" |
Paul Westbrook | 77177b1 | 2012-02-07 15:23:42 -0800 | [diff] [blame] | 113 | android:name=".browse.UnifiedConversationProvider" > |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 114 | <grant-uri-permission android:pathPattern=".*" /> |
| 115 | </provider> |
| 116 | |
| 117 | <provider |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 118 | android:authorities="com.android.mail.accountcache" |
| 119 | android:label="@string/account_cache_provider" |
| 120 | android:multiprocess="false" |
Paul Westbrook | 77177b1 | 2012-02-07 15:23:42 -0800 | [diff] [blame] | 121 | android:name=".providers.UnifiedAccountCacheProvider" > |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 122 | <grant-uri-permission android:pathPattern=".*" /> |
| 123 | </provider> |
| 124 | |
| 125 | <provider |
| 126 | android:authorities="com.android.mail.dummygmailprovider" |
| 127 | android:label="@string/dummy_gmail_provider" |
| 128 | android:multiprocess="false" |
| 129 | android:name=".providers.protos.gmail.DummyGmailProvider" > |
| 130 | <grant-uri-permission android:pathPattern=".*" /> |
| 131 | </provider> |
| 132 | |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 133 | <receiver android:name=".providers.protos.boot.AccountReceiver"> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 134 | <intent-filter> |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 135 | <action android:name="com.android.mail.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" /> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 136 | </intent-filter> |
| 137 | </receiver> |
| 138 | |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 139 | <service android:name=".providers.protos.boot.GmailAccountService"/> |
| 140 | <service android:name=".providers.protos.boot.EmailAccountService"/> |
Mindy Pereira | c3df174 | 2012-01-13 13:27:47 -0800 | [diff] [blame] | 141 | <service android:name=".compose.EmptyService"/> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 142 | |
| 143 | <!-- Widget --> |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 144 | <receiver android:name=".widget.WidgetProvider" android:label="@string/app_name"> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 145 | <intent-filter> |
| 146 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 147 | </intent-filter> |
| 148 | <intent-filter> |
| 149 | <action android:name="com.google.android.gm.intent.ACTION_NOTIFY_DATASET_CHANGED" /> |
| 150 | </intent-filter> |
| 151 | <meta-data android:name="android.appwidget.provider" |
| 152 | android:resource="@xml/widget_info" /> |
| 153 | </receiver> |
| 154 | <service android:name=".widget.WidgetService" |
| 155 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 156 | android:exported="false" /> |
| 157 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 158 | </application> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 159 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 160 | </manifest> |