mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-08-29 21:27:40 +00:00
Small change to isolate NPE
We have NPE reports from the line mpris.fetchedAlbumArt(url.toString()). I'm not sure if it's because mpris is null or url is null. Spliting in two lines to see where the crash actually happens.
This commit is contained in:
parent
a081260620
commit
6379679e2b
@ -384,7 +384,8 @@ internal object AlbumArtCache {
|
||||
|
||||
//So notify the mpris plugins of the fetched art
|
||||
for (mpris in registeredPlugins) {
|
||||
mpris.fetchedAlbumArt(url.toString())
|
||||
val stringUrl = url.toString()
|
||||
mpris.fetchedAlbumArt(stringUrl)
|
||||
}
|
||||
} else {
|
||||
//Mark the fetch as failed in the memory cache
|
||||
|
Loading…
x
Reference in New Issue
Block a user