Merge remote-tracking branch 'origin/dev_robotaxi-d_230912_6.1.0' into dev_robotaxi-d_230912_6.1.0

This commit is contained in:
wangmingjun
2023-09-15 16:56:59 +08:00

View File

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