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