[6.0.0] fix bug of autopilot connect status

This commit is contained in:
zhongchao
2023-08-30 19:30:09 +08:00
parent 9e83574e43
commit d9390d3fe5
10 changed files with 162 additions and 55 deletions

View File

@@ -186,7 +186,7 @@ internal class AutoPilotAndCheckView @JvmOverloads constructor(
svLayout.post {
svLayout.fullScroll(View.FOCUS_DOWN)
}
if (!CallerAutoPilotStatusListenerManager.getConnectStates()) {
if (!CallerAutoPilotStatusListenerManager.isConnect()) {
ToastUtils.showShort("设置车速失败,请启动域控制器")
keyBoardUtil?.hideKeyboard()
return@setOnTouchListener true