don't start videos automatically when the data saver mode is enabled

This commit is contained in:
Bnyro 2022-12-10 12:58:00 +01:00
parent c470339ee9
commit d1df440fa4

View File

@ -619,7 +619,7 @@ class PlayerFragment : BaseFragment(), OnlinePlayerOptions {
initializePlayerView(streams)
if (!isLive) seekToWatchPosition()
exoPlayer.prepare()
exoPlayer.play()
if (!PreferenceHelper.getBoolean(PreferenceKeys.DATA_SAVER_MODE, false)) exoPlayer.play()
if (binding.playerMotionLayout.progress != 1.0f) {
// show controllers when not in picture in picture mode