[Android] TV : Restore correct browsing video and audio default icon

Alexandre Perraud git at videolan.org
Mon Dec 21 15:07:00 CET 2015


vlc-android | branch: master | Alexandre Perraud <4leyx4ndre at gmail.com> | Mon Dec 21 15:01:38 2015 +0100| [fc90f16213aab39b582cd55430b697bfd88d80f8] | committer: Alexandre Perraud

TV : Restore correct browsing video and audio default icon

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

 vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
index a5dc70c..f85ecc8 100644
--- a/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
+++ b/vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
@@ -196,11 +196,11 @@ public class CardPresenter extends Presenter {
             if (mediaWrapper.getType() == mediaWrapper.TYPE_AUDIO) {
                 picture = AudioUtil.getCover(sContext, mediaWrapper, 320);
                 if (picture == null)
-                    picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_tv_icon_small);
+                    picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_browser_audio_big_normal);
             } else if (mediaWrapper.getType() == mediaWrapper.TYPE_VIDEO) {
                 picture = BitmapUtil.getPicture(mediaWrapper);
                 if (picture == null)
-                    picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_tv_icon_small);
+                    picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_browser_video_big_normal);
             } else if (mediaWrapper.getType() == mediaWrapper.TYPE_DIR)
                 picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_menu_network_big);
             else



More information about the Android mailing list