blob: af997005648e0a664ec560c08a976aa7943f1883 [file] [log] [blame]
Eric Erfanianccca3152017-02-22 16:32:36 -08001<!--
2 ~ Copyright (C) 2016 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 xmlns:android="http://schemas.android.com/apk/res/android"
Eric Erfanian91ce7d22017-06-05 13:35:02 -070018 package="com.android.incallui">
Eric Erfanianccca3152017-02-22 16:32:36 -080019
20 <uses-sdk
Eric Erfanian91ce7d22017-06-05 13:35:02 -070021 android:minSdkVersion="23"
linyuhf34f7b92017-12-18 13:02:34 -080022 android:targetSdkVersion="27"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080023
24 <uses-permission android:name="android.permission.CONTROL_INCALL_EXPERIENCE"/>
25 <!-- We use this to disable the status bar buttons of home, back and recent
26 during an incoming call. By doing so this allows us to not show the user
27 is viewing the activity in full screen alert, on a fresh system/factory
28 reset state of the app. -->
29 <uses-permission android:name="android.permission.STATUS_BAR"/>
30 <uses-permission android:name="android.permission.CAMERA"/>
31 <!-- Warning: setting the required boolean to true would prevent installation of Dialer on
32 devices which do not support a camera. -->
33 <uses-feature
Eric Erfanian91ce7d22017-06-05 13:35:02 -070034 android:name="android.hardware.camera.any"
35 android:required="false"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080036
37 <!-- Testing location -->
38 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
39
Eric Erfanianccca3152017-02-22 16:32:36 -080040 <!-- Set android:taskAffinity="com.android.incallui" for all activities to ensure proper
41 navigation. Otherwise system could bring up DialtactsActivity instead, e.g. when user unmerge a
42 call.
43 Set taskAffinity for application is not working because it will be merged and the result is
44 that all activities here still have same taskAffinity as activities under dialer. -->
45 <application>
Eric Erfanian91ce7d22017-06-05 13:35:02 -070046 <meta-data
47 android:name="android.telephony.hide_voicemail_settings_menu"
48 android:value="true"/>
49
Eric Erfanianccca3152017-02-22 16:32:36 -080050 <activity
Eric Erfanian91ce7d22017-06-05 13:35:02 -070051 android:directBootAware="true"
52 android:excludeFromRecents="true"
53 android:exported="false"
54 android:label="@string/phoneAppLabel"
55 android:launchMode="singleInstance"
56 android:name="com.android.incallui.InCallActivity"
57 android:resizeableActivity="true"
58 android:screenOrientation="nosensor"
59 android:taskAffinity="com.android.incallui"
60 android:theme="@style/Theme.InCallScreen">
Eric Erfanianccca3152017-02-22 16:32:36 -080061 </activity>
62
63 <activity
Eric Erfanian91ce7d22017-06-05 13:35:02 -070064 android:directBootAware="true"
65 android:excludeFromRecents="true"
66 android:exported="false"
67 android:label="@string/manageConferenceLabel"
68 android:launchMode="singleTask"
69 android:name="com.android.incallui.ManageConferenceActivity"
70 android:noHistory="true"
71 android:resizeableActivity="true"
72 android:taskAffinity="com.android.incallui"
73 android:theme="@style/Theme.InCallScreen.ManageConference"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080074
75 <service
Eric Erfanian91ce7d22017-06-05 13:35:02 -070076 android:directBootAware="true"
77 android:exported="true"
78 android:name="com.android.incallui.InCallServiceImpl"
79 android:permission="android.permission.BIND_INCALL_SERVICE">
Eric Erfanianccca3152017-02-22 16:32:36 -080080 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070081 android:name="android.telecom.IN_CALL_SERVICE_UI"
82 android:value="true"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080083 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070084 android:name="android.telecom.IN_CALL_SERVICE_RINGING"
85 android:value="false"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080086 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070087 android:name="android.telecom.INCLUDE_EXTERNAL_CALLS"
88 android:value="true"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080089
90 <intent-filter>
91 <action android:name="android.telecom.InCallService"/>
92 </intent-filter>
93 </service>
94
Eric Erfanian91ce7d22017-06-05 13:35:02 -070095 <activity
96 android:excludeFromRecents="true"
97 android:exported="false"
98 android:name=".AudioRouteSelectorActivity"
99 android:noHistory="true"
100 android:theme="@style/Theme.Incall.DialogHolder"
101 />
102
Eric Erfanianccca3152017-02-22 16:32:36 -0800103 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
104 <receiver
Eric Erfanian91ce7d22017-06-05 13:35:02 -0700105 android:directBootAware="true"
106 android:exported="false"
107 android:name="com.android.incallui.NotificationBroadcastReceiver"/>
108
109 <receiver
110 android:exported="false"
111 android:name=".ReturnToCallActionReceiver"/>
Eric Erfanianccca3152017-02-22 16:32:36 -0800112
113 </application>
114
115</manifest>
116