summaryrefslogtreecommitdiffstats
path: root/AndroidManifest_cm.xml
blob: 398d7b2086896575b1e85c7b95a069838d055f8e (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2006 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.dialer">

    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />

    <!-- Connect to AmbientCore to use InCall Plugins -->
    <uses-permission android:name="com.cyanogen.ambient.permission.BIND_INCALL_SERVICE" />
    <uses-permission android:name="com.cyanogen.ambient.permission.PLUGIN_STATUS_CHANGED" />
    <uses-permission android:name="com.cyanogen.ambient.permission.PUBLISH_DISCOVERY_NUDGE" />
    <!-- Connect to AmbientCore to use DeepLink Plugins -->
    <uses-permission android:name="com.cyanogen.ambient.permission.BIND_DEEPLINK_SERVICE" />
    <uses-permission android:name="com.cyanogen.ambient.permission.READ_DEEPLINK_DATABASE" />

    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS" />
    <uses-permission android:name="android.permission.READ_PRIVILEGED_PHONE_STATE" />
    <uses-permission android:name="android.permission.READ_PRECISE_PHONE_STATE" />
    <uses-permission android:name="com.cyanogen.ambient.permission.BIND_CALLER_INFO" />
    <uses-permission android:name="android.permission.INTERACT_ACROSS_USERS" />
    <uses-permission android:name="android.permission.MANAGE_USERS" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>

    <application>

        <meta-data android:name="com.cyanogen.ambient.analytics.key"
                   android:value="6l2dXt9DFioFa1Mfb4eZsM9l87Rl9hp1UL75tO9w"/>

        <receiver android:name=".incall.CallMethodStatusReceiver">
            <intent-filter>
                <action android:name="cyanogen.ambient.core.plugin.incall.action.plugin_status_changed"/>
            </intent-filter>
        </receiver>

        <receiver android:name=".discovery.DiscoverySignalReceiver">
            <intent-filter>
                <action android:name="android.intent.action.NEW_OUTGOING_CALL" />
                <action android:name="com.android.dialer.discovery.DiscoverySignalReceiver.ON_SHOW" />
                <action android:name="com.android.dialer.discovery.DiscoverySignalReceiver.ON_DISMISS" />
            </intent-filter>
        </receiver>

        <receiver
            android:name="com.android.dialer.SystemUpdateReceiver">
            <intent-filter>
                <action android:name="android.intent.action.PRE_BOOT_COMPLETED" />
            </intent-filter>
        </receiver>

        <receiver
            android:name="com.android.dialer.CallerInfoSettingsMigrationReceiver"
            android:enabled="false">
            <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED"/>
            </intent-filter>
        </receiver>

        <service
            android:name="com.android.dialer.CallerInfoSettingsMigrationReceiver$CallerInfoSettingsMigrationService"
            android:exported="false" />

        <service android:name=".discovery.DiscoveryService" />

        <activity-alias
            android:name=".settings.CallerInfoSettingsActivity"
            android:targetActivity=".settings.DialerSettingsActivity"
            android:exported="true" />

        <activity
            android:name="com.android.dialer.callerinfo.CallerInfoProviderPicker"
            android:theme="@style/Theme.Material.Light.Dialog.NoTitle"
            android:exported="true" />

        <activity
            android:name="com.android.contacts.common.activity.BlockContactActivity"
            android:launchMode="singleTask"
            android:taskAffinity=""
            android:excludeFromRecents="true"
            android:noHistory="true"
            android:theme="@style/Theme.Material.Light.Dialog.NoTitle" />

        <service android:name=".incall.InCallMetricsJob"
                 android:permission="android.permission.BIND_JOB_SERVICE" />

        <service android:name=".callerinfo.ProviderActivationService"
                 android:exported="false"/>

    </application>
</manifest>