mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
launch the panorama viewer at video fragment when seekbar is pressed
This commit is contained in:
parent
9e6ccbe67c
commit
e42c944fda
1 changed files with 5 additions and 0 deletions
|
@ -629,6 +629,11 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun onStopTrackingTouch(seekBar: SeekBar) {
|
override fun onStopTrackingTouch(seekBar: SeekBar) {
|
||||||
|
if (mIsPanorama) {
|
||||||
|
openPanorama()
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (mExoPlayer == null)
|
if (mExoPlayer == null)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue