diff options
author | Sungmin Choi <sungmin.choi@lge.com> | 2015-09-08 15:34:23 -0700 |
---|---|---|
committer | Amit Mahajan <amitmahajan@google.com> | 2015-09-09 17:42:32 -0700 |
commit | c03a1da5a5a55ecbbe5c894e2debb053d6047aee (patch) | |
tree | 01def7194f902457ad1ab9972d58732da2da799f /telephony/java/android | |
parent | 5d0e02b64e5b860e989268d1e7fd882e5fd47919 (diff) | |
download | frameworks_base-c03a1da5a5a55ecbbe5c894e2debb053d6047aee.zip frameworks_base-c03a1da5a5a55ecbbe5c894e2debb053d6047aee.tar.gz frameworks_base-c03a1da5a5a55ecbbe5c894e2debb053d6047aee.tar.bz2 |
Add carrier config variable to hide preferred network type
Bug: 23862319
Change-Id: I99403f358f0b53f366083edafc3762f5679b0b45
Diffstat (limited to 'telephony/java/android')
-rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 135a97a..4a04cf1 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -379,6 +379,12 @@ public class CarrierConfigManager { public static final String KEY_HIDE_IMS_APN_BOOL = "hide_ims_apn_bool"; /** + * Determine whether preferred network type can be shown. + * @hide + */ + public static final String KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL = "hide_preferred_network_type_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 @@ -490,6 +496,7 @@ public class CarrierConfigManager { 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); + sDefaults.putBoolean(KEY_HIDE_PREFERRED_NETWORK_TYPE_BOOL, false); // MMS defaults sDefaults.putBoolean(KEY_MMS_ALIAS_ENABLED_BOOL, false); |