From 66013243709b759a57d1e0403f1e7d6d2d8ff438 Mon Sep 17 00:00:00 2001 From: "Kevin T. Berstene" Date: Fri, 5 Apr 2019 16:28:02 -0400 Subject: Bugfix for album art not appearing in Auto notifications --- .../github/daneren2005/dsub/util/compat/RemoteControlClientLP.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'app/src/main/java/github/daneren2005') 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); } } -- cgit v1.2.3