Add CarrierConfig to remove hold during Ims Calls
Adds a Carrier Config key to specify whether an IMS call supports holding. If not, the CAPABILITY_HOLD and CAPABILITY_SUPPORT_HOLD are not added to the Connection. Bug: 30195356 Change-Id: I9b16b385a2b90118453d484be5af4f173b199ab1
This commit is contained in:
@@ -836,6 +836,12 @@ public class CarrierConfigManager {
|
|||||||
public static final String KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL =
|
public static final String KEY_ALLOW_MERGE_WIFI_CALLS_WHEN_VOWIFI_OFF_BOOL =
|
||||||
"allow_merge_wifi_calls_when_vowifi_off_bool";
|
"allow_merge_wifi_calls_when_vowifi_off_bool";
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Flag indicating whether the carrier supports the Hold command while in an IMS call.
|
||||||
|
* @hide
|
||||||
|
*/
|
||||||
|
public static final String KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL = "allow_hold_in_ims_call";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* When true, indicates that adding a call is disabled when there is an ongoing video call
|
* When true, indicates that adding a call is disabled when there is an ongoing video call
|
||||||
* or when there is an ongoing call on wifi which was downgraded from video and VoWifi is
|
* or when there is an ongoing call on wifi which was downgraded from video and VoWifi is
|
||||||
@@ -868,6 +874,7 @@ public class CarrierConfigManager {
|
|||||||
|
|
||||||
static {
|
static {
|
||||||
sDefaults = new PersistableBundle();
|
sDefaults = new PersistableBundle();
|
||||||
|
sDefaults.putBoolean(KEY_ALLOW_HOLD_IN_IMS_CALL_BOOL, true);
|
||||||
sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true);
|
sDefaults.putBoolean(KEY_ADDITIONAL_CALL_SETTING_BOOL, true);
|
||||||
sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false);
|
sDefaults.putBoolean(KEY_ALLOW_EMERGENCY_NUMBERS_IN_CALL_LOG_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true);
|
sDefaults.putBoolean(KEY_ALLOW_LOCAL_DTMF_TONES_BOOL, true);
|
||||||
|
|||||||
Reference in New Issue
Block a user