Merge pull request #3314 from ByteHamster/phantom-notification
Stop service if playing from preferences does not work
This commit is contained in:
commit
2d88cd679f
|
@ -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