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="500064" > 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 <receiver 78 android:name="com.android.emailsync.EmailSyncAlarmReceiver"/> 79 <receiver 80 android:name="com.android.emailsync.MailboxAlarmReceiver"/> 81 82 <service 83 android:name="com.android.exchange.service.EasService" 84 android:exported="true"> 85 <!-- TODO: Switch this from EmailSyncAdapterService 86 <intent-filter> 87 <action 88 android:name="com.android.email.EXCHANGE_INTENT" /> 89 </intent-filter> 90 --> 91 </service> 92 93 <!--Required stanza to register the EAS EmailSyncAdapterService with SyncManager --> 94 <service 95 android:name="com.android.exchange.service.EmailSyncAdapterService" 96 android:exported="true"> 97 <intent-filter> 98 <action 99 android:name="android.content.SyncAdapter" /> 100 <action 101 android:name="com.android.email.EXCHANGE_INTENT" /> 102 </intent-filter> 103 <meta-data android:name="android.content.SyncAdapter" 104 android:resource="@xml/syncadapter_email" /> 105 </service> 106 107 <!--Required stanza to register the EAS ContactsSyncAdapterService with SyncManager --> 108 <service 109 android:name="com.android.exchange.service.ContactsSyncAdapterService" 110 android:exported="true"> 111 <intent-filter> 112 <action 113 android:name="android.content.SyncAdapter" /> 114 </intent-filter> 115 <meta-data android:name="android.content.SyncAdapter" 116 android:resource="@xml/syncadapter_contacts" /> 117 </service> 118 119 <!--Required stanza to register the EAS CalendarSyncAdapterService with SyncManager --> 120 <service 121 android:name="com.android.exchange.service.CalendarSyncAdapterService" 122 android:exported="true"> 123 <intent-filter> 124 <action 125 android:name="android.content.SyncAdapter" /> 126 </intent-filter> 127 <meta-data android:name="android.content.SyncAdapter" 128 android:resource="@xml/syncadapter_calendar" /> 129 </service> 130 131 <provider 132 android:name="com.android.exchange.provider.ExchangeDirectoryProvider" 133 android:authorities="com.android.exchange.directory.provider" 134 android:readPermission="android.permission.READ_CONTACTS" 135 android:multiprocess="false" 136 android:exported="true" 137 > 138 <meta-data 139 android:name="android.content.ContactDirectory" 140 android:value="true"/> 141 </provider> 142 143 <activity android:name=".EasCertificateRequestor"> 144 <intent-filter> 145 <action android:name="com.android.emailcommon.REQUEST_CERT" /> 146 <data android:scheme="eas" android:path="/certrequest" /> 147 <category android:name="android.intent.category.DEFAULT" /> 148 </intent-filter> 149 </activity> 150 <activity android:name=".SettingsRedirector"> 151 <intent-filter> 152 <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" /> 153 <category android:name="android.intent.category.DEFAULT" /> 154 </intent-filter> 155 </activity> 156 157 <receiver android:name="ExchangeBroadcastReceiver"> 158 <intent-filter> 159 <action android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" /> 160 </intent-filter> 161 </receiver> 162 163 </application> 164 </manifest> 165