diff options
author | Kevin T. Berstene <kberstene@gmail.com> | 2019-04-05 16:28:02 -0400 |
---|---|---|
committer | Kevin T. Berstene <kberstene@gmail.com> | 2019-04-05 16:28:02 -0400 |
commit | 66013243709b759a57d1e0403f1e7d6d2d8ff438 (patch) | |
tree | 323e2eadc5b021143bca2ec1dee2514f261ca817 /app/src | |
parent | 2b26df335ccff17e3970ac94f4c0abfbd6898a47 (diff) | |
download | dsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.tar.gz dsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.tar.bz2 dsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.zip |
Bugfix for album art not appearing in Auto notifications
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/github/daneren2005/dsub/util/compat/RemoteControlClientLP.java | 5 |
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); } } |