Changed next button on last playlist item to stop playback.

This commit is contained in:
Felix Ableitner 2013-12-29 19:38:21 +01:00
parent e31747e44b
commit 104464713f

View file

@ -325,10 +325,11 @@ public class MediaRouterPlayService extends Service {
else if (mRepeat)
// Playlist over, repeat it.
play(0);
else if (!mBound) {
else {
// Playlist over, stop playback.
stop();
if (!mBound)
stopSelf();
mPollingStatus = false;
}
}