Stop service if playing from preferences does not work

This commit is contained in:
ByteHamster 2019-08-10 17:58:12 +02:00
parent 5173dd0118
commit 5bfcbce499

View File

@ -578,6 +578,8 @@ public class PlaybackService extends MediaBrowserServiceCompat {
mediaPlayer.playMediaObject(playable, false, true, true);
started = true;
PlaybackService.this.updateMediaSessionMetadata(playable);
} else {
stopService();
}
}