mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-06-05 21:59:19 +02:00
do not try setting up exoplayer if it is still null
This commit is contained in:
@@ -251,7 +251,7 @@ class VideoFragment : ViewPagerFragment(), TextureView.SurfaceTextureListener, S
|
|||||||
|
|
||||||
mIsFragmentVisible = menuVisible
|
mIsFragmentVisible = menuVisible
|
||||||
if (menuVisible && mWasFragmentInit) {
|
if (menuVisible && mWasFragmentInit) {
|
||||||
if (!mIsExoPlayerInitialized) {
|
if (!mIsExoPlayerInitialized && mExoPlayer != null) {
|
||||||
initExoPlayer()
|
initExoPlayer()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user