From 71859331849fa0f7292319d7cd3c8b237fad0e75 Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Wed, 18 Dec 2013 22:01:38 -0800 Subject: Copy new bitmap for 4.3 as well --- src/github/daneren2005/dsub/util/ImageLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github/daneren2005/dsub/util/ImageLoader.java b/src/github/daneren2005/dsub/util/ImageLoader.java index 8653dfb7..e7323176 100644 --- a/src/github/daneren2005/dsub/util/ImageLoader.java +++ b/src/github/daneren2005/dsub/util/ImageLoader.java @@ -203,7 +203,7 @@ public class ImageLoader implements Runnable { private void setImage(RemoteControlClient remoteControl, Drawable drawable) { if(remoteControl != null && drawable != null) { Bitmap origBitmap = ((BitmapDrawable)drawable).getBitmap(); - if(Build.VERSION.SDK_INT > Build.VERSION_CODES.JELLY_BEAN_MR2) { + if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { origBitmap = origBitmap.copy(origBitmap.getConfig(), false); } if ( origBitmap != null && !origBitmap.isRecycled()) { -- cgit v1.2.3