blob: 6967f884b89aa1a485ccb033dab49bc63985aad4 (
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
|
<!--
~ Copyright (C) 2016 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.incallui"
xmlns:tools="http://schemas.android.com/tools">
<uses-sdk
android:minSdkVersion="23"
android:targetSdkVersion="26"/>
<uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
<!-- We use this to disable the status bar buttons of home, back and recent
during an incoming call. By doing so this allows us to not show the user
is viewing the activity in full screen alert, on a fresh system/factory
reset state of the app. -->
<uses-permission android:name="android.permission.STATUS_BAR"/>
<uses-permission android:name="android.permission.CAMERA"/>
<!-- Warning: setting the required boolean to true would prevent installation of Dialer on
devices which do not support a camera. -->
<uses-feature
android:name="android.hardware.camera.any"
android:required="false"/>
<!-- Testing location -->
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<!-- Broadcasting in-call UI changes -->
<uses-permission android:name="com.motorola.incallui.permission.INCOMING_CALL_VISIBILITY_CHANGED" />
<!-- System permission to restrict access to Intent INCOMING_CALL_VISIBILITY_CHANGED. -->
<permission android:name="com.motorola.incallui.permission.INCOMING_CALL_VISIBILITY_CHANGED"
android:protectionLevel="signatureOrSystem"
tools:ignore="SignatureOrSystemPermissions"/>
<!-- Set android:taskAffinity="com.android.incallui" for all activities to ensure proper
navigation. Otherwise system could bring up DialtactsActivity instead, e.g. when user unmerge a
call.
Set taskAffinity for application is not working because it will be merged and the result is
that all activities here still have same taskAffinity as activities under dialer. -->
<application>
<meta-data
android:name="android.telephony.hide_voicemail_settings_menu"
android:value="true"/>
<activity
android:directBootAware="true"
android:excludeFromRecents="true"
android:exported="false"
android:label="@string/phoneAppLabel"
android:launchMode="singleInstance"
android:name="com.android.incallui.InCallActivity"
android:resizeableActivity="true"
android:screenOrientation="nosensor"
android:taskAffinity="com.android.incallui"
android:theme="@style/Theme.InCallScreen">
</activity>
<activity
android:directBootAware="true"
android:excludeFromRecents="true"
android:exported="false"
android:label="@string/manageConferenceLabel"
android:launchMode="singleTask"
android:name="com.android.incallui.ManageConferenceActivity"
android:noHistory="true"
android:resizeableActivity="true"
android:taskAffinity="com.android.incallui"
android:theme="@style/Theme.InCallScreen.ManageConference"/>
<service
android:directBootAware="true"
android:exported="true"
android:name="com.android.incallui.InCallServiceImpl"
android:permission="android.permission.BIND_INCALL_SERVICE">
<meta-data
android:name="android.telecom.IN_CALL_SERVICE_UI"
android:value="true"/>
<meta-data
android:name="android.telecom.IN_CALL_SERVICE_RINGING"
android:value="false"/>
<meta-data
android:name="android.telecom.INCLUDE_EXTERNAL_CALLS"
android:value="true"/>
<intent-filter>
<action android:name="android.telecom.InCallService"/>
</intent-filter>
</service>
<activity
android:excludeFromRecents="true"
android:exported="false"
android:name=".AudioRouteSelectorActivity"
android:noHistory="true"
android:theme="@style/Theme.Incall.DialogHolder"
/>
<!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
<receiver
android:directBootAware="true"
android:exported="false"
android:name="com.android.incallui.NotificationBroadcastReceiver"/>
<receiver
android:exported="false"
android:name=".ReturnToCallActionReceiver"/>
</application>
</manifest>
|