diff options
author | ByteHamster <info@bytehamster.com> | 2018-05-06 20:07:35 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2018-05-06 20:07:35 +0200 |
commit | 4787e2ecc97c8da89af27f6db943e69c90484518 (patch) | |
tree | b16df0f2441a4b4e764aa958cd9b2bf8c6474511 /app | |
parent | f6082f58088d79a8b46556fc68c7bbbf30008c82 (diff) | |
download | AntennaPod-4787e2ecc97c8da89af27f6db943e69c90484518.zip |
Fixed starting with DefaultActionButtonCallback
Diffstat (limited to 'app')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java b/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java index 54afde1c7..d8f324e8a 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java @@ -83,13 +83,13 @@ public class DefaultActionButtonCallback implements ActionButtonCallback { } else { // media is downloaded if (media.isCurrentlyPlaying()) { new PlaybackServiceStarter(context, media) - .startWhenPrepared(false) + .startWhenPrepared(true) .shouldStream(false) .start(); context.sendBroadcast(new Intent(PlaybackService.ACTION_PAUSE_PLAY_CURRENT_EPISODE)); } else if (media.isCurrentlyPaused()) { new PlaybackServiceStarter(context, media) - .startWhenPrepared(false) + .startWhenPrepared(true) .shouldStream(false) .start(); context.sendBroadcast(new Intent(PlaybackService.ACTION_RESUME_PLAY_CURRENT_EPISODE)); |