diff options
author | Martin Fietz <Martin.Fietz@gmail.com> | 2016-12-04 21:42:03 +0100 |
---|---|---|
committer | Martin Fietz <Martin.Fietz@gmail.com> | 2016-12-04 21:42:03 +0100 |
commit | dc65f13f442ae7feddd7b8c12c2e61aada29983c (patch) | |
tree | 195eb69b437c8f5924c26a500de258e56ba4cf68 /core/src/play | |
parent | 17141db8a6ce65b19386b7bfd92d0a371b51bd6d (diff) | |
download | AntennaPod-dc65f13f442ae7feddd7b8c12c2e61aada29983c.zip |
Do not auto-enable sleep timer after skipping
Diffstat (limited to 'core/src/play')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java b/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java index c7428947b..0f493e63e 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java +++ b/core/src/play/java/de/danoeh/antennapod/core/service/playback/PlaybackServiceFlavorHelper.java @@ -131,7 +131,8 @@ public class PlaybackServiceFlavorHelper { info = mediaPlayer.getPSMPInfo(); } if (info == null) { - info = new PlaybackServiceMediaPlayer.PSMPInfo(PlayerStatus.STOPPED, null); + info = new PlaybackServiceMediaPlayer.PSMPInfo(PlayerStatus.INDETERMINATE, + PlayerStatus.STOPPED, null); } switchMediaPlayer(new LocalPSMP(context, callback.getMediaPlayerCallback()), info, true); @@ -166,7 +167,7 @@ public class PlaybackServiceFlavorHelper { } } if (info == null) { - info = new PlaybackServiceMediaPlayer.PSMPInfo(PlayerStatus.STOPPED, null); + info = new PlaybackServiceMediaPlayer.PSMPInfo(PlayerStatus.INDETERMINATE, PlayerStatus.STOPPED, null); } callback.sendNotificationBroadcast(PlaybackService.NOTIFICATION_TYPE_RELOAD, PlaybackService.EXTRA_CODE_CAST); |