[fix]
[动画线程变更]
This commit is contained in:
yangyakun
2025-05-29 17:51:12 +08:00
parent 7c9c4f0d4e
commit 485d5bf3bb
2 changed files with 3 additions and 3 deletions

View File

@@ -127,7 +127,7 @@ class RightRearCamView : ConstraintLayout , IMoGoBackCameraVideoListener,
val preTime = System.currentTimeMillis()
BitmapFactory.decodeByteArray(data, 0, data.size, mBitmapOptions)
d(SceneConstant.M_TAXI_P + TAG, "decode时间${System.currentTimeMillis()-preTime}")
UiThreadHandler.post(this,UiThreadHandler.MODE.QUEUE)
UiThreadHandler.post(this)
} catch (e: Exception) {
e.printStackTrace()
}

View File

@@ -174,7 +174,7 @@ class ChekAndStartAutopilotView : WindowRelativeLayout,
}else {
UiThreadHandler.postDelayed({
startAnimal()
}, 2000,UiThreadHandler.MODE.QUEUE)
}, 2000)
}
}
else -> {}
@@ -227,7 +227,7 @@ class ChekAndStartAutopilotView : WindowRelativeLayout,
}
}
})
aniStartAutopilotSuccessAni.start()},350,UiThreadHandler.MODE.QUEUE)
aniStartAutopilotSuccessAni.start()},350)
}
})
animatorSetCompat.start()