diff options
author | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-04-17 02:44:42 -0400 |
---|---|---|
committer | Domingos Lopes <domingos86lopes+github@gmail.com> | 2016-04-24 22:06:26 -0400 |
commit | 450329a5e36e070c228e2f4ced5bbf147794dcea (patch) | |
tree | 9a185f6c2e0c24cbf6cc4528c7972ffb39c379c6 /core | |
parent | a77c77724b29332077ee933c040bcf4ac7c45504 (diff) | |
download | AntennaPod-450329a5e36e070c228e2f4ced5bbf147794dcea.zip |
have external player fragment show play button if casting
Diffstat (limited to 'core')
-rw-r--r-- | core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java index 246be7297..4eb6535da 100644 --- a/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java +++ b/core/src/main/java/de/danoeh/antennapod/core/util/playback/PlaybackController.java @@ -715,9 +715,9 @@ public abstract class PlaybackController { } } - // TODO this method probably needs to change - public boolean isPlayingVideo() { - return playbackService != null && PlaybackService.getCurrentMediaType() == MediaType.VIDEO; + public boolean isPlayingVideoLocally() { + return playbackService != null && PlaybackService.getCurrentMediaType() == MediaType.VIDEO + && !PlaybackService.isCasting(); } public Pair<Integer, Integer> getVideoSize() { |