Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 1 | <!-- |
| 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 Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 18 | package="com.android.incallui"> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 19 | |
| 20 | <uses-sdk |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 21 | android:minSdkVersion="23" |
linyuh | f34f7b9 | 2017-12-18 13:02:34 -0800 | [diff] [blame] | 22 | android:targetSdkVersion="27"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 23 | |
| 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"/> |
roldenburg | 571a2b4 | 2018-01-24 12:47:44 -0800 | [diff] [blame] | 31 | |
| 32 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE"/> |
| 33 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 34 | <!-- 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 Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 37 | android:name="android.hardware.camera.any" |
| 38 | android:required="false"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 39 | |
| 40 | <!-- Testing location --> |
| 41 | <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> |
| 42 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 43 | <!-- Set android:taskAffinity="com.android.incallui" for all activities to ensure proper |
| 44 | navigation. Otherwise system could bring up DialtactsActivity instead, e.g. when user unmerge a |
| 45 | call. |
| 46 | Set taskAffinity for application is not working because it will be merged and the result is |
| 47 | that all activities here still have same taskAffinity as activities under dialer. --> |
| 48 | <application> |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 49 | <meta-data |
| 50 | android:name="android.telephony.hide_voicemail_settings_menu" |
| 51 | android:value="true"/> |
| 52 | |
roldenburg | 043d671 | 2017-12-19 18:05:16 -0800 | [diff] [blame] | 53 | <!-- Go variants need hardware acceleration for IMS video calls even though it is disabled at |
| 54 | the application level --> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 55 | <activity |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 56 | android:directBootAware="true" |
| 57 | android:excludeFromRecents="true" |
| 58 | android:exported="false" |
roldenburg | 043d671 | 2017-12-19 18:05:16 -0800 | [diff] [blame] | 59 | android:hardwareAccelerated="true" |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 60 | android:label="@string/phoneAppLabel" |
| 61 | android:launchMode="singleInstance" |
| 62 | android:name="com.android.incallui.InCallActivity" |
| 63 | android:resizeableActivity="true" |
| 64 | android:screenOrientation="nosensor" |
| 65 | android:taskAffinity="com.android.incallui" |
wangqi | a4a4df9 | 2018-02-27 11:37:29 -0800 | [diff] [blame] | 66 | android:theme="@style/Theme.InCallScreen" |
| 67 | android:windowSoftInputMode="adjustResize"> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 68 | </activity> |
| 69 | |
| 70 | <activity |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 71 | android:directBootAware="true" |
| 72 | android:excludeFromRecents="true" |
| 73 | android:exported="false" |
| 74 | android:label="@string/manageConferenceLabel" |
| 75 | android:launchMode="singleTask" |
| 76 | android:name="com.android.incallui.ManageConferenceActivity" |
| 77 | android:noHistory="true" |
| 78 | android:resizeableActivity="true" |
| 79 | android:taskAffinity="com.android.incallui" |
| 80 | android:theme="@style/Theme.InCallScreen.ManageConference"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 81 | |
| 82 | <service |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 83 | android:directBootAware="true" |
| 84 | android:exported="true" |
| 85 | android:name="com.android.incallui.InCallServiceImpl" |
| 86 | android:permission="android.permission.BIND_INCALL_SERVICE"> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 87 | <meta-data |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 88 | android:name="android.telecom.IN_CALL_SERVICE_UI" |
| 89 | android:value="true"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 90 | <meta-data |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 91 | android:name="android.telecom.IN_CALL_SERVICE_RINGING" |
| 92 | android:value="false"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 93 | <meta-data |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 94 | android:name="android.telecom.INCLUDE_EXTERNAL_CALLS" |
| 95 | android:value="true"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 96 | |
| 97 | <intent-filter> |
| 98 | <action android:name="android.telecom.InCallService"/> |
| 99 | </intent-filter> |
| 100 | </service> |
| 101 | |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 102 | <activity |
| 103 | android:excludeFromRecents="true" |
| 104 | android:exported="false" |
| 105 | android:name=".AudioRouteSelectorActivity" |
| 106 | android:noHistory="true" |
| 107 | android:theme="@style/Theme.Incall.DialogHolder" |
| 108 | /> |
| 109 | |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 110 | <!-- BroadcastReceiver for receiving Intents from Notification mechanism. --> |
| 111 | <receiver |
Eric Erfanian | 91ce7d2 | 2017-06-05 13:35:02 -0700 | [diff] [blame] | 112 | android:directBootAware="true" |
| 113 | android:exported="false" |
| 114 | android:name="com.android.incallui.NotificationBroadcastReceiver"/> |
| 115 | |
| 116 | <receiver |
| 117 | android:exported="false" |
yueg | f539f78 | 2017-12-18 16:20:58 -0800 | [diff] [blame] | 118 | android:name=".NewReturnToCallActionReceiver"/> |
Eric Erfanian | ccca315 | 2017-02-22 16:32:36 -0800 | [diff] [blame] | 119 | |
| 120 | </application> |
| 121 | |
| 122 | </manifest> |
| 123 | |