mirror of
https://github.com/AntennaPod/AntennaPod.git
synced 2024-12-28 17:52:29 +01:00
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
Block a user