diff options
author | ByteHamster <info@bytehamster.com> | 2020-05-03 17:24:40 +0200 |
---|---|---|
committer | ByteHamster <info@bytehamster.com> | 2020-05-03 17:25:06 +0200 |
commit | 10c533ecb3e7d3b95d64f187cc70318447cdc5db (patch) | |
tree | 7bf716fcdc2581380805a23042bcf531fb3bf720 /app/src/main/java/de/danoeh/antennapod/adapter/actionbutton | |
parent | bf216cbfac0c9b10de618ce485f5d56f76696619 (diff) | |
download | AntennaPod-10c533ecb3e7d3b95d64f187cc70318447cdc5db.zip |
Fixed opening video player when starting video
Diffstat (limited to 'app/src/main/java/de/danoeh/antennapod/adapter/actionbutton')
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java | 2 | ||||
-rw-r--r-- | app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java index dd3a57288..512f1a512 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/PlayActionButton.java @@ -46,7 +46,7 @@ public class PlayActionButton extends ItemActionButton { .start(); if (media.getMediaType() == MediaType.VIDEO) { - context.startActivity(PlaybackService.getPlayerActivityIntent(context)); + context.startActivity(PlaybackService.getPlayerActivityIntent(context, media)); } } } diff --git a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java index 8db28f5a8..88e0fc7ed 100644 --- a/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java +++ b/app/src/main/java/de/danoeh/antennapod/adapter/actionbutton/StreamActionButton.java @@ -49,7 +49,7 @@ public class StreamActionButton extends ItemActionButton { .start(); if (media.getMediaType() == MediaType.VIDEO) { - context.startActivity(PlaybackService.getPlayerActivityIntent(context)); + context.startActivity(PlaybackService.getPlayerActivityIntent(context, media)); } } } |