diff options
author | Scott Jackson <daneren2005@gmail.com> | 2012-10-28 16:16:35 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2012-10-28 16:16:35 -0700 |
commit | ed0ce0c3e085299d5d15aa03d2d9f651d8335af4 (patch) | |
tree | 7c65483e57e535ff85102ce16ae12fe6a23bb3e0 /subsonic-android/src/github/daneren2005 | |
parent | 5856d765d8216a6eceb613ae0d70fc3e9273b193 (diff) | |
download | dsub-ed0ce0c3e085299d5d15aa03d2d9f651d8335af4.tar.gz dsub-ed0ce0c3e085299d5d15aa03d2d9f651d8335af4.tar.bz2 dsub-ed0ce0c3e085299d5d15aa03d2d9f651d8335af4.zip |
Added another check in setImage
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java index 6e0db070..79945c95 100644 --- a/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/subsonic-android/src/github/daneren2005/dsub/util/ImageLoader.java @@ -169,7 +169,7 @@ public class ImageLoader implements Runnable { } private void setImage(RemoteControlClient remoteControl, Drawable drawable) { - if(remoteControl != null) { + if(remoteControl != null && drawable != null) { Bitmap origBitmap = ((BitmapDrawable)drawable).getBitmap(); remoteControl.editMetadata(false) .putBitmap( |