1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2008 The Android Open Source Project 3 4 Licensed under the Apache License, Version 2.0 (the "License"); 5 you may not use this file except in compliance with the License. 6 You may obtain a copy of the License at 7 8 http://www.apache.org/licenses/LICENSE-2.0 9 10 Unless required by applicable law or agreed to in writing, software 11 distributed under the License is distributed on an "AS IS" BASIS, 12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 See the License for the specific language governing permissions and 14 limitations under the License. 15--> 16 17<manifest 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.android.exchange" 20 android:versionCode="500065" > 21 22 <uses-permission 23 android:name="android.permission.RECEIVE_BOOT_COMPLETED"/> 24 <uses-permission 25 android:name="android.permission.ACCESS_NETWORK_STATE"/> 26 <uses-permission 27 android:name="android.permission.INTERNET"/> 28 <uses-permission 29 android:name="android.permission.VIBRATE"/> 30 <uses-permission 31 android:name="android.permission.WRITE_EXTERNAL_STORAGE" /> 32 <uses-permission 33 android:name="android.permission.GET_ACCOUNTS" /> 34 <uses-permission 35 android:name="android.permission.MANAGE_ACCOUNTS" /> 36 <uses-permission 37 android:name="android.permission.AUTHENTICATE_ACCOUNTS" /> 38 <uses-permission 39 android:name="android.permission.READ_SYNC_SETTINGS" /> 40 <uses-permission 41 android:name="android.permission.WRITE_SYNC_SETTINGS" /> 42 43 <uses-permission 44 android:name="android.permission.READ_CONTACTS"/> 45 <uses-permission 46 android:name="android.permission.WRITE_CONTACTS"/> 47 <uses-permission 48 android:name="android.permission.READ_CALENDAR"/> 49 <uses-permission 50 android:name="android.permission.WRITE_CALENDAR"/> 51 <uses-permission 52 android:name="android.permission.USE_CREDENTIALS"/> 53 54 <!-- Only required if a store implements push mail and needs to keep network open --> 55 <uses-permission 56 android:name="android.permission.WAKE_LOCK"/> 57 <uses-permission 58 android:name="android.permission.READ_PHONE_STATE"/> 59 60 <uses-permission 61 android:name="com.android.email.permission.READ_ATTACHMENT"/> 62 <uses-permission 63 android:name="com.android.email.permission.ACCESS_PROVIDER"/> 64 65 <uses-sdk android:targetSdkVersion="19" android:minSdkVersion="14" /> 66 67 <!-- additional uses --> 68 69 <application 70 android:icon="@mipmap/icon" 71 android:label="@string/app_name" 72 android:name="Exchange" 73 android:requiredAccountType="com.android.exchange" 74 android:theme="@android:style/Theme.Holo.Light" 75 > 76 77 <service 78 android:name="com.android.exchange.service.EasService" 79 android:exported="true"> 80 <intent-filter> 81 <action 82 android:name="com.android.email.EXCHANGE_INTENT" /> 83 </intent-filter> 84 85 </service> 86 87 <!--Required stanza to register the EAS EmailSyncAdapterService with SyncManager --> 88 <service 89 android:name="com.android.exchange.service.EmailSyncAdapterService" 90 android:exported="true"> 91 <intent-filter> 92 <action 93 android:name="android.content.SyncAdapter" /> 94 </intent-filter> 95 <meta-data android:name="android.content.SyncAdapter" 96 android:resource="@xml/syncadapter_email" /> 97 </service> 98 99 <!--Required stanza to register the EAS ContactsSyncAdapterService with SyncManager --> 100 <service 101 android:name="com.android.exchange.service.ContactsSyncAdapterService" 102 android:exported="true"> 103 <intent-filter> 104 <action 105 android:name="android.content.SyncAdapter" /> 106 </intent-filter> 107 <meta-data android:name="android.content.SyncAdapter" 108 android:resource="@xml/syncadapter_contacts" /> 109 </service> 110 111 <!--Required stanza to register the EAS CalendarSyncAdapterService with SyncManager --> 112 <service 113 android:name="com.android.exchange.service.CalendarSyncAdapterService" 114 android:exported="true"> 115 <intent-filter> 116 <action 117 android:name="android.content.SyncAdapter" /> 118 </intent-filter> 119 <meta-data android:name="android.content.SyncAdapter" 120 android:resource="@xml/syncadapter_calendar" /> 121 </service> 122 123 <provider 124 android:name="com.android.exchange.provider.ExchangeDirectoryProvider" 125 android:authorities="com.android.exchange.directory.provider" 126 android:readPermission="android.permission.READ_CONTACTS" 127 android:multiprocess="false" 128 android:exported="true" 129 > 130 <meta-data 131 android:name="android.content.ContactDirectory" 132 android:value="true"/> 133 </provider> 134 135 <activity android:name=".EasCertificateRequestor"> 136 <intent-filter> 137 <action android:name="com.android.email.EXCHANGE_REQUEST_CERT" /> 138 <data android:scheme="eas" android:path="/certrequest" /> 139 <category android:name="android.intent.category.DEFAULT" /> 140 </intent-filter> 141 </activity> 142 <activity android:name=".SettingsRedirector"> 143 <intent-filter> 144 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" /> 145 <category android:name="android.intent.category.DEFAULT" /> 146 </intent-filter> 147 </activity> 148 149 <receiver android:name="ExchangeBroadcastReceiver"> 150 <intent-filter> 151 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> 152 </intent-filter> 153 </receiver> 154 155 </application> 156</manifest> 157