aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
index e530e467..a42b4832 100644
--- a/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
+++ b/app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java
@@ -169,10 +169,11 @@ public class RemoteControlClientLP extends RemoteControlClientBase {
@Override
public void updateMetadata(Context context, Entry currentSong) {
- setMetadata(currentSong, null);
-
if(currentSong != null && imageLoader != null) {
imageLoader.loadImage(context, this, currentSong);
+ setMetadata(currentSong, imageLoader.getCachedImage(context, currentSong, false));
+ } else {
+ setMetadata(currentSong, null);
}
}