Merge pull request #3314 from ByteHamster/phantom-notification

Stop service if playing from preferences does not work
This commit is contained in:
H. Lehmann 2019-08-10 18:37:37 +02:00 committed by GitHub
commit 2d88cd679f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

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();
}
}