mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
Reset seekbar at end of play if mediaplayer doesn't do it for us.
Fixes #4286 // FREEBIE
This commit is contained in:
parent
2ce16297ff
commit
a1f46b3aae
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user