mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-26 22:47:59 +01:00
fix #896, ignore fullscreen toggling at fading play/pause
This commit is contained in:
parent
b58f808068
commit
da70c220d2
1 changed files with 0 additions and 11 deletions
|
@ -623,17 +623,6 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mView!!.video_play_outline.animate().alpha(if (isFullscreen && mIsPlaying) 0f else PLAY_PAUSE_VISIBLE_ALPHA).start()
|
|
||||||
if (isFullscreen) {
|
|
||||||
mHidePauseHandler.removeCallbacksAndMessages(null)
|
|
||||||
} else {
|
|
||||||
mHidePauseHandler.postDelayed({
|
|
||||||
if (mExoPlayer?.currentPosition ?: 0 > 0) {
|
|
||||||
mView!!.video_play_outline.animate().alpha(0f).start()
|
|
||||||
}
|
|
||||||
}, HIDE_PAUSE_DELAY)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getExtendedDetailsY(height: Int): Float {
|
private fun getExtendedDetailsY(height: Int): Float {
|
||||||
|
|
Loading…
Reference in a new issue