From 752bbbc59307286c09a61e45109167412763271e Mon Sep 17 00:00:00 2001 From: zhongchao Date: Thu, 13 Oct 2022 15:42:41 +0800 Subject: [PATCH] remove if condition of takeover --- .../com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt index 280763b9b8..effa6dcb9f 100644 --- a/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt +++ b/core/function-impl/mogo-core-function-hmi/src/main/java/com/mogo/eagle/core/function/hmi/ui/MoGoHmiFragment.kt @@ -1404,8 +1404,7 @@ class MoGoHmiFragment : MvpFragment(), EXIT_AUTOPILOT_FOR_LOCATION, EXIT_AUTOPILOT_FOR_CHASSIS, EXIT_AUTOPILOT_FOR_DISTANCE -> { - if (FunctionBuildConfig.isIgnoreConditionsDrawAutopilotTrajectoryData - && getAutoPilotStatusInfo().state != STATUS_AUTOPILOT_RUNNING) { + if (getAutoPilotStatusInfo().state != STATUS_AUTOPILOT_RUNNING) { showWarningV2X( EventTypeEnum.TAKE_OVER_EVENT.poiType, EventTypeEnum.TAKE_OVER_EVENT.content,