diff options
author | volhol <volhol@users.noreply.github.com> | 2015-04-02 19:54:04 +0200 |
---|---|---|
committer | volhol <volhol@users.noreply.github.com> | 2015-04-02 19:54:04 +0200 |
commit | 42e118626edb2c882e62651d9c469316f7ddfb42 (patch) | |
tree | 38518aed639cb8c0c773ee3f2840c2335b0c4e91 /app/src/main/java/de/danoeh/antennapod/adapter | |
parent | 247ef778aaa4cbb5acc657c5d501e79ef177a337 (diff) | |
download | AntennaPod-42e118626edb2c882e62651d9c469316f7ddfb42.zip |
Direct play from the lists
subsequent play of the next feed item from the queue now works
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java | 2 |
1 files changed, 1 insertions, 1 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 bae109cf9..14644dd68 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/DefaultActionButtonCallback.java @@ -51,7 +51,7 @@ public class DefaultActionButtonCallback implements ActionButtonCallback { if (item.hasMedia() && item.getMedia().isCurrentlyPlaying()) { context.sendBroadcast(new Intent(PlaybackService.ACTION_PAUSE_PLAY_CURRENT_EPISODE)); } - else if (item.hasMedia() && item.getMedia().isPlaying()) { + else if (item.hasMedia() && item.getMedia().isCurrentlyPaused()) { context.sendBroadcast(new Intent(PlaybackService.ACTION_RESUME_PLAY_CURRENT_EPISODE)); } else { |