[8.2.4][运营面板-美化模式] B2美化模式按钮状态值内存存储
This commit is contained in:
@@ -921,7 +921,7 @@ class OperatePanelLayout : LinearLayout {
|
||||
return FunctionBuildConfig.isTakeoverRemind
|
||||
}
|
||||
KEY_MOGO_PRETTIFY_SWITCH -> {
|
||||
return false
|
||||
return FunctionBuildConfig.isB2DemoMode
|
||||
}
|
||||
}
|
||||
return super.getDefaultVal(pref)
|
||||
@@ -962,6 +962,7 @@ class OperatePanelLayout : LinearLayout {
|
||||
}
|
||||
KEY_MOGO_PRETTIFY_SWITCH -> {
|
||||
val isChecked = newValue as? Boolean ?: false
|
||||
FunctionBuildConfig.isB2DemoMode = isChecked
|
||||
if (isChecked) {
|
||||
CallerTelematicManager.sendMsgToAllClients(
|
||||
TelematicConstant.CONTROL_B2_PRETTIFY_SWITCH,
|
||||
|
||||
Reference in New Issue
Block a user