Add new carrier config to record the default preference setting
Some carriers need to disable the VoNR setting as default, so introduce new config “vonr_on_by_default_bool” to control this requirement. Bug: 237621350 Test: manual Change-Id: Idaa9cfb1739f8261e9a4697eae30b7f4e16241c7 Merged-In: Idaa9cfb1739f8261e9a4697eae30b7f4e16241c7
This commit is contained in:
@@ -8549,6 +8549,16 @@ public class CarrierConfigManager {
|
||||
*/
|
||||
public static final String KEY_VONR_ENABLED_BOOL = "vonr_enabled_bool";
|
||||
|
||||
/**
|
||||
* Boolean indicating the default VoNR user preference setting.
|
||||
* If true, the VoNR setting will be enabled. If false, it will be disabled initially.
|
||||
*
|
||||
* Enabled by default.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public static final String KEY_VONR_ON_BY_DEFAULT_BOOL = "vonr_on_by_default_bool";
|
||||
|
||||
/**
|
||||
* Determine whether unthrottle data retry when tracking area code (TAC/LAC) from cell changes
|
||||
*
|
||||
@@ -9237,6 +9247,7 @@ public class CarrierConfigManager {
|
||||
sDefaults.putBoolean(KEY_UNTHROTTLE_DATA_RETRY_WHEN_TAC_CHANGES_BOOL, false);
|
||||
sDefaults.putBoolean(KEY_VONR_SETTING_VISIBILITY_BOOL, true);
|
||||
sDefaults.putBoolean(KEY_VONR_ENABLED_BOOL, false);
|
||||
sDefaults.putBoolean(KEY_VONR_ON_BY_DEFAULT_BOOL, true);
|
||||
sDefaults.putStringArray(KEY_IWLAN_HANDOVER_POLICY_STRING_ARRAY, new String[]{
|
||||
"source=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, "
|
||||
+ "target=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, type=allowed"});
|
||||
|
||||
Reference in New Issue
Block a user