Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC-Android
Manage
Activity
Members
Labels
Plan
Issues
533
Issue boards
Milestones
Wiki
Code
Merge requests
13
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
9b640747
Commit
9b640747
authored
1 year ago
by
Robert Stone
Browse files
Options
Downloads
Patches
Plain Diff
Notification bar transparency issue resolved in Android 14
parent
3158536c
No related branches found
No related tags found
1 merge request
!1863
Notification bar transparency issue resolved in Android 14
Pipeline
#442760
passed with stages
in 20 minutes and 8 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/vlc-android/src/org/videolan/vlc/ArtworkProvider.kt
+2
-2
2 additions, 2 deletions
...ation/vlc-android/src/org/videolan/vlc/ArtworkProvider.kt
with
2 additions
and
2 deletions
application/vlc-android/src/org/videolan/vlc/ArtworkProvider.kt
+
2
−
2
View file @
9b640747
...
...
@@ -243,7 +243,7 @@ class ArtworkProvider : ContentProvider() {
// Non-square cover art will have an artworkMrl, which will be padded, re-encoded, and cached.
// Videos, tracks with no cover art, etc. use mediaId and will be processed per library item.
var
key
=
mw
?.
artworkMrl
?:
"$mediaId"
val
nonTransparent
=
(
Build
.
VERSION
.
SDK_INT
>
=
33
)
&&
(
"com.android.systemui"
==
callingPackage
)
val
nonTransparent
=
(
Build
.
VERSION
.
SDK_INT
=
=
33
)
&&
(
"com.android.systemui"
==
callingPackage
)
if
(
nonTransparent
)
key
+=
"_nonTransparent"
if
(
fallbackIcon
!=
null
)
key
+=
fallbackIcon
.
toString
()
val
image
=
getOrPutImage
(
key
)
{
...
...
@@ -551,7 +551,7 @@ class ArtworkProvider : ContentProvider() {
const
val
SHUFFLE_ALL
=
"shuffle_all"
//Used to store webp encoded bitmap of the currently playing artwork
private
val
memCache
:
LruCache
<
String
,
ByteArray
>
=
LruCache
<
String
,
ByteArray
>(
if
(
Build
.
VERSION
.
SDK_INT
>
=
33
)
2
else
1
)
private
val
memCache
:
LruCache
<
String
,
ByteArray
>
=
LruCache
<
String
,
ByteArray
>(
if
(
Build
.
VERSION
.
SDK_INT
=
=
33
)
2
else
1
)
@Synchronized
fun
clear
()
{
...
...
This diff is collapsed.
Click to expand it.
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