remove if condition of takeover

This commit is contained in:
zhongchao
2022-10-13 15:42:41 +08:00
parent 754e5e32e5
commit 752bbbc593

View File

@@ -1404,8 +1404,7 @@ class MoGoHmiFragment : MvpFragment<MoGoHmiContract.View?, HmiPresenter?>(),
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,