Add carrier config to use 3GPP application on CDMA/CDMA-LTE phone.

Bug: 124524824
Test: atest GsmCdmaPhoneTest
Change-Id: I2c7feea798df2d9bbfae4ee0847ef151b0d21511
This commit is contained in:
mavishsu
2019-03-06 13:12:23 +08:00
committed by Mavis Hsu
parent 62727a76d1
commit 0011121317

View File

@@ -2618,6 +2618,13 @@ public class CarrierConfigManager {
public static final String KEY_CDMA_ENHANCED_ROAMING_INDICATOR_FOR_HOME_NETWORK_INT_ARRAY =
"cdma_enhanced_roaming_indicator_for_home_network_int_array";
/**
* Indicates use 3GPP application to replace 3GPP2 application even if it's a CDMA/CDMA-LTE
* phone, becasue some carriers's CSIM application is present but not supported.
* @hide
*/
public static final String KEY_USE_USIM_BOOL = "use_usim_bool";
/** The default value for every variable. */
private final static PersistableBundle sDefaults;
@@ -3001,6 +3008,7 @@ public class CarrierConfigManager {
1 /* Roaming Indicator Off */
});
sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]);
sDefaults.putBoolean(KEY_USE_USIM_BOOL, false);
}
/**