[6.0.0] fix bug of autopilot connect status

This commit is contained in:
zhongchao
2023-08-30 19:30:09 +08:00
parent 06ae16037a
commit 7142122e69
10 changed files with 15 additions and 20 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