Ignore skip in first second of playback (#6704)
Users complained that they wanted to skip the ending of an episode and accidentally skipped the next one that started while their finger was moving.
This commit is contained in:
parent
c732ecba8b
commit
2ee2cb6702
|
@ -215,6 +215,10 @@ public abstract class PlaybackServiceMediaPlayer {
|
||||||
public abstract int getSelectedAudioTrack();
|
public abstract int getSelectedAudioTrack();
|
||||||
|
|
||||||
public void skip() {
|
public void skip() {
|
||||||
|
if (getPosition() < 1000) {
|
||||||
|
Log.d(TAG, "Ignoring skip, is in first second of playback");
|
||||||
|
return;
|
||||||
|
}
|
||||||
endPlayback(false, true, true, true);
|
endPlayback(false, true, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue