setCurrentQueuePosition should broadcast song changes

This commit is contained in:
Adrian Ulrich 2015-09-12 11:24:53 +02:00
parent 7db6ced8ea
commit c0d1cdcb6c

View File

@ -612,7 +612,11 @@ public final class SongTimeline {
* Hard-Jump to given queue position
*/
public Song setCurrentQueuePosition(int pos) {
mCurrentPos = pos;
synchronized (this) {
saveActiveSongs();
mCurrentPos = pos;
broadcastChangedSongs();
}
changed();
return getSong(0);
}