diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2020-05-01 15:38:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 15:38:03 +0200 |
commit | c33669478a388489bcdbe114f8b7fa07ebcaa5af (patch) | |
tree | a75d32d682994f1e4fd612fb06331a12661cf80b /core/src | |
parent | 70fa329b382e1c5545b6f8f247f9a50945756c23 (diff) | |
parent | 16b7aa7424a45f7ebd66352767e57688cf43be8f (diff) | |
download | AntennaPod-c33669478a388489bcdbe114f8b7fa07ebcaa5af.zip |
Merge pull request #4095 from ByteHamster/fix-feedhandler-test
Fixed feed image tests
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java b/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java index 455850cd0..f01a8b638 100644 --- a/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java +++ b/core/src/play/java/de/danoeh/antennapod/core/cast/CastUtils.java @@ -100,8 +100,8 @@ public class CastUtils { metadata.putString(MediaMetadata.KEY_SUBTITLE, subtitle); } - if (!TextUtils.isEmpty(feedItem.getImageUrl())) { - metadata.addImage(new WebImage(Uri.parse(feedItem.getImageUrl()))); + if (!TextUtils.isEmpty(feedItem.getImageLocation())) { + metadata.addImage(new WebImage(Uri.parse(feedItem.getImageLocation()))); } Calendar calendar = Calendar.getInstance(); calendar.setTime(media.getItem().getPubDate()); |