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 | 6f92de6 | 2011-12-19 11:31:48 -0800 | [diff] [blame] | 44 | <activity android:name=".compose.ComposeActivity" /> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 45 | <activity |
Vikram Aggarwal | 1ddcf0f | 2012-01-13 11:45:02 -0800 | [diff] [blame] | 46 | android:name=".ui.MailActivity" |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 47 | android:uiOptions="splitActionBarWhenNarrow" /> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 48 | <activity android:name="LabelSynchronizationActivity" |
| 49 | android:theme="@android:style/Theme.Holo.Light.Dialog" /> |
| 50 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 51 | <activity android:name=".ui.CreateShortcutActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 52 | android:theme="@style/ShortcutWidgetTheme" |
| 53 | android:label="@string/activity_folder_selection" /> |
| 54 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 55 | <activity android:name=".ui.FolderSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 56 | android:theme="@style/ShortcutWidgetTheme" |
| 57 | android:label="@string/activity_folder_selection" /> |
| 58 | |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 59 | <activity android:name=".ui.MailboxSelectionActivity" |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 60 | android:theme="@style/InvisibleShortcutWidgetTheme" |
| 61 | android:label="@string/app_name" > |
| 62 | <intent-filter> |
| 63 | <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" /> |
| 64 | </intent-filter> |
| 65 | </activity> |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 66 | |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 67 | <provider |
| 68 | android:authorities="com.android.mail.mockprovider" |
| 69 | android:label="@string/mock_content_provider" |
| 70 | android:multiprocess="false" |
| 71 | android:name=".providers.protos.mock.MockUiProvider" > |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 72 | <grant-uri-permission android:pathPattern=".*" /> |
| 73 | </provider> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 74 | |
| 75 | <provider |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 76 | android:authorities="com.android.mail.conversation.provider" |
| 77 | android:label="@string/conversation_content_provider" |
| 78 | android:multiprocess="false" |
Paul Westbrook | 77177b1 | 2012-02-07 15:23:42 -0800 | [diff] [blame] | 79 | android:name=".browse.UnifiedConversationProvider" > |
Marc Blank | c8a9942 | 2012-01-19 14:27:47 -0800 | [diff] [blame] | 80 | <grant-uri-permission android:pathPattern=".*" /> |
| 81 | </provider> |
| 82 | |
| 83 | <provider |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 84 | android:authorities="com.android.mail.accountcache" |
| 85 | android:label="@string/account_cache_provider" |
| 86 | android:multiprocess="false" |
Paul Westbrook | 77177b1 | 2012-02-07 15:23:42 -0800 | [diff] [blame] | 87 | android:name=".providers.UnifiedAccountCacheProvider" > |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 88 | <grant-uri-permission android:pathPattern=".*" /> |
| 89 | </provider> |
| 90 | |
| 91 | <provider |
| 92 | android:authorities="com.android.mail.dummygmailprovider" |
| 93 | android:label="@string/dummy_gmail_provider" |
| 94 | android:multiprocess="false" |
| 95 | android:name=".providers.protos.gmail.DummyGmailProvider" > |
| 96 | <grant-uri-permission android:pathPattern=".*" /> |
| 97 | </provider> |
| 98 | |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 99 | <receiver android:name=".providers.protos.boot.AccountReceiver"> |
Paul Westbrook | aa3e7a5 | 2012-01-04 17:55:39 -0800 | [diff] [blame] | 100 | <intent-filter> |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 101 | <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] | 102 | </intent-filter> |
| 103 | </receiver> |
| 104 | |
Marc Blank | 9e5a3fd | 2012-01-11 15:57:08 -0800 | [diff] [blame] | 105 | <service android:name=".providers.protos.boot.GmailAccountService"/> |
| 106 | <service android:name=".providers.protos.boot.EmailAccountService"/> |
Mindy Pereira | c3df174 | 2012-01-13 13:27:47 -0800 | [diff] [blame] | 107 | <service android:name=".compose.EmptyService"/> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 108 | |
| 109 | <!-- Widget --> |
Mindy Pereira | 8a17d6e | 2012-02-23 15:23:21 -0800 | [diff] [blame] | 110 | <receiver android:name=".widget.WidgetProvider" android:label="@string/app_name"> |
Mindy Pereira | 8a8c50d | 2012-02-23 11:09:03 -0800 | [diff] [blame] | 111 | <intent-filter> |
| 112 | <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> |
| 113 | </intent-filter> |
| 114 | <intent-filter> |
| 115 | <action android:name="com.google.android.gm.intent.ACTION_NOTIFY_DATASET_CHANGED" /> |
| 116 | </intent-filter> |
| 117 | <meta-data android:name="android.appwidget.provider" |
| 118 | android:resource="@xml/widget_info" /> |
| 119 | </receiver> |
| 120 | <service android:name=".widget.WidgetService" |
| 121 | android:permission="android.permission.BIND_REMOTEVIEWS" |
| 122 | android:exported="false" /> |
| 123 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 124 | </application> |
Vikram Aggarwal | 5e5ac74 | 2011-12-19 08:14:16 -0800 | [diff] [blame] | 125 | |
Mindy Pereira | 0b2aaf4 | 2011-12-12 10:02:12 -0800 | [diff] [blame] | 126 | </manifest> |