暂时不截图
This commit is contained in:
parent
d5e9bacab4
commit
54d943869f
|
|
@ -196,7 +196,7 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
|
||||||
// capturePlayerView And Show as thumb
|
// capturePlayerView And Show as thumb
|
||||||
mPlayerView?.let {
|
mPlayerView?.let {
|
||||||
mMaskBitmap?.recycle()
|
mMaskBitmap?.recycle()
|
||||||
|
mMaskBitmap = null
|
||||||
mMaskBitmap = AndroidUtil.getThumbOfView(it)
|
mMaskBitmap = AndroidUtil.getThumbOfView(it)
|
||||||
mMaskBitmap?.let {
|
mMaskBitmap?.let {
|
||||||
binding?.ivMask?.setImageBitmap(mMaskBitmap)
|
binding?.ivMask?.setImageBitmap(mMaskBitmap)
|
||||||
|
|
@ -208,11 +208,11 @@ class HomeItemFragment : AppViewsEmptyViewModelFragment<ViewBinding>() {
|
||||||
if (mIsPlaying != isPlaying) {
|
if (mIsPlaying != isPlaying) {
|
||||||
mIsPlaying = isPlaying
|
mIsPlaying = isPlaying
|
||||||
if (!mIsPlaying) {
|
if (!mIsPlaying) {
|
||||||
binding?.circlePb?.let {
|
/*binding?.circlePb?.let {
|
||||||
it.postDelayed({
|
it.postDelayed({
|
||||||
generateThumbAndSet()
|
generateThumbAndSet()
|
||||||
}, 500)
|
}, 500)
|
||||||
}
|
}*/
|
||||||
} else {
|
} else {
|
||||||
binding?.circlePb?.isVisible = false
|
binding?.circlePb?.isVisible = false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue