Reset seekbar at end of play if mediaplayer doesn't do it for us.

Fixes #4286
// FREEBIE
This commit is contained in:
Moxie Marlinspike 2015-10-23 16:55:23 -07:00
parent 2ce16297ff
commit a1f46b3aae

View File

@ -131,6 +131,11 @@ public class AudioView extends FrameLayout implements AudioSlidePlayer.Listener
@Override
public void onStop() {
this.controlToggle.display(this.playButton);
if (seekBar.getProgress() + 5 >= seekBar.getMax()) {
backwardsCounter = 4;
onProgress(0.0, 0);
}
}
@Override