[Android] TV: Fix video icons not displayed in browsers

Geoffrey Métais git at videolan.org
Mon Jan 7 17:22:01 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Mon Jan  7 17:06:02 2019 +0100| [9d6f33faf9a4adcb5c6323b49adfd8ecc96c6d76] | committer: Geoffrey Métais

TV: Fix video icons not displayed in browsers

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

 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 ee2ca8d97..38c9bce04 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 || (video && !media.isThumbnailGenerated()))) {
+                if (!folder && (group || (!noArt && video && !media.isThumbnailGenerated()))) {
                      ImageLoaderKt.loadImage(mCardView, item);
                      return;
                 }



More information about the Android mailing list