Stop service if playing from preferences does not work
This commit is contained in:
parent
5173dd0118
commit
5bfcbce499
|
@ -578,6 +578,8 @@ public class PlaybackService extends MediaBrowserServiceCompat {
|
|||
mediaPlayer.playMediaObject(playable, false, true, true);
|
||||
started = true;
|
||||
PlaybackService.this.updateMediaSessionMetadata(playable);
|
||||
} else {
|
||||
stopService();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue