Home | History | Annotate | Download | only in Email
      1 <?xml version="1.0" encoding="utf-8"?>
      2 <!--
      3      Copyright (C) 2012 The Android Open Source Project
      4 
      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"
     18     package="com.android.email"
     19     android:versionCode="500060" >
     20 
     21     <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
     22     <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
     23     <uses-permission android:name="android.permission.INTERNET"/>
     24     <uses-permission android:name="android.permission.VIBRATE"/>
     25     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
     26     <uses-permission android:name="android.permission.GET_ACCOUNTS" />
     27     <uses-permission android:name="android.permission.MANAGE_ACCOUNTS"/>
     28     <uses-permission android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
     29     <uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
     30     <uses-permission android:name="android.permission.WRITE_SYNC_SETTINGS"/>
     31     <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
     32     <uses-permission android:name="android.permission.READ_CONTACTS"/>
     33     <uses-permission android:name="android.permission.WRITE_CONTACTS"/>
     34     <uses-permission android:name="android.permission.READ_CALENDAR"/>
     35     <uses-permission android:name="android.permission.WRITE_CALENDAR"/>
     36     <uses-permission android:name="android.permission.READ_PROFILE"/>
     37     <uses-permission android:name="android.permission.NFC"/>
     38     <uses-permission android:name="android.permission.WAKE_LOCK"/>
     39     <uses-permission android:name="android.permission.READ_PHONE_STATE"/>
     40     <uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
     41 
     42     <!-- This needs to be present when we are doing unbundled releases. -->
     43     <uses-sdk android:targetSdkVersion="18" android:minSdkVersion="14" />
     44 
     45     <!-- additional uses -->
     46 
     47     <original-package android:name="com.android.email" />
     48 
     49     <!-- Grant permission to other apps to view attachments -->
     50     <!-- STOPSHIP: protectionLevel should not be dangerous -->
     51     <permission
     52         android:name="com.android.email.permission.READ_ATTACHMENT"
     53         android:permissionGroup="android.permission-group.MESSAGES"
     54         android:protectionLevel="dangerous"
     55         android:label="@string/permission_read_attachment_label"
     56         android:description="@string/permission_read_attachment_desc"/>
     57     <uses-permission
     58         android:name="com.android.email.permission.READ_ATTACHMENT"/>
     59 
     60     <uses-permission
     61         android:name="android.permission.USE_CREDENTIALS"/>
     62 
     63     <!-- Grant permission to system apps to access provider (see provider below) -->
     64     <permission
     65         android:name="com.android.email.permission.ACCESS_PROVIDER"
     66         android:protectionLevel="signature"
     67         android:label="@string/permission_access_provider_label"
     68         android:description="@string/permission_access_provider_desc"/>
     69     <uses-permission
     70         android:name="com.android.email.permission.ACCESS_PROVIDER"/>
     71 
     72     <application
     73         android:name=".EmailApplication"
     74         android:icon="@mipmap/ic_launcher_mail"
     75         android:label="@string/app_name"
     76         android:requiredAccountType="com.android.exchange,com.android.email"
     77         android:theme="@style/UnifiedEmailTheme"
     78         android:hardwareAccelerated="true"
     79         android:supportsRtl="false" >
     80         <!-- Enable search in all activities -->
     81         <meta-data android:name="android.app.default_searchable"
     82             android:value="com.android.email2.ui.MailActivityEmail" />
     83         <activity
     84             android:name="com.android.email.activity.ComposeActivityEmail"
     85             android:label="@string/app_name"
     86             android:theme="@style/ComposeTheme">
     87             <intent-filter>
     88                 <action
     89                     android:name="android.intent.action.VIEW" />
     90                 <action
     91                     android:name="android.intent.action.SENDTO" />
     92                 <data
     93                     android:scheme="mailto" />
     94                 <category
     95                     android:name="android.intent.category.DEFAULT" />
     96                 <category
     97                     android:name="android.intent.category.BROWSABLE" />
     98             </intent-filter>
     99             <intent-filter
    100                 android:label="@string/app_name">
    101                 <action
    102                     android:name="android.intent.action.SEND" />
    103                 <data
    104                     android:mimeType="*/*" />
    105                 <category
    106                     android:name="android.intent.category.DEFAULT" />
    107             </intent-filter>
    108             <intent-filter
    109                 android:label="@string/app_name">
    110                 <action
    111                     android:name="android.intent.action.SEND_MULTIPLE" />
    112                 <data
    113                     android:mimeType="*/*" />
    114                 <category
    115                     android:name="android.intent.category.DEFAULT" />
    116             </intent-filter>
    117             <intent-filter>
    118                 <action
    119                     android:name="com.android.email.intent.action.REPLY" />
    120             </intent-filter>
    121             <intent-filter>
    122                 <action android:name="android.intent.action.SEND" />
    123                 <category
    124                     android:name="android.intent.category.DEFAULT" />
    125                 <data
    126                     android:scheme="content"
    127                     android:host="ui.email2.android.com"
    128                     android:pathPrefix="/compose"
    129                     />
    130             </intent-filter>
    131             <intent-filter>
    132                 <action android:name="android.nfc.action.NDEF_DISCOVERED" />
    133                 <category android:name="android.intent.category.DEFAULT" />
    134                 <data android:scheme="mailto" />
    135             </intent-filter>
    136         </activity>
    137 
    138         <activity-alias android:name="com.android.mail.compose.ComposeActivity"
    139             android:targetActivity="com.android.email.activity.ComposeActivityEmail"/>
    140 
    141         <activity
    142             android:name=".activity.EventViewer"
    143             android:label="@string/app_name"
    144             >
    145             <intent-filter>
    146                 <action android:name="android.intent.action.VIEW" />
    147                 <category
    148                     android:name="android.intent.category.DEFAULT" />
    149                 <data
    150                     android:scheme="content"
    151                     android:host="ui.email2.android.com"
    152                     android:pathPrefix="/event"
    153                     />
    154             </intent-filter>
    155         </activity>
    156 
    157         <activity android:name="com.android.mail.ui.FolderSelectionActivity"
    158             android:label="@string/activity_folder_selection" />
    159 
    160         <activity android:name="com.android.email2.ui.MailboxSelectionActivityEmail"
    161             android:label="@string/app_name" >
    162             <intent-filter>
    163                 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
    164             </intent-filter>
    165         </activity>
    166 
    167         <activity android:name="com.android.mail.ui.ShortcutNameActivity"
    168             android:label="@string/shortcut_name_title"
    169             android:theme="@style/ShortcutWidgetTheme">
    170         </activity>
    171 
    172         <activity android:name="com.android.mail.ui.MailboxSelectionActivity"
    173             android:label="@string/app_name" >
    174             <intent-filter>
    175                 <action android:name="android.appwidget.action.APPWIDGET_CONFIGURE" />
    176             </intent-filter>
    177         </activity>
    178 
    179         <activity android:name="com.android.email2.ui.CreateShortcutActivityEmail"
    180             android:theme="@style/ShortcutWidgetTheme"
    181             android:label="@string/folder_shortcut_widget_label">
    182 
    183             <intent-filter>
    184                 <action android:name="android.intent.action.CREATE_SHORTCUT" />
    185                 <category android:name="android.intent.category.DEFAULT" />
    186             </intent-filter>
    187 
    188         </activity>
    189 
    190         <activity
    191             android:label="@string/app_name"
    192             android:name="com.android.email2.ui.MailActivityEmail"
    193             android:theme="@style/PlainUnifiedEmailTheme"
    194             android:windowSoftInputMode="adjustPan|stateUnspecified" >
    195             <intent-filter>
    196                 <action android:name="android.intent.action.VIEW" />
    197                 <category android:name="android.intent.category.DEFAULT" />
    198                 <data android:scheme="content"/>
    199                 <data android:mimeType="@string/application_mime_type" />
    200             </intent-filter>
    201             <intent-filter>
    202                 <action android:name="android.intent.action.SEARCH" />
    203                 <category android:name="android.intent.category.DEFAULT" />
    204             </intent-filter>
    205             <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" />
    206         </activity>
    207 
    208         <activity-alias android:name="com.android.email.activity.Welcome"
    209             android:targetActivity="com.android.email2.ui.MailActivityEmail"
    210             android:label="@string/app_name" >
    211             <intent-filter >
    212                 <action android:name="android.intent.action.MAIN" />
    213                 <category android:name="android.intent.category.DEFAULT" />
    214                 <category android:name="android.intent.category.LAUNCHER" />
    215                 <category android:name="android.intent.category.APP_EMAIL" />
    216             </intent-filter>
    217             <intent-filter>
    218                 <action android:name="android.intent.action.VIEW" />
    219                 <action android:name="android.intent.action.MAIN" />
    220                 <category android:name="android.intent.category.DEFAULT" />
    221                 <category android:name="android.intent.category.LAUNCHER" />
    222                 <data
    223                     android:scheme="content"
    224                     android:host="ui.email.android.com"
    225                     android:path="/view/mailbox"
    226                     />
    227             </intent-filter>
    228         </activity-alias>
    229 
    230         <!-- Must be exported in order for the AccountManager to launch it -->
    231         <!-- Also available for continuous test systems to force account creation -->
    232         <activity
    233             android:name=".activity.setup.AccountSetupBasics"
    234             android:label="@string/account_setup_basics_title"
    235             android:exported="true"
    236             >
    237             <intent-filter>
    238                 <action
    239                     android:name="com.android.email.CREATE_ACCOUNT" />
    240                 <category
    241                     android:name="android.intent.category.DEFAULT" />
    242             </intent-filter>
    243         </activity>
    244         <activity
    245             android:name=".activity.setup.AccountSetupType"
    246             android:label="@string/account_setup_account_type_title"
    247             >
    248         </activity>
    249         <activity
    250             android:name=".activity.setup.AccountSetupIncoming"
    251             android:label="@string/account_setup_incoming_title"
    252             >
    253         </activity>
    254         <activity
    255             android:name=".activity.setup.AccountSetupOutgoing"
    256             android:label="@string/account_setup_outgoing_title"
    257             >
    258         </activity>
    259         <activity
    260             android:name=".activity.setup.AccountSetupOptions"
    261             android:label="@string/account_setup_options_title"
    262             >
    263         </activity>
    264         <activity
    265             android:name=".activity.setup.AccountSetupNames"
    266             android:label="@string/account_setup_names_title"
    267             >
    268         </activity>
    269         <!-- Must be exported in order for the AccountManager to launch it -->
    270         <activity
    271             android:name=".activity.setup.AccountSettings"
    272             android:label="@string/settings_activity_title"
    273             android:exported="true"
    274             >
    275             <intent-filter>
    276                 <action
    277                     android:name="com.android.email.activity.setup.ACCOUNT_MANAGER_ENTRY" />
    278                 <category
    279                     android:name="android.intent.category.DEFAULT" />
    280             </intent-filter>
    281             <intent-filter>
    282                 <action android:name="android.intent.action.EDIT" />
    283                 <category android:name="android.intent.category.DEFAULT" />
    284                 <data
    285                     android:scheme="content"
    286                     android:host="ui.email.android.com"
    287                     android:pathPrefix="/settings"
    288                     />
    289             </intent-filter>
    290             <intent-filter>
    291                 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
    292                 <category android:name="android.intent.category.DEFAULT" />
    293             </intent-filter>
    294         </activity>
    295         <activity
    296             android:name=".provider.FolderPickerActivity"
    297             android:label="@string/folder_picker_title"
    298             >
    299             <intent-filter>
    300                 <action android:name="android.intent.action.EDIT" />
    301                 <category android:name="android.intent.category.DEFAULT" />
    302                 <data
    303                     android:scheme="content"
    304                     android:host="ui.email.android.com"
    305                     android:pathPrefix="/setup"
    306                     />
    307             </intent-filter>
    308         </activity>
    309         <activity
    310             android:name=".activity.setup.AccountSecurity"
    311             android:label="@string/account_security_title"
    312             >
    313         </activity>
    314 
    315         <activity
    316             android:name=".activity.setup.MailboxSettings"
    317             android:label="@string/mailbox_settings_activity_title"
    318             >
    319         </activity>
    320 
    321         <activity
    322             android:name="com.android.mail.photo.MailPhotoViewActivity"
    323             android:label="@string/app_name"
    324             android:theme="@style/PhotoViewTheme" >
    325         </activity>
    326 
    327         <activity
    328                 android:name="com.android.mail.browse.EmlViewerActivity"
    329                 android:label="@string/app_name"
    330                 android:theme="@style/UnifiedEmailTheme" >
    331             <intent-filter>
    332                 <action android:name="android.intent.action.VIEW" />
    333                 <category android:name="android.intent.category.DEFAULT" />
    334                 <data android:mimeType="message/rfc822" />
    335                 <data android:mimeType="application/eml" />
    336             </intent-filter>
    337         </activity>
    338 
    339         <!-- additional activities -->
    340 
    341         <provider
    342             android:authorities="com.android.email2.conversation.provider"
    343             android:label="@string/conversation_content_provider"
    344             android:exported="true"
    345             android:name="com.android.mail.browse.EmailConversationProvider" >
    346             <grant-uri-permission android:pathPattern=".*" />
    347         </provider>
    348 
    349         <provider
    350             android:authorities="com.android.email2.accountcache"
    351             android:label="@string/account_cache_provider"
    352             android:exported="true"
    353             android:name="com.android.mail.providers.EmailAccountCacheProvider" >
    354             <grant-uri-permission android:pathPattern=".*" />
    355         </provider>
    356 
    357         <provider
    358                 android:authorities="@string/eml_attachment_provider"
    359                 android:exported="false"
    360                 android:name="com.android.mail.providers.EmlAttachmentProvider" >
    361             <grant-uri-permission android:pathPattern=".*" />
    362         </provider>
    363 
    364         <!-- The android:name is the name of the Provider class which is stored in
    365           UnifiedEmail, and has package name com.android.mail.providers and the class is
    366           called SuggestionsProvider. The authority name is specified in the MailAppProvider
    367           which is specific to the two apps separately. -->
    368         <provider android:name="com.android.mail.providers.SuggestionsProvider"
    369             android:authorities="com.android.email.suggestionsprovider"
    370             android:exported="true" />
    371 
    372         <service android:name="com.android.mail.compose.EmptyService"/>
    373         <!-- Widget -->
    374         <receiver android:name=".provider.WidgetProvider" android:label="@string/app_name">
    375             <intent-filter>
    376                 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" />
    377             </intent-filter>
    378             <intent-filter>
    379                 <action android:name="com.android.mail.ACTION_NOTIFY_DATASET_CHANGED" />
    380                 <data android:mimeType="@string/application_mime_type" />
    381             </intent-filter>
    382             <intent-filter>
    383                 <action android:name="com.android.mail.ACTION_UPDATE_WIDGET" />
    384                 <data android:mimeType="@string/application_mime_type" />
    385             </intent-filter>
    386             <intent-filter>
    387                 <action android:name="com.android.mail.ACTION_VALIDATE_ALL_WIDGETS" />
    388                 <data android:mimeType="@string/application_mime_type" />
    389             </intent-filter>
    390             <meta-data android:name="android.appwidget.provider"
    391                        android:resource="@xml/widget_info" />
    392         </receiver>
    393         <service android:name="com.android.mail.widget.WidgetService"
    394                  android:permission="android.permission.BIND_REMOTEVIEWS"
    395                  android:exported="false" />
    396 
    397         <!-- From Email application -->
    398 
    399         <receiver
    400             android:name=".service.AttachmentDownloadService$Watchdog"
    401             android:enabled="true"/>
    402 
    403         <!-- Handles app upgrade. This disables itself after running once. -->
    404         <receiver
    405             android:name=".service.EmailUpgradeBroadcastReceiver"
    406             android:enabled="true">
    407             <intent-filter>
    408                 <action android:name="android.intent.action.BOOT_COMPLETED" />
    409                 <action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
    410             </intent-filter>
    411         </receiver>
    412 
    413         <receiver
    414             android:name=".service.EmailBroadcastReceiver"
    415             android:enabled="true">
    416             <intent-filter>
    417                 <action android:name="android.intent.action.BOOT_COMPLETED" />
    418                 <action android:name="android.intent.action.DEVICE_STORAGE_LOW" />
    419                 <action android:name="android.intent.action.DEVICE_STORAGE_OK" />
    420                 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
    421             </intent-filter>
    422             <!-- To handle new message notifications -->
    423             <intent-filter>
    424                 <action android:name="com.android.mail.action.update_notification"
    425                         android:priority="-10" />
    426                 <data android:mimeType="@string/application_mime_type" />
    427             </intent-filter>
    428             <!-- To handle secret code to activate the debug screen. -->
    429             <intent-filter>
    430                 <action
    431                     android:name="android.provider.Telephony.SECRET_CODE" />
    432                 <!-- "36245" = "email" -->
    433                 <data
    434                     android:scheme="android_secret_code"
    435                     android:host="36245" />
    436             </intent-filter>
    437         </receiver>
    438         <service
    439             android:name=".service.EmailBroadcastProcessorService" />
    440 
    441         <!-- Support for DeviceAdmin / DevicePolicyManager.  See SecurityPolicy class for impl. -->
    442         <receiver
    443             android:name=".SecurityPolicy$PolicyAdmin"
    444             android:label="@string/device_admin_label"
    445             android:description="@string/device_admin_description"
    446             android:permission="android.permission.BIND_DEVICE_ADMIN" >
    447             <meta-data
    448                 android:name="android.app.device_admin"
    449                 android:resource="@xml/device_admin" />
    450             <intent-filter>
    451                 <action
    452                     android:name="android.app.action.DEVICE_ADMIN_ENABLED" />
    453             </intent-filter>
    454         </receiver>
    455 
    456         <service
    457             android:name=".service.AttachmentDownloadService"
    458             android:enabled="false"
    459             >
    460         </service>
    461 
    462         <!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
    463         <service
    464             android:name=".service.Pop3AuthenticatorService"
    465             android:exported="true"
    466             android:enabled="true"
    467             >
    468             <intent-filter>
    469                 <action
    470                     android:name="android.accounts.AccountAuthenticator" />
    471             </intent-filter>
    472             <meta-data
    473                 android:name="android.accounts.AccountAuthenticator"
    474                 android:resource="@xml/authenticator_pop3"
    475                 />
    476         </service>
    477         <!--Required stanza to register the PopImapAuthenticatorService with AccountManager -->
    478         <service
    479             android:name=".service.ImapAuthenticatorService"
    480             android:exported="true"
    481             android:enabled="false"
    482             >
    483             <intent-filter>
    484                 <action
    485                     android:name="android.accounts.AccountAuthenticator" />
    486             </intent-filter>
    487             <meta-data
    488                 android:name="android.accounts.AccountAuthenticator"
    489                 android:resource="@xml/authenticator_imap"
    490                 />
    491         </service>
    492 
    493         <!--Required stanza to register the PopImapSyncAdapterService with SyncManager -->
    494         <service
    495             android:name="com.android.email.service.Pop3SyncAdapterService"
    496             android:exported="true">
    497             <intent-filter>
    498                 <action
    499                     android:name="android.content.SyncAdapter" />
    500             </intent-filter>
    501             <meta-data android:name="android.content.SyncAdapter"
    502                        android:resource="@xml/syncadapter_pop3" />
    503         </service>
    504 
    505         <service
    506             android:name="com.android.email.service.LegacyImapSyncAdapterService"
    507             android:exported="true">
    508             <intent-filter>
    509                 <action
    510                     android:name="android.content.SyncAdapter" />
    511             </intent-filter>
    512             <meta-data android:name="android.content.SyncAdapter"
    513                        android:resource="@xml/syncadapter_legacy_imap" />
    514         </service>
    515 
    516         <!-- Require provider permission to use our Policy and Account services -->
    517         <service
    518             android:name=".service.PolicyService"
    519             android:enabled="true"
    520             android:permission="com.android.email.permission.ACCESS_PROVIDER"
    521             >
    522             <intent-filter>
    523                 <action
    524                     android:name="com.android.email.POLICY_INTENT" />
    525             </intent-filter>
    526         </service>
    527 
    528         <service
    529             android:name=".service.AccountService"
    530             android:enabled="true"
    531             android:permission="com.android.email.permission.ACCESS_PROVIDER"
    532             >
    533             <intent-filter>
    534                 <action
    535                     android:name="com.android.email.ACCOUNT_INTENT" />
    536             </intent-filter>
    537         </service>
    538 
    539         <service
    540             android:name=".service.ImapService"
    541             android:enabled="true"
    542             android:permission="com.android.email.permission.ACCESS_PROVIDER"
    543             >
    544             <intent-filter>
    545                 <action
    546                     android:name="com.android.email.IMAP_INTENT" />
    547             </intent-filter>
    548         </service>
    549 
    550         <service
    551             android:name=".service.Pop3Service"
    552             android:enabled="true"
    553             android:permission="com.android.email.permission.ACCESS_PROVIDER"
    554             >
    555             <intent-filter>
    556                 <action
    557                     android:name="com.android.email.POP3_INTENT" />
    558             </intent-filter>
    559         </service>
    560 
    561         <!--Required stanza to register the EasAuthenticatorService with AccountManager -->
    562         <service
    563             android:name=".service.EasAuthenticatorService"
    564             android:exported="true"
    565             android:enabled="true"
    566             >
    567             <intent-filter>
    568                 <action
    569                     android:name="android.accounts.AccountAuthenticator" />
    570             </intent-filter>
    571             <meta-data
    572                 android:name="android.accounts.AccountAuthenticator"
    573                 android:resource="@xml/authenticator_eas"
    574                 />
    575         </service>
    576         <!--Required stanza to register the EasTestAuthenticatorService with AccountManager -->
    577         <service
    578             android:name=".service.EasTestAuthenticatorService"
    579             android:exported="true"
    580             android:enabled="false"
    581             >
    582             <intent-filter>
    583                 <action
    584                     android:name="android.accounts.AccountAuthenticator" />
    585             </intent-filter>
    586             <meta-data
    587                 android:name="android.accounts.AccountAuthenticator"
    588                 android:resource="@xml/eastest_authenticator"
    589                 />
    590         </service>
    591         <!--
    592             EasAuthenticatorService with the alternative label.  Disabled by default,
    593             and OneTimeInitializer enables it if the vendor policy tells so.
    594         -->
    595         <service
    596             android:name=".service.EasAuthenticatorServiceAlternate"
    597             android:exported="true"
    598             android:enabled="false"
    599             >
    600             <intent-filter>
    601                 <action
    602                     android:name="android.accounts.AccountAuthenticator" />
    603             </intent-filter>
    604             <meta-data
    605                 android:name="android.accounts.AccountAuthenticator"
    606                 android:resource="@xml/authenticator_alternate"
    607                 />
    608         </service>
    609 
    610         <service
    611             android:name=".service.LegacyImapAuthenticatorService"
    612             android:exported="false"
    613             android:enabled="true"
    614             >
    615             <intent-filter>
    616                 <action
    617                     android:name="android.accounts.AccountAuthenticator" />
    618             </intent-filter>
    619             <meta-data
    620                 android:name="android.accounts.AccountAuthenticator"
    621                 android:resource="@xml/authenticator_legacy_imap"
    622                 />
    623         </service>
    624 
    625         <provider
    626             android:name=".provider.AttachmentProvider"
    627             android:authorities="com.android.email.attachmentprovider"
    628             android:grantUriPermissions="true"
    629             android:exported="true"
    630             android:readPermission="com.android.email.permission.READ_ATTACHMENT"
    631             />
    632 
    633         <!-- This provider MUST be protected by strict permissions, as granting access to
    634              it exposes user passwords and other confidential information. -->
    635         <provider
    636             android:name=".provider.EmailProvider"
    637             android:authorities="com.android.email.provider;com.android.email.notifier"
    638             android:exported="true"
    639             android:permission="com.android.email.permission.ACCESS_PROVIDER"
    640             android:label="@string/app_name"
    641             />
    642 
    643         <!-- Legacy authenticators, etc. can be added below. OEMs may remove these -->
    644 
    645         <service
    646             android:name=".service.LegacyEmailAuthenticatorService"
    647             android:exported="false"
    648             android:enabled="true"
    649             >
    650             <intent-filter>
    651                 <action
    652                     android:name="android.accounts.AccountAuthenticator" />
    653             </intent-filter>
    654             <meta-data
    655                 android:name="android.accounts.AccountAuthenticator"
    656                 android:resource="@xml/authenticator_legacy_email"
    657                 />
    658         </service>
    659 
    660         <service
    661             android:name=".service.LegacyEasAuthenticatorService"
    662             android:exported="false"
    663             android:enabled="true"
    664             >
    665             <intent-filter>
    666                 <action
    667                     android:name="android.accounts.AccountAuthenticator" />
    668             </intent-filter>
    669             <meta-data
    670                 android:name="android.accounts.AccountAuthenticator"
    671                 android:resource="@xml/authenticator_legacy_eas"
    672                 />
    673         </service>
    674 
    675         <service android:name="com.android.email.EmailIntentService"
    676                  android:exported="false">
    677             <intent-filter>
    678                 <action android:name="android.intent.action.LOCALE_CHANGED"/>
    679                 <action android:name="com.android.mail.action.RESEND_NOTIFICATIONS" />
    680             </intent-filter>
    681             <intent-filter>
    682                 <action android:name="com.android.mail.action.CLEAR_NEW_MAIL_NOTIFICATIONS" />
    683                 <data android:scheme="content" />
    684             </intent-filter>
    685         </service>
    686 
    687         <service android:name="com.android.mail.NotificationActionIntentService"
    688                   android:exported="false">
    689             <intent-filter>
    690                 <action android:name="com.android.mail.action.notification.MARK_READ" />
    691                 <action android:name="com.android.mail.action.notification.ARCHIVE" />
    692                 <action android:name="com.android.mail.action.notification.DELETE" />
    693                 <action android:name="com.android.mail.action.notification.UNDO" />
    694                 <action android:name="com.android.mail.action.notification.DESTRUCT" />
    695                 <action android:name="com.android.mail.action.notification.UNDO_TIMEOUT" />
    696                 <action android:name="com.android.mail.action.notification.REPLY" />
    697                 <action android:name="com.android.mail.action.notification.REPLY_ALL" />
    698                 <action android:name="com.android.mail.action.notification.FORWARD" />
    699             </intent-filter>
    700         </service>
    701         <service android:name="com.android.mail.MailLogService">
    702         </service>
    703         <service android:name="com.android.mail.browse.EmlTempFileDeletionService" />
    704     </application>
    705 
    706     <!-- Legacy permissions, etc. can go here -->
    707 
    708 </manifest>
    709