暂时不截图

This commit is contained in:
renhaoting 2026-01-10 16:18:47 +08:00
parent d5e9bacab4
commit 54d943869f
1 changed files with 3 additions and 3 deletions

View File

@ -196,7 +196,7 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
// capturePlayerView And Show as thumb
mPlayerView?.let {
mMaskBitmap?.recycle()
mMaskBitmap = null
mMaskBitmap = AndroidUtil.getThumbOfView(it)
mMaskBitmap?.let {
binding?.ivMask?.setImageBitmap(mMaskBitmap)
@ -208,11 +208,11 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
if (mIsPlaying != isPlaying) {
mIsPlaying = isPlaying
if (!mIsPlaying) {
binding?.circlePb?.let {
/*binding?.circlePb?.let {
it.postDelayed({
generateThumbAndSet()
}, 500)
}
}*/
} else {
binding?.circlePb?.isVisible = false
}