Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
528
Issue boards
Milestones
Wiki
Code
Merge requests
15
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC-Android
Commits
fc90f162
Commit
fc90f162
authored
9 years ago
by
Alexandre Perraud
Browse files
Options
Downloads
Patches
Plain Diff
TV : Restore correct browsing video and audio default icon
parent
34828264
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
+2
-2
2 additions, 2 deletions
...flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
with
2 additions
and
2 deletions
vlc-android/flavors/tv/src/org/videolan/vlc/gui/tv/CardPresenter.java
+
2
−
2
View file @
fc90f162
...
...
@@ -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_s
mal
l
);
picture
=
BitmapFactory
.
decodeResource
(
mRes
,
R
.
drawable
.
ic_
browser_audio_big_nor
mal
);
}
else
if
(
mediaWrapper
.
getType
()
==
mediaWrapper
.
TYPE_VIDEO
)
{
picture
=
BitmapUtil
.
getPicture
(
mediaWrapper
);
if
(
picture
==
null
)
picture
=
BitmapFactory
.
decodeResource
(
mRes
,
R
.
drawable
.
ic_
tv_icon_s
mal
l
);
picture
=
BitmapFactory
.
decodeResource
(
mRes
,
R
.
drawable
.
ic_
browser_video_big_nor
mal
);
}
else
if
(
mediaWrapper
.
getType
()
==
mediaWrapper
.
TYPE_DIR
)
picture
=
BitmapFactory
.
decodeResource
(
mRes
,
R
.
drawable
.
ic_menu_network_big
);
else
...
...
This diff is collapsed.
Click to expand it.
Alexandre Perraud
@Corbax
mentioned in commit
9c5e626a
·
9 years ago
mentioned in commit
9c5e626a
mentioned in commit 9c5e626a472e78ea65bc59e29d68b207694c0ce4
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment