Changed next button on last playlist item to stop playback.
This commit is contained in:
parent
e31747e44b
commit
104464713f
1 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
stopSelf();
|
||||
mPollingStatus = false;
|
||||
stop();
|
||||
if (!mBound)
|
||||
stopSelf();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Reference in a new issue