modify gradle files to fix breakpoints and fix playback repeat regression

This commit is contained in:
dkanada 2020-05-18 20:48:27 +09:00
commit 5534170f9f
3 changed files with 7 additions and 3 deletions

View file

@ -892,8 +892,10 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
}
break;
case REPEAT_MODE_THIS:
if (force && newPosition < 0) {
newPosition = getPlayingQueue().size() - 1;
if (force) {
if (newPosition < 0) {
newPosition = getPlayingQueue().size() - 1;
}
} else {
newPosition = getPosition();
}
@ -1194,6 +1196,7 @@ public class MusicService extends Service implements SharedPreferences.OnSharedP
} else {
service.playNextSong(false);
}
sendEmptyMessage(RELEASE_WAKELOCK);
break;