[Android] Fix thumbnails not generated on TV
Geoffrey Métais
git at videolan.org
Thu Feb 7 15:26:07 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb 7 11:04:08 2019 +0100| [e5564ff36a72f9f0a2b51052589a2e007837fabd] | committer: Geoffrey Métais
Fix thumbnails not generated on TV
> https://code.videolan.org/videolan/vlc-android/commit/e5564ff36a72f9f0a2b51052589a2e007837fabd
---
vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java b/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
index 38c9bce04..ee2ca8d97 100644
--- a/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
+++ b/vlc-android/src/org/videolan/vlc/gui/tv/CardPresenter.java
@@ -87,7 +87,7 @@ public class CardPresenter extends Presenter {
final boolean group = media.getType() == MediaWrapper.TYPE_GROUP;
final boolean folder = media.getType() == MediaWrapper.TYPE_DIR;
final boolean video = media.getType() == MediaWrapper.TYPE_VIDEO;
- if (!folder && (group || (!noArt && video && !media.isThumbnailGenerated()))) {
+ if (!folder && (group || (video && !media.isThumbnailGenerated()))) {
ImageLoaderKt.loadImage(mCardView, item);
return;
}
More information about the Android
mailing list