[8.0.0]
[fix] [动画线程变更]
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user