mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-25 17:27:45 +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
|
@Override
|
||||||
public void onStop() {
|
public void onStop() {
|
||||||
this.controlToggle.display(this.playButton);
|
this.controlToggle.display(this.playButton);
|
||||||
|
|
||||||
|
if (seekBar.getProgress() + 5 >= seekBar.getMax()) {
|
||||||
|
backwardsCounter = 4;
|
||||||
|
onProgress(0.0, 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user