From a66217be35568af0c07e429e17e7f49f493462ea Mon Sep 17 00:00:00 2001 From: aibingbing Date: Thu, 31 Aug 2023 18:43:16 +0800 Subject: [PATCH] =?UTF-8?q?[Taxi=E6=97=A0=E4=BA=BA=E5=8C=96]=20fix:=20?= =?UTF-8?q?=E4=B9=98=E5=AE=A2=E5=B1=8F=20=E5=90=AF=E8=87=AA=E9=A9=BE=20?= =?UTF-8?q?=E5=8F=96=E6=B6=88=E7=8A=B6=E6=80=81=E5=88=A4=E6=96=AD=EF=BC=8C?= =?UTF-8?q?=E8=BF=9B=E7=9B=AE=E5=89=8D=E6=97=A0=E4=BA=BA=E5=8C=96=E4=B8=80?= =?UTF-8?q?=E7=9B=B4=E5=9C=A8=E8=87=AA=E5=8A=A8=E9=A9=BE=E9=A9=B6=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E4=B8=AD=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../och/taxi/passenger/model/AutopilotManager.kt | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/model/AutopilotManager.kt b/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/model/AutopilotManager.kt index 15655bb16e..cf618bd210 100644 --- a/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/model/AutopilotManager.kt +++ b/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/model/AutopilotManager.kt @@ -46,12 +46,13 @@ object AutopilotManager : IMoGoAutopilotStatusListener { if (TaxiPassengerModel.currentOCHOrder!!.orderStatus == TaxiPassengerOrderStatusEnum.UserArriveAtStart.code) { startAutoPilotServiceByPassenger() } - if (CallerAutoPilotStatusListenerManager.getState() - == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING - ) { - ToastUtils.showShort("自驾中、请勿重复启动") - return - } + // 0831 目前无人化taxi中间不会取消自驾,一直处于自动驾驶状态中,所以这个判断先去掉 +// if (CallerAutoPilotStatusListenerManager.getState() +// == IMoGoAutopilotStatusListener.STATUS_AUTOPILOT_RUNNING +// ) { +// ToastUtils.showShort("自驾中、请勿重复启动") +// return +// } if (!FunctionBuildConfig.isDemoMode && !OCHAdasAbilityManager.getInstance().autopilotAbilityStatus) { ToastUtils.showLong( OCHAdasAbilityManager.getInstance().autopilotUnAbilityReason +