OSDN Git Service

Reset next Track in Apollo on QUEUE_CHANGED
authorHendrik Borghorst <hendrikborghorst@gmail.com>
Wed, 14 Aug 2013 18:26:32 +0000 (20:26 +0200)
committerHendrik Borghorst <hendrikborghorst@gmail.com>
Fri, 16 Aug 2013 10:20:03 +0000 (12:20 +0200)
commita2df68ce3b81e36797b2a688f83a34f0ad52fa8f
tree196638c5f2251c77f8155f49f04e9271111615bd
parentd2ec987449f68c4894ad7de48adc8ee66392554b
Reset next Track in Apollo on QUEUE_CHANGED

If you change the queue for the next track mediaplayer don't gets reinitialized.

This means the next song which is played is actually the one queued before change of queue.

PS2: Only setNextTrack if Service is actually playing at the moment.
PS3: Whitespace fix
PS4: Remove last track in queue case included. Space fixed

Change-Id: I9ddd762d3c42815e7b365f6a5c4b124f5d940a5a
src/com/andrew/apollo/MusicPlaybackService.java