From f5c8c1084b86f8de420fc4caa6d729eabfd31fe0 Mon Sep 17 00:00:00 2001 From: zhongchao Date: Sun, 8 Oct 2023 15:35:05 +0800 Subject: [PATCH] [6.1.0] change the text --- .../eagle/core/function/hmi/ui/setting/DebugSettingView.kt | 4 ++-- .../src/main/res/layout/view_debug_setting.xml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt index 57e0ff496f..c3f19c6a35 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/setting/DebugSettingView.kt @@ -1356,8 +1356,8 @@ internal class DebugSettingView @JvmOverloads constructor( /** * 设置是否开启pre check, true-打开,false-关闭 */ - tbPreCheckEnable.isChecked = SharedPrefsMgr.getInstance(context).getBoolean("TRACE_ENABLE",true) - tbPreCheckEnable.setOnCheckedChangeListener { _, isChecked -> + tbTraceEnable.isChecked = SharedPrefsMgr.getInstance(context).getBoolean("TRACE_ENABLE",true) + tbTraceEnable.setOnCheckedChangeListener { _, isChecked -> HmiActionLog.hmiAction(TAG + "TRACE_ENABLE",isChecked) SharedPrefsMgr.getInstance(context).putBoolean("TRACE_ENABLE",isChecked) CallerDevaToolsManager.setTraceEnable(isChecked) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml index 2fab2db75c..a306e10e77 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml +++ b/core/function-impl/mogo-core-function-hmi/src/main/res/layout/view_debug_setting.xml @@ -2100,14 +2100,14 @@ android:textSize="@dimen/dp_24" />