From dde21d3f6e20a8d6e8c2920cd31e012f5fffb25d Mon Sep 17 00:00:00 2001 From: lianglihui Date: Thu, 10 Feb 2022 16:20:12 +0800 Subject: [PATCH] =?UTF-8?q?2.5.1=20=E4=BF=AE=E5=A4=8D=E6=BC=94=E7=A4=BA?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=8B=20=E8=BD=A6=E5=89=8D=E5=BC=95?= =?UTF-8?q?=E5=AF=BC=E7=BA=BF=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../service/routeoverlay/MogoRouteOverlayManager.java | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/modules/mogo-module-service/src/main/java/com/mogo/module/service/routeoverlay/MogoRouteOverlayManager.java b/modules/mogo-module-service/src/main/java/com/mogo/module/service/routeoverlay/MogoRouteOverlayManager.java index fb24c2891d..33a93ad09a 100644 --- a/modules/mogo-module-service/src/main/java/com/mogo/module/service/routeoverlay/MogoRouteOverlayManager.java +++ b/modules/mogo-module-service/src/main/java/com/mogo/module/service/routeoverlay/MogoRouteOverlayManager.java @@ -112,13 +112,20 @@ public class MogoRouteOverlayManager implements @Override public void onAutopilotStatusResponse(@NotNull AutopilotStatusInfo autoPilotStatusInfo) { + if (FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData ){ + return; + } this.STATUS_AUTOPILOT = autoPilotStatusInfo.getControl_pilotmode(); //Log.d("lianglihui","onAutopilotStatusResponse:"+STATUS_AUTOPILOT); - if (STATUS_AUTOPILOT == 1 ){ +// if (STATUS_AUTOPILOT == 1 ){ // if (mEnding != null){ // RouteOverlayDrawer.getInstance(mContext).addEndingMarker(mEnding.lat,mEnding.lon); // } - }else { +// }else { +// +// }我 + + if ( STATUS_AUTOPILOT != 1){ RouteOverlayDrawer.getInstance(mContext).clearEndingMarker(); RouteOverlayDrawer.getInstance(mContext).clearMogoRouteOverlay(); }