diff options
author | Chris Manton <cmanton@google.com> | 2015-06-24 16:47:49 -0700 |
---|---|---|
committer | Chris Manton <cmanton@google.com> | 2015-06-25 10:08:45 -0700 |
commit | 63f25b6e3f8b3973efeb2151f7dd71c94dc1f461 (patch) | |
tree | fea70be34001397518a4db7cc11ced713e9619c4 /telephony | |
parent | 9440a6e6bed93e2816647b6834d543fd57181a86 (diff) | |
download | frameworks_base-63f25b6e3f8b3973efeb2151f7dd71c94dc1f461.zip frameworks_base-63f25b6e3f8b3973efeb2151f7dd71c94dc1f461.tar.gz frameworks_base-63f25b6e3f8b3973efeb2151f7dd71c94dc1f461.tar.bz2 |
Carrier Config API KEY_FORCE_HOME_NETWORK_BOOL
Bug: 20828356
Change-Id: I30a286e7af884a11c51363916dd6a4dc965d399a
Diffstat (limited to 'telephony')
-rw-r--r-- | telephony/java/android/telephony/CarrierConfigManager.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/telephony/java/android/telephony/CarrierConfigManager.java b/telephony/java/android/telephony/CarrierConfigManager.java index 06e6a62..e861668 100644 --- a/telephony/java/android/telephony/CarrierConfigManager.java +++ b/telephony/java/android/telephony/CarrierConfigManager.java @@ -211,6 +211,19 @@ public class CarrierConfigManager { KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY = "cdma_nonroaming_networks_string_array"; /** + * Override the platform's notion of a network operator being considered non roaming. + * If true all networks are considered as home network a.k.a non-roaming. When false, + * the 2 pairs of CMDA and GSM roaming/non-roaming arrays are consulted. + * + * @see KEY_GSM_ROAMING_NETWORKS_STRING_ARRAY + * @see KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY + * @see KEY_CDMA_ROAMING_NETWORKS_STRING_ARRAY + * @see KEY_CDMA_NONROAMING_NETWORKS_STRING_ARRAY + */ + public static final String + KEY_FORCE_HOME_NETWORK_BOOL = "force_home_network_bool"; + + /** * Flag specifying whether VoLTE should be available for carrier, independent of carrier * provisioning. If false: hard disabled. If true: then depends on carrier provisioning, * availability, etc. @@ -407,6 +420,7 @@ public class CarrierConfigManager { sDefaults.putStringArray(KEY_GSM_NONROAMING_NETWORKS_STRING_ARRAY, null); 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); // MMS defaults sDefaults.putBoolean(KEY_MMS_ALIAS_ENABLED_BOOL, false); |