summaryrefslogtreecommitdiff
path: root/AndroidManifest.xml
blob: 8e0a831d5c7d3d2a913089f0f5bde9767d962f55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2012 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.mail"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <!-- Allows mail to access the user's contacts, for email address auto-completion -->
    <uses-permission android:name="android.permission.READ_CONTACTS"/>
    <!-- Allows access to EmailProvider (EAS/IMAP/POP3) -->
    <uses-permission android:name="com.android.email.permission.ACCESS_PROVIDER"/>
    <application
        android:icon="@mipmap/ic_launcher_mail"
        android:label="@string/app_name"
        android:theme="@android:style/Theme.Holo.Light" >
        <activity
            android:label="@string/app_name"
            android:name=".UnifiedEmail" >
            <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity android:name=".compose.ComposeActivity" />
        <activity android:name=".browse.ConversationListActivity" />
        <activity android:name=".browse.ConversationViewActivity" />
        <activity android:name=".browse.FolderItem" />
        <activity
           android:name=".browse.ActionbarActivity"
           android:uiOptions="splitActionBarWhenNarrow" />

        <provider
            android:authorities="com.android.mail.mockprovider"
            android:label="@string/mock_content_provider"
            android:multiprocess="false"
            android:name=".providers.protos.mock.MockUiProvider" >
            <grant-uri-permission android:pathPattern=".*" />
        </provider>

        <provider
            android:authorities="com.android.mail.accountcache"
            android:label="@string/account_cache_provider"
            android:multiprocess="false"
            android:name=".providers.AccountCacheProvider" >
            <grant-uri-permission android:pathPattern=".*" />
        </provider>

        <provider
            android:authorities="com.android.mail.dummygmailprovider"
            android:label="@string/dummy_gmail_provider"
            android:multiprocess="false"
            android:name=".providers.protos.gmail.DummyGmailProvider" >
            <grant-uri-permission android:pathPattern=".*" />
        </provider>

        <receiver android:name=".providers.protos.boot.AccountReceiver">
          <intent-filter>
              <action android:name="com.android.mail.providers.protos.boot.intent.ACTION_PROVIDER_CREATED" />
          </intent-filter>
        </receiver>

        <service android:name=".providers.protos.boot.GmailAccountService"/>
        <service android:name=".providers.protos.boot.EmailAccountService"/>
        <service android:name=".compose.EmptyService"/>
    </application>

</manifest>