[Android] Fix thumbnails not generated on TV

Geoffrey Métais git at videolan.org
Thu Feb 7 15:21:38 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Feb  7 11:04:08 2019 +0100| [dc83d33c3e39f1fb60dbb55fee8356415af87275] | committer: Geoffrey Métais

Fix thumbnails not generated on TV

> https://code.videolan.org/videolan/vlc-android/commit/dc83d33c3e39f1fb60dbb55fee8356415af87275
---

 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