暂时不截图
This commit is contained in:
parent
d5e9bacab4
commit
54d943869f
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue