Skip to content
Snippets Groups Projects
Commit 9c5e626a authored by Alexandre Perraud's avatar Alexandre Perraud Committed by Geoffrey Métais
Browse files

TV : Restore correct browsing video and audio default icon


(cherry picked from commit fc90f162)
Signed-off-by: default avatarGeoffrey Métais <geoffrey.metais@gmail.com>
parent d087b6f6
No related branches found
No related tags found
No related merge requests found
...@@ -196,11 +196,11 @@ public class CardPresenter extends Presenter { ...@@ -196,11 +196,11 @@ public class CardPresenter extends Presenter {
if (mediaWrapper.getType() == mediaWrapper.TYPE_AUDIO) { if (mediaWrapper.getType() == mediaWrapper.TYPE_AUDIO) {
picture = AudioUtil.getCover(sContext, mediaWrapper, 320); picture = AudioUtil.getCover(sContext, mediaWrapper, 320);
if (picture == null) 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) { } else if (mediaWrapper.getType() == mediaWrapper.TYPE_VIDEO) {
picture = BitmapUtil.getPicture(mediaWrapper); picture = BitmapUtil.getPicture(mediaWrapper);
if (picture == null) 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) } else if (mediaWrapper.getType() == mediaWrapper.TYPE_DIR)
picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_menu_network_big); picture = BitmapFactory.decodeResource(mRes, R.drawable.ic_menu_network_big);
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment