From 27d2a298a464e9670b0fb4ec98237112c67db4b5 Mon Sep 17 00:00:00 2001 From: chenfufeng Date: Thu, 31 Mar 2022 14:25:08 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=E8=BF=9E=E6=8E=A5=E4=B8=8A=E5=B7=A5?= =?UTF-8?q?=E6=8E=A7=E6=9C=BA=E6=89=8D=E5=8E=BB=E6=9F=A5=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../core/function/hmi/ui/tools/AutoPilotAndCheckView.kt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt index 74d7a2f745..fdaf95f4a8 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/tools/AutoPilotAndCheckView.kt @@ -8,6 +8,7 @@ import android.util.AttributeSet import android.view.LayoutInflater import android.view.View import android.widget.FrameLayout +import com.mogo.eagle.core.data.app.AppConfigInfo import com.mogo.eagle.core.data.autopilot.AutopilotStatusInfo import com.mogo.eagle.core.data.config.FunctionBuildConfig import com.mogo.eagle.core.function.api.autopilot.IMoGoAutopilotCarConfigListener @@ -120,7 +121,9 @@ class AutoPilotAndCheckView @JvmOverloads constructor( } } updateSpeedSettingViews() - CallerAutoPilotManager.getCarConfig() + if (AppConfigInfo.isConnectAutopilot) { + CallerAutoPilotManager.getCarConfig() + } // // 比如需要设置默认速度 // val speed = "30" // etInputSpeed.setText(speed)