Add KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL for treating *67 and *82 as a temporary mode CLIR when dialing E911

Test: atest
Bug: 182126268
Change-Id: Iab56a59d7cb17e3e8131304fbc906e101bb87b42
Merged-In: Iab56a59d7cb17e3e8131304fbc906e101bb87b42
This commit is contained in:
Shuo Qian
2021-05-07 01:48:14 -07:00
parent a80340f9c6
commit d4dd13c2e3

View File

@@ -3681,6 +3681,13 @@ public class CarrierConfigManager {
public static final String KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY =
"emergency_number_prefix_string_array";
/**
* Indicates whether carrier treats "*67" or "*82" as a temporary mode CLIR.
* @hide
*/
public static final String KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL =
"carrier_supports_caller_id_vertical_service_codes_bool";
/**
* Smart forwarding config. Smart forwarding is a feature to configure call forwarding to a
* different SIM in the device when one SIM is not reachable. The config here specifies a smart
@@ -5496,6 +5503,7 @@ public class CarrierConfigManager {
1 /* Roaming Indicator Off */
});
sDefaults.putStringArray(KEY_EMERGENCY_NUMBER_PREFIX_STRING_ARRAY, new String[0]);
sDefaults.putBoolean(KEY_CARRIER_SUPPORTS_CALLER_ID_VERTICAL_SERVICE_CODES_BOOL, false);
sDefaults.putBoolean(KEY_USE_USIM_BOOL, false);
sDefaults.putBoolean(KEY_SHOW_WFC_LOCATION_PRIVACY_POLICY_BOOL, false);
sDefaults.putBoolean(KEY_AUTO_CANCEL_CS_REJECT_NOTIFICATION, true);