summaryrefslogtreecommitdiffstats
path: root/telephony/java
diff options
context:
space:
mode:
authorSungmin Choi <sungmin.choi@lge.com>2015-08-31 15:32:20 -0700
committerVineeta Srivastava <vsrivastava@google.com>2015-09-08 17:24:39 -0700
commite9d3c11ccd3b47d8da93f135c500b2bed30728e9 (patch)
tree3feb35e0d17632824e656bdccdd229d73b5162a5 /telephony/java
parent3bed3bf498eadcaa760608a415c66e017d2eb690 (diff)
downloadframeworks_base-e9d3c11ccd3b47d8da93f135c500b2bed30728e9.zip
frameworks_base-e9d3c11ccd3b47d8da93f135c500b2bed30728e9.tar.gz
frameworks_base-e9d3c11ccd3b47d8da93f135c500b2bed30728e9.tar.bz2
Add carrier config variable to hide ims apn
Bug: 23770219 Change-Id: I691d2594384196852d7128a9b4969ba9a861205c
Diffstat (limited to 'telephony/java')
-rw-r--r--telephony/java/android/telephony/CarrierConfigManager.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java
index df8affe..5ed41c6 100644
--- a/telephony/java/android/telephony/CarrierConfigManager.java
+++ b/telephony/java/android/telephony/CarrierConfigManager.java
@@ -363,6 +363,12 @@ public class CarrierConfigManager {
public static final String KEY_EDITABLE_ENHANCED_4G_LTE_BOOL = "editable_enhanced_4g_lte_bool";
/**
+ * Determine whether IMS apn can be shown.
+ * @hide
+ */
+ public static final String KEY_HIDE_IMS_APN_BOOL = "hide_ims_apn_bool";
+
+ /**
* If this is true, the SIM card (through Customer Service Profile EF file) will be able to
* prevent manual operator selection. If false, this SIM setting will be ignored and manual
* operator selection will always be available. See CPHS4_2.WW6, CPHS B.4.7.1 for more
@@ -472,6 +478,7 @@ public class CarrierConfigManager {
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);
+ sDefaults.putBoolean(KEY_HIDE_IMS_APN_BOOL, false);
// MMS defaults
sDefaults.putBoolean(KEY_MMS_ALIAS_ENABLED_BOOL, false);