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:
@@ -8571,6 +8571,16 @@ public class CarrierConfigManager {
|
|||||||
*/
|
*/
|
||||||
public static final String KEY_VONR_ENABLED_BOOL = "vonr_enabled_bool";
|
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
|
* Determine whether unthrottle data retry when tracking area code (TAC/LAC) from cell changes
|
||||||
*
|
*
|
||||||
@@ -9252,6 +9262,7 @@ public class CarrierConfigManager {
|
|||||||
sDefaults.putBoolean(KEY_UNTHROTTLE_DATA_RETRY_WHEN_TAC_CHANGES_BOOL, false);
|
sDefaults.putBoolean(KEY_UNTHROTTLE_DATA_RETRY_WHEN_TAC_CHANGES_BOOL, false);
|
||||||
sDefaults.putBoolean(KEY_VONR_SETTING_VISIBILITY_BOOL, true);
|
sDefaults.putBoolean(KEY_VONR_SETTING_VISIBILITY_BOOL, true);
|
||||||
sDefaults.putBoolean(KEY_VONR_ENABLED_BOOL, false);
|
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[]{
|
sDefaults.putStringArray(KEY_IWLAN_HANDOVER_POLICY_STRING_ARRAY, new String[]{
|
||||||
"source=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, "
|
"source=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, "
|
||||||
+ "target=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, type=allowed"});
|
+ "target=GERAN|UTRAN|EUTRAN|NGRAN|IWLAN, type=allowed"});
|
||||||
|
|||||||
Reference in New Issue
Block a user