[6.1.0][Fix]AD请求的平行驾驶可点击

This commit is contained in:
chenfufeng
2023-09-27 14:54:25 +08:00
parent 65ee24fff3
commit fa2043c97a

View File

@@ -99,6 +99,10 @@ class ParallelDriveView @JvmOverloads constructor(
ToastUtils.showShort("请求已取消!")
checkAvailableAndUpdateUI()
}
AD_REQUESTING -> {
Log.d(TAG, "Click-自动驾驶正在请求平行驾驶")
ToastUtils.showShort("自动驾驶正在请求平行驾驶")
}
UNAVAILABLE -> {
Log.d(TAG, "Click-请P档驻车并松开油门刹车后请求")
ToastUtils.showShort("请P档驻车并松开油门刹车后请求")
@@ -251,7 +255,7 @@ class ParallelDriveView @JvmOverloads constructor(
AD_REQUESTING -> {
stopSyncAnimation()
rootLayout.isEnabled = false
rootLayout.isEnabled = true
statusIconOuter.visibility = GONE
rootLayout.alpha = 1f
statusIcon.background =