From ac145e25128526f8b32f83328e6adbdd40edfc51 Mon Sep 17 00:00:00 2001 From: renwj Date: Thu, 25 Apr 2024 15:32:50 +0800 Subject: [PATCH] =?UTF-8?q?[6.4.0][=E5=90=AF=E8=87=AA=E9=A9=BE=E6=8C=87?= =?UTF-8?q?=E5=BC=95]=20=E4=BF=AE=E6=AD=A3=E7=8A=B6=E6=80=81=E6=A0=8F?= =?UTF-8?q?=E8=BD=A8=E8=BF=B9=E4=B8=8B=E8=BD=BD=E7=8A=B6=E6=80=81=E6=9C=AA?= =?UTF-8?q?=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../status/flow/autopilot/RouteDownloadImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/status/flow/autopilot/RouteDownloadImpl.kt b/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/status/flow/autopilot/RouteDownloadImpl.kt index c7b00f28cb..50f391c9e0 100644 --- a/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/status/flow/autopilot/RouteDownloadImpl.kt +++ b/core/function-impl/mogo-core-function-devatools/src/main/java/com/zhjt/mogo_core_function_devatools/status/flow/autopilot/RouteDownloadImpl.kt @@ -51,7 +51,7 @@ internal class RouteDownloadImpl(ctx: Context): IFlow(ctx), override fun onAutopilotTrajectoryDownloadReq(autoPilotLine: AutoPilotLine, downloadType: Int) { super.onAutopilotTrajectoryDownloadReq(autoPilotLine, downloadType) Logger.d(TAG, "--- onAutopilotTrajectoryDownloadReq --: 1:$autoPilotLine, 2:$downloadType") - if (downloadType == 0) { + if (downloadType == 0 && autoPilotLine.lineId >= 0) { linked.clear() linked[0] = autoPilotLine.lineId toDownloadData = autoPilotLine