aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
authorKevin T. Berstene <kberstene@gmail.com>2019-04-05 16:28:02 -0400
committerKevin T. Berstene <kberstene@gmail.com>2019-04-05 16:28:02 -0400
commit66013243709b759a57d1e0403f1e7d6d2d8ff438 (patch)
tree323e2eadc5b021143bca2ec1dee2514f261ca817 /app/src/main/java
parent2b26df335ccff17e3970ac94f4c0abfbd6898a47 (diff)
downloaddsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.tar.gz
dsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.tar.bz2
dsub-66013243709b759a57d1e0403f1e7d6d2d8ff438.zip
Bugfix for album art not appearing in Auto notifications
Diffstat (limited to 'app/src/main/java')
-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);
}
}