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
14
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
9b93cca3
Commit
9b93cca3
authored
5 years ago
by
Nicolas Pomepuy
Browse files
Options
Downloads
Patches
Plain Diff
Fix album view thumbnail size
Fixes
#828
parent
362d5466
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!345
Fix album view thumbnail size
Pipeline
#11586
passed with stage
in 4 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
+1
-3
1 addition, 3 deletions
vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
with
1 addition
and
3 deletions
vlc-android/src/org/videolan/vlc/gui/PlaylistActivity.kt
+
1
−
3
View file @
9b93cca3
...
...
@@ -23,11 +23,9 @@
package
org.videolan.vlc.gui
import
android.annotation.TargetApi
import
android.content.Intent
import
android.graphics.drawable.BitmapDrawable
import
android.net.Uri
import
android.os.Build
import
android.os.Bundle
import
android.os.Parcelable
import
android.text.TextUtils
...
...
@@ -130,7 +128,7 @@ open class PlaylistActivity : AudioPlayerContainerActivity(), IEventsHandler<Med
lifecycleScope
.
launch
{
val
cover
=
withContext
(
Dispatchers
.
IO
)
{
if
(!
TextUtils
.
isEmpty
(
playlist
.
artworkMrl
))
{
AudioUtil
.
readCoverBitmap
(
Uri
.
decode
(
playlist
.
artworkMrl
),
resources
.
getDimensionPixelSize
(
R
.
dimen
.
audio_browser_item_size
))
AudioUtil
.
readCoverBitmap
(
Uri
.
decode
(
playlist
.
artworkMrl
),
getScreenWidth
(
))
}
else
{
ThumbnailsProvider
.
getPlaylistImage
(
"playlist:${playlist.id}"
,
playlist
.
tracks
.
toList
(),
getScreenWidth
())
}
...
...
This diff is collapsed.
Click to expand it.
Nicolas Pomepuy
@Aza
mentioned in commit
82ce982f
·
5 years ago
mentioned in commit
82ce982f
mentioned in commit 82ce982fa9f43bdefb0471cc0e44bf66b34aaeb9
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