From bd3f2a7eb01b88d8e26deea4e4ef3e5ce423955c Mon Sep 17 00:00:00 2001 From: Jordan Liu Date: Wed, 7 Sep 2016 12:01:24 -0700 Subject: Add cdma_3waycall_flash_delay key to CarrierConfig Add KEY_CDMA_3WAYCALL_FLASH_DELAY_INT and default value to CarrierConfigManager, and remove the references to the old config in core/res/res/values/[config.xml/symbols.xml] Merged-In: I53dc93defbfa7d1366e6ee066638d73df03f88d0 Bug: 29873049 Change-Id: I53dc93defbfa7d1366e6ee066638d73df03f88d0 --- core/res/res/values/config.xml | 15 +++++++++++++++ core/res/res/values/symbols.xml | 1 + .../java/android/telephony/CarrierConfigManager.java | 10 ++++++++++ 3 files changed, 26 insertions(+) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index 05d9a28333b7..f90969561011 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -2212,6 +2212,21 @@ 0 + + + false diff --git a/core/res/res/values/symbols.xml b/core/res/res/values/symbols.xml index 5018e2fb63c0..9a394373059a 100644 --- a/core/res/res/values/symbols.xml +++ b/core/res/res/values/symbols.xml @@ -2237,6 +2237,7 @@ + diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index ff7ca6201b55..3b6b696019d7 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -700,6 +700,15 @@ public class CarrierConfigManager { public static final String KEY_DURATION_BLOCKING_DISABLED_AFTER_EMERGENCY_INT = "duration_blocking_disabled_after_emergency_int"; + /** + * For carriers which require an empty flash to be sent before sending the normal 3-way calling + * flash, the duration in milliseconds of the empty flash to send. When {@code 0}, no empty + * flash is sent. + * @hide + */ + public static final String KEY_CDMA_3WAYCALL_FLASH_DELAY_INT = "cdma_3waycall_flash_delay_int"; + + /** * @hide * The default value for preferred CDMA roaming mode (aka CDMA system select.) @@ -807,6 +816,7 @@ public class CarrierConfigManager { sDefaults.putInt(KEY_GSM_DTMF_TONE_DELAY_INT, 0); sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0); sDefaults.putInt(KEY_CDMA_DTMF_TONE_DELAY_INT, 100); + sDefaults.putInt(KEY_CDMA_3WAYCALL_FLASH_DELAY_INT , 0); sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true); sDefaults.putBoolean(KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true); sDefaults.putBoolean(KEY_HIDE_IMS_APN_BOOL, false); -- cgit v1.2.3-59-g8ed1b