Skip to content
Snippets Groups Projects
Commit fc90f162 authored by Alexandre Perraud's avatar Alexandre Perraud
Browse files

TV : Restore correct browsing video and audio default icon

parent 34828264
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
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