blob: 7286b0db7f283036b9922a31ecdf80da57a0c0b4 [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
calderwoodra57fdc2b2018-03-22 01:06:19 -070021 android:minSdkVersion="24"
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"/>
roldenburg571a2b42018-01-24 12:47:44 -080031
32 <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
33
Eric Erfanianccca3152017-02-22 16:32:36 -080034 <!-- Warning: setting the required boolean to true would prevent installation of Dialer on
35 devices which do not support a camera. -->
36 <uses-feature
Eric Erfanian91ce7d22017-06-05 13:35:02 -070037 android:name="android.hardware.camera.any"
38 android:required="false"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080039
40 <!-- Testing location -->
41 <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
42
yuegef6d3792018-04-18 12:46:18 -070043 <!-- Set Bluetooth device -->
44 <uses-permission android:name="android.permission.BLUETOOTH_ADMIN"/>
45
Eric Erfanianccca3152017-02-22 16:32:36 -080046 <!-- Set android:taskAffinity="com.android.incallui" for all activities to ensure proper
47 navigation. Otherwise system could bring up DialtactsActivity instead, e.g. when user unmerge a
48 call.
49 Set taskAffinity for application is not working because it will be merged and the result is
50 that all activities here still have same taskAffinity as activities under dialer. -->
51 <application>
roldenburg043d6712017-12-19 18:05:16 -080052 <!-- Go variants need hardware acceleration for IMS video calls even though it is disabled at
53 the application level -->
Eric Erfanianccca3152017-02-22 16:32:36 -080054 <activity
Eric Erfanian91ce7d22017-06-05 13:35:02 -070055 android:directBootAware="true"
56 android:excludeFromRecents="true"
57 android:exported="false"
roldenburg043d6712017-12-19 18:05:16 -080058 android:hardwareAccelerated="true"
Eric Erfanian91ce7d22017-06-05 13:35:02 -070059 android:label="@string/phoneAppLabel"
60 android:launchMode="singleInstance"
61 android:name="com.android.incallui.InCallActivity"
62 android:resizeableActivity="true"
63 android:screenOrientation="nosensor"
64 android:taskAffinity="com.android.incallui"
wangqia4a4df92018-02-27 11:37:29 -080065 android:theme="@style/Theme.InCallScreen"
66 android:windowSoftInputMode="adjustResize">
Eric Erfanianccca3152017-02-22 16:32:36 -080067 </activity>
68
69 <activity
Eric Erfanian91ce7d22017-06-05 13:35:02 -070070 android:directBootAware="true"
71 android:excludeFromRecents="true"
72 android:exported="false"
73 android:label="@string/manageConferenceLabel"
74 android:launchMode="singleTask"
75 android:name="com.android.incallui.ManageConferenceActivity"
76 android:noHistory="true"
77 android:resizeableActivity="true"
78 android:taskAffinity="com.android.incallui"
79 android:theme="@style/Theme.InCallScreen.ManageConference"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080080
81 <service
Eric Erfanian91ce7d22017-06-05 13:35:02 -070082 android:directBootAware="true"
83 android:exported="true"
84 android:name="com.android.incallui.InCallServiceImpl"
85 android:permission="android.permission.BIND_INCALL_SERVICE">
Eric Erfanianccca3152017-02-22 16:32:36 -080086 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070087 android:name="android.telecom.IN_CALL_SERVICE_UI"
88 android:value="true"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080089 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070090 android:name="android.telecom.IN_CALL_SERVICE_RINGING"
91 android:value="false"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080092 <meta-data
Eric Erfanian91ce7d22017-06-05 13:35:02 -070093 android:name="android.telecom.INCLUDE_EXTERNAL_CALLS"
94 android:value="true"/>
Eric Erfanianccca3152017-02-22 16:32:36 -080095
96 <intent-filter>
97 <action android:name="android.telecom.InCallService"/>
98 </intent-filter>
99 </service>
100
Eric Erfanian91ce7d22017-06-05 13:35:02 -0700101 <activity
102 android:excludeFromRecents="true"
103 android:exported="false"
104 android:name=".AudioRouteSelectorActivity"
105 android:noHistory="true"
106 android:theme="@style/Theme.Incall.DialogHolder"
107 />
108
yuega489f512018-04-25 12:01:09 -0700109 <activity
110 android:excludeFromRecents="true"
111 android:exported="false"
112 android:name="com.android.incallui.PostCharDialogActivity"
113 android:noHistory="true"
114 android:theme="@style/Theme.Incall.DialogHolder"/>
115
Eric Erfanianccca3152017-02-22 16:32:36 -0800116 <!-- BroadcastReceiver for receiving Intents from Notification mechanism. -->
117 <receiver
Eric Erfanian91ce7d22017-06-05 13:35:02 -0700118 android:directBootAware="true"
119 android:exported="false"
120 android:name="com.android.incallui.NotificationBroadcastReceiver"/>
121
122 <receiver
123 android:exported="false"
yueg48f93f42018-03-09 16:49:38 -0800124 android:name=".ReturnToCallActionReceiver"/>
Eric Erfanianccca3152017-02-22 16:32:36 -0800125
126 </application>
127
128</manifest>
129