setCurrentQueuePosition should broadcast song changes

This commit is contained in:
Adrian Ulrich committed 2015-09-12 11:24:53 +02:00
1 parent 7db6ced8ea
commit c0d1cdcb6c
1 file changed
+5 -1
@@ -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);
}