[6.1.0][Fix]解决不可平行驾驶的问题
This commit is contained in:
@@ -142,8 +142,14 @@ class ParallelDriveView @JvmOverloads constructor(
|
|||||||
) {
|
) {
|
||||||
if (!isParallelDrivingAbility) {
|
if (!isParallelDrivingAbility) {
|
||||||
ThreadUtils.runOnUiThread({
|
ThreadUtils.runOnUiThread({
|
||||||
|
state = UNAVAILABLE
|
||||||
updateUI(UNAVAILABLE)
|
updateUI(UNAVAILABLE)
|
||||||
}, ThreadUtils.MODE.QUEUE)
|
}, ThreadUtils.MODE.QUEUE)
|
||||||
|
} else {
|
||||||
|
ThreadUtils.runOnUiThread({
|
||||||
|
state = 0
|
||||||
|
updateUI(0)
|
||||||
|
}, ThreadUtils.MODE.QUEUE)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user