From 9079603cfbe7c3aa299cbbd5d3c12ec728923381 Mon Sep 17 00:00:00 2001 From: yangyakun Date: Fri, 15 Sep 2023 15:48:35 +0800 Subject: [PATCH] =?UTF-8?q?[6.1.0]=20[unmanned]=20[=E5=90=90=E5=8F=B8+?= =?UTF-8?q?=E7=BA=BF=E7=A8=8B=E9=97=AE=E9=A2=98]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../passenger/ui/startautopilot/StartAutopilotViewModel.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotViewModel.kt b/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotViewModel.kt index 72ce542835..e35c1fd928 100644 --- a/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotViewModel.kt +++ b/OCH/taxi/unmanned-passenger/src/main/java/com/mogo/och/taxi/passenger/ui/startautopilot/StartAutopilotViewModel.kt @@ -67,6 +67,7 @@ class StartAutopilotViewModel : ViewModel(), fun startAutopilot() { if(doorOpenState){ VoiceNotice.showNotice("关紧车门后再出发吧!") + ToastUtils.showShort("关紧车门后再出发吧!") viewCallback?.unableStartAutopilotByDoorState() return } @@ -102,9 +103,9 @@ class StartAutopilotViewModel : ViewModel(), } private fun runMain(posttion: DoorPosition, state: DoorState){ - UiThreadHandler.post { + UiThreadHandler.post({ viewCallback?.setDoorStatus(posttion,state) - } + },UiThreadHandler.MODE.QUEUE) }