summaryrefslogtreecommitdiffstats
path: root/telephony
diff options
context:
space:
mode:
authorRoshan Pius <rpius@google.com>2015-09-10 10:28:06 -0700
committerRoshan Pius <rpius@google.com>2015-09-10 10:31:31 -0700
commitdc364fe1e846e7f10b8df1d5183d0e7d3bb5d091 (patch)
tree36616bdde483195aa2c6fc99e47df0cb99295f3a /telephony
parent3bed3bf498eadcaa760608a415c66e017d2eb690 (diff)
downloadframeworks_base-dc364fe1e846e7f10b8df1d5183d0e7d3bb5d091.zip
frameworks_base-dc364fe1e846e7f10b8df1d5183d0e7d3bb5d091.tar.gz
frameworks_base-dc364fe1e846e7f10b8df1d5183d0e7d3bb5d091.tar.bz2
Add a new carrier config for DTMF tone gap.
Adding a new carrier config key to specify the gap between the DTMF tones sent out to the network. This is the same fix as ag/747865 ported for GSM connections. BUG: 23064351 Change-Id: I4163323378e380ac187493fa91694721269124b9
Diffstat (limited to 'telephony')
-rw-r--r--telephony/java/android/telephony/CarrierConfigManager.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java
index df8affe..bd89792 100644
--- a/telephony/java/android/telephony/CarrierConfigManager.java
+++ b/telephony/java/android/telephony/CarrierConfigManager.java
@@ -347,6 +347,14 @@ public class CarrierConfigManager {
* successive DTMF tones on the network.
* @hide
*/
+ public static final String KEY_GSM_DTMF_TONE_DELAY_INT = "gsm_dtmf_tone_delay_int";
+
+ /**
+ * Specifies the amount of gap to be added in millis between DTMF tones. When a non-zero value
+ * is specified, the UE shall wait for the specified amount of time before it sends out
+ * successive DTMF tones on the network.
+ * @hide
+ */
public static final String KEY_IMS_DTMF_TONE_DELAY_INT = "ims_dtmf_tone_delay_int";
/**
@@ -469,6 +477,7 @@ public class CarrierConfigManager {
sDefaults.putStringArray(KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY, null);
sDefaults.putStringArray(KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY, null);
sDefaults.putBoolean(KEY_FORCE_HOME_NETWORK_BOOL, false);
+ sDefaults.putInt(KEY_GSM_DTMF_TONE_DELAY_INT, 0);
sDefaults.putInt(KEY_IMS_DTMF_TONE_DELAY_INT, 0);
sDefaults.putBoolean(KEY_SUPPORT_CONFERENCE_CALL_BOOL, true);
sDefaults.putBoolean(KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true);