[Android] Fix thumbnails not generated on TV

Geoffrey Métais git at videolan.org
Thu Feb 7 13:51:30 CET 2019


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

Fix thumbnails not generated on TV

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

 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