[6.4.0][启自驾指引] 修正状态栏轨迹下载状态未展示

This commit is contained in:
renwj
2024-04-25 15:32:50 +08:00
parent e3a65db411
commit ac145e2512

View File

@@ -51,7 +51,7 @@ internal class RouteDownloadImpl(ctx: Context): IFlow<RouteDownloadStatus>(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