Skip to content

Commit

Permalink
Do not release video player on pause
Browse files Browse the repository at this point in the history
- player would be released when swiping to next fragment
- player became unresponsive when going back to fragment

Signed-off-by: ZetaTom <[email protected]>
  • Loading branch information
ZetaTom committed Feb 10, 2025
1 parent 174b8fc commit c789755
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,6 @@ class PreviewMediaFragment : FileFragment(), OnTouchListener, Injectable {

override fun onPause() {
exoPlayer?.pause()
releaseVideoPlayer()
super.onPause()
}

Expand Down

0 comments on commit c789755

Please sign in to comment.