@@ -618,11 +618,6 @@ public void onStartTrackingTouch(final SeekBar seekBar) {
618618 player .changeState (STATE_PAUSED_SEEK );
619619 }
620620
621- player .saveWasPlaying ();
622- if (player .isPlaying ()) {
623- player .getExoPlayer ().pause ();
624- }
625-
626621 showControls (0 );
627622 animate (binding .currentDisplaySeek , true , DEFAULT_CONTROLS_DURATION ,
628623 AnimationType .SCALE_AND_ALPHA );
@@ -637,7 +632,7 @@ public void onStopTrackingTouch(final SeekBar seekBar) {
637632 }
638633
639634 player .seekTo (seekBar .getProgress ());
640- if (player .wasPlaying () || player . getExoPlayer ().getDuration () == seekBar .getProgress ()) {
635+ if (player .getExoPlayer ().getDuration () == seekBar .getProgress ()) {
641636 player .getExoPlayer ().play ();
642637 }
643638
@@ -651,9 +646,8 @@ public void onStopTrackingTouch(final SeekBar seekBar) {
651646 if (!player .isProgressLoopRunning ()) {
652647 player .startProgressLoop ();
653648 }
654- if (player .wasPlaying ()) {
655- showControlsThenHide ();
656- }
649+
650+ showControlsThenHide ();
657651 }
658652 //endregion
659653
@@ -1188,8 +1182,6 @@ private void onQualityClicked() {
11881182 binding .qualityTextView .setText (MediaFormat .getNameById (videoStream .getFormatId ())
11891183 + " " + videoStream .getResolution ());
11901184 }
1191-
1192- player .saveWasPlaying ();
11931185 }
11941186
11951187 /**
0 commit comments