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) }