Skip to content
This repository has been archived by the owner on Feb 4, 2023. It is now read-only.

Fix replaying same song if Repeat is off and Skip button is pressed while on the last song in the list #945

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,11 @@ public int getNextPosition(boolean force) {
break;
default:
case REPEAT_MODE_NONE:
if (isLastTrack()) {
if (force) {
if (isLastTrack()) {
position = 0;
}
} else {
position -= 1;
}
break;
Expand Down