Merge "Add a carrier config for WFC's carrier name override by ef_pnn" am: 44d15f6905

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1347352

Change-Id: I54ad14a9e74fb3cbc1a1ee7551b11d01231d7d63
This commit is contained in:
Treehugger Robot
2020-06-23 17:54:16 +00:00
committed by Automerger Merge Worker

View File

@@ -1404,6 +1404,14 @@ public class CarrierConfigManager {
*/
public static final String KEY_CARRIER_NAME_STRING = "carrier_name_string";
/**
* To override wifi calling's carrier name string using ef_pnn from sim card when SPN in empty.
*
* @hide
*/
public static final String KEY_WFC_CARRIER_NAME_OVERRIDE_BY_PNN_BOOL =
"wfc_carrier_name_override_by_pnn_bool";
/**
* Override the SPN Display Condition 2 integer bits (lsb). B2, B1 is the last two bits of the
* spn display condition coding.
@@ -3960,6 +3968,7 @@ public class CarrierConfigManager {
sDefaults.putBoolean(KEY_CONFIG_WIFI_DISABLE_IN_ECBM, false);
sDefaults.putBoolean(KEY_CARRIER_NAME_OVERRIDE_BOOL, false);
sDefaults.putString(KEY_CARRIER_NAME_STRING, "");
sDefaults.putBoolean(KEY_WFC_CARRIER_NAME_OVERRIDE_BY_PNN_BOOL, false);
sDefaults.putInt(KEY_SPN_DISPLAY_CONDITION_OVERRIDE_INT, -1);
sDefaults.putStringArray(KEY_SPDI_OVERRIDE_STRING_ARRAY, null);
sDefaults.putStringArray(KEY_PNN_OVERRIDE_STRING_ARRAY, null);