summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSonalika Paul <quic_psonalik@quicinc.com>2020-08-25 15:11:02 +0530
committerSonalika Paul <quic_psonalik@quicinc.com>2021-01-15 18:13:10 +0530
commitefa0fa985d6ee60ef00b3e14bca8c2a95ef8dc57 (patch)
tree1ca298b2f8ddbeb77672e48237ef139b07accce8
parent29823649690f0df88b0b88b3ecfb9b295ef6b2b5 (diff)
IMS: Add new carrier config.
Add new carrier config to determine default RTT mode. Bug: 130010750 Change-Id: Id8de3749a336144ce053151a74c42a113b925369
-rw-r--r--telephony/java/android/telephony/CarrierConfigManager.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java
index 74b2aad5293e..e3eb0b582b1c 100644
--- a/telephony/java/android/telephony/CarrierConfigManager.java
+++ b/telephony/java/android/telephony/CarrierConfigManager.java
@@ -4077,6 +4077,18 @@ public class CarrierConfigManager {
"use_lower_mtu_value_if_both_received";
/**
+ * Determines the default RTT mode.
+ *
+ * Upon first boot, when the user has not yet set a value for their preferred RTT mode,
+ * the value of this config will be sent to the IMS stack. Valid values are the same as for
+ * {@link Settings.Secure#RTT_CALLING_MODE}.
+ *
+ * @hide
+ */
+ public static final String KEY_DEFAULT_RTT_MODE_INT =
+ "default_rtt_mode_int";
+
+ /**
* Indicates if auto-configuration server is used for the RCS config
* Reference: GSMA RCC.14
*/
@@ -4628,6 +4640,7 @@ public class CarrierConfigManager {
sDefaults.putString(KEY_CALL_COMPOSER_PICTURE_SERVER_URL_STRING, "");
sDefaults.putBoolean(KEY_USE_LOWER_MTU_VALUE_IF_BOTH_RECEIVED, false);
sDefaults.putBoolean(KEY_USE_ACS_FOR_RCS_BOOL, false);
+ sDefaults.putInt(KEY_DEFAULT_RTT_MODE_INT, 0);
}
/**