• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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="401000"
21    android:versionName="4.0.1"
22     >
23
24    <uses-permission
25        android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
26    <uses-permission
27        android:name="android.permission.ACCESS_NETWORK_STATE"/>
28    <uses-permission
29        android:name="android.permission.INTERNET"/>
30    <uses-permission
31        android:name="android.permission.VIBRATE"/>
32    <uses-permission
33        android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
34    <uses-permission
35        android:name="android.permission.GET_ACCOUNTS" />
36    <uses-permission
37        android:name="android.permission.MANAGE_ACCOUNTS" />
38    <uses-permission
39        android:name="android.permission.AUTHENTICATE_ACCOUNTS" />
40    <uses-permission
41        android:name="android.permission.READ_SYNC_SETTINGS" />
42    <uses-permission
43        android:name="android.permission.WRITE_SYNC_SETTINGS" />
44
45    <uses-permission
46        android:name="android.permission.READ_CONTACTS"/>
47    <uses-permission
48        android:name="android.permission.WRITE_CONTACTS"/>
49    <uses-permission
50        android:name="android.permission.READ_CALENDAR"/>
51    <uses-permission
52        android:name="android.permission.WRITE_CALENDAR"/>
53    <uses-permission
54        android:name="android.permission.USE_CREDENTIALS"/>
55
56    <!-- Only required if a store implements push mail and needs to keep network open -->
57    <uses-permission
58        android:name="android.permission.WAKE_LOCK"/>
59    <uses-permission
60        android:name="android.permission.READ_PHONE_STATE"/>
61
62    <uses-permission
63        android:name="com.android.email.permission.READ_ATTACHMENT"/>
64    <uses-permission
65        android:name="com.android.email.permission.ACCESS_PROVIDER"/>
66
67    <application
68        android:icon="@mipmap/icon"
69        android:label="@string/app_name"
70        android:name="Exchange"
71        android:theme="@android:style/Theme.Holo.Light"
72        >
73
74        <receiver
75            android:name="com.android.exchange.EmailSyncAlarmReceiver"/>
76        <receiver
77            android:name="com.android.exchange.MailboxAlarmReceiver"/>
78
79        <receiver
80            android:name=".service.ExchangeBroadcastReceiver"
81            android:enabled="true">
82            <intent-filter>
83                <action
84                    android:name="android.intent.action.BOOT_COMPLETED" />
85                <action
86                    android:name="android.intent.action.DEVICE_STORAGE_LOW" />
87                <action
88                    android:name="android.intent.action.DEVICE_STORAGE_OK" />
89                <action
90                    android:name="android.accounts.LOGIN_ACCOUNTS_CHANGED" />
91            </intent-filter>
92        </receiver>
93
94        <service
95            android:name=".service.ExchangeBroadcastProcessorService" />
96
97        <!--Required stanza to register the EAS EmailSyncAdapterService with SyncManager -->
98        <service
99            android:name="com.android.exchange.EmailSyncAdapterService"
100            android:exported="true">
101            <intent-filter>
102                <action
103                    android:name="android.content.SyncAdapter" />
104            </intent-filter>
105            <meta-data android:name="android.content.SyncAdapter"
106                       android:resource="@xml/syncadapter_email" />
107        </service>
108
109        <!--Required stanza to register the EAS ContactsSyncAdapterService with SyncManager -->
110        <service
111            android:name="com.android.exchange.ContactsSyncAdapterService"
112            android:exported="true">
113            <intent-filter>
114                <action
115                    android:name="android.content.SyncAdapter" />
116            </intent-filter>
117            <meta-data android:name="android.content.SyncAdapter"
118                       android:resource="@xml/syncadapter_contacts" />
119        </service>
120
121        <!--Required stanza to register the EAS CalendarSyncAdapterService with SyncManager -->
122        <service
123            android:name="com.android.exchange.CalendarSyncAdapterService"
124            android:exported="true">
125            <intent-filter>
126                <action
127                    android:name="android.content.SyncAdapter" />
128            </intent-filter>
129            <meta-data android:name="android.content.SyncAdapter"
130                       android:resource="@xml/syncadapter_calendar" />
131        </service>
132
133        <!-- Add android:process=":remote" below to enable ExchangeService as a separate process -->
134        <service
135            android:name="com.android.exchange.ExchangeService"
136            android:enabled="true"
137            android:permission="com.android.email.permission.ACCESS_PROVIDER"
138            >
139            <intent-filter>
140                <action
141                    android:name="com.android.email.EXCHANGE_INTENT" />
142            </intent-filter>
143        </service>
144
145        <provider
146            android:name="com.android.exchange.provider.ExchangeDirectoryProvider"
147            android:authorities="com.android.exchange.directory.provider"
148            android:readPermission="android.permission.READ_CONTACTS"
149            android:multiprocess="false"
150            >
151          <meta-data
152              android:name="android.content.ContactDirectory"
153              android:value="true"/>
154        </provider>
155
156        <activity android:name=".EasCertificateRequestor">
157            <intent-filter>
158                <action android:name="com.android.emailcommon.REQUEST_CERT" />
159                <data android:scheme="eas" android:path="/certrequest" />
160                <category android:name="android.intent.category.DEFAULT" />
161            </intent-filter>
162        </activity>
163        <activity android:name=".SettingsRedirector">
164            <intent-filter>
165                <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
166                <category android:name="android.intent.category.DEFAULT" />
167            </intent-filter>
168        </activity>
169    </application>
170</manifest>
171