summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Ravi Paluri <quic_rpaluri@quicinc.com> 2019-12-10 16:53:14 +0530
committer Ravi Paluri <quic_rpaluri@quicinc.com> 2019-12-10 16:55:11 +0530
commit0fe5541d282d25e307d73f0bfcd1fe0ba1e3ada7 (patch)
tree0f96e7b8526ef71e12cb82b5534bb8b9dd07340e
parent1d379ac06576bfe94fa7c2bcfb192ad8fee2f677 (diff)
IMS-VT: Add config to control holding a video call
Add <allow_holding_video_call> config that controls whether video call can be put on hold. The config holds true if carrier supporting holding video calls else holds false. Test: Manual Bug: 67031055 Change-Id: I2829ae21355e1728ad1520bd4a952703ea832a7f
-rw-r--r--api/current.txt1
-rw-r--r--telephony/java/android/telephony/CarrierConfigManager.java7
2 files changed, 8 insertions, 0 deletions
diff --git a/api/current.txt b/api/current.txt
index c71855cab92b..65dc847c8cf9 100644
--- a/api/current.txt
+++ b/api/current.txt
@@ -44080,6 +44080,7 @@ package android.telephony {
field public static final String KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL = "allow_add_call_during_video_call";
field public static final String KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL = "allow_emergency_numbers_in_call_log_bool";
field public static final String KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL = "allow_emergency_video_calls_bool";
+ field public static final String KEY_ALLOW_HOLDING_VIDEO_CALL_BOOL = "allow_holding_video_call";
field public static final String KEY_ALLOW_HOLD_CALL_DURING_EMERGENCY_BOOL = "allow_hold_call_during_emergency_bool";
field public static final String KEY_ALLOW_LOCAL_DTMF_TONES_BOOL = "allow_local_dtmf_tones_bool";
field public static final String KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL = "allow_merge_wifi_calls_when_vowifi_off_bool";
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java
index 92c6e938d727..1456f8221ee9 100644
--- a/telephony/java/android/telephony/CarrierConfigManager.java
+++ b/telephony/java/android/telephony/CarrierConfigManager.java
@@ -1946,6 +1946,12 @@ public class CarrierConfigManager {
"allow_add_call_during_video_call";
/**
+ * When false, indicates that holding a video call is disabled
+ */
+ public static final String KEY_ALLOW_HOLDING_VIDEO_CALL_BOOL =
+ "allow_holding_video_call";
+
+ /**
* When true, indicates that the HD audio icon in the in-call screen should not be shown for
* VoWifi calls.
* @hide
@@ -3616,6 +3622,7 @@ public class CarrierConfigManager {
sDefaults.putBoolean(KEY_DROP_VIDEO_CALL_WHEN_ANSWERING_AUDIO_CALL_BOOL, false);
sDefaults.putBoolean(KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL, true);
sDefaults.putBoolean(KEY_ALLOW_ADD_CALL_DURING_VIDEO_CALL_BOOL, true);
+ sDefaults.putBoolean(KEY_ALLOW_HOLDING_VIDEO_CALL_BOOL, true);
sDefaults.putBoolean(KEY_WIFI_CALLS_CAN_BE_HD_AUDIO, true);
sDefaults.putBoolean(KEY_VIDEO_CALLS_CAN_BE_HD_AUDIO, true);
sDefaults.putBoolean(KEY_GSM_CDMA_CALLS_CAN_BE_HD_AUDIO, false);