aboutsummaryrefslogtreecommitdiff
path: root/src/github
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-12-18 22:01:38 -0800
committerScott Jackson <daneren2005@gmail.com>2013-12-18 22:01:38 -0800
commit71859331849fa0f7292319d7cd3c8b237fad0e75 (patch)
tree3101b6bf22e786744ac2e95a33fcad0cf4df2516 /src/github
parentbe9c2db34e183fc24a54452b31adcd9fb2510310 (diff)
downloaddsub-71859331849fa0f7292319d7cd3c8b237fad0e75.tar.gz
dsub-71859331849fa0f7292319d7cd3c8b237fad0e75.tar.bz2
dsub-71859331849fa0f7292319d7cd3c8b237fad0e75.zip
Copy new bitmap for 4.3 as well
Diffstat (limited to 'src/github')
-rw-r--r--src/github/daneren2005/dsub/util/ImageLoader.java2
1 files changed, 1 insertions, 1 deletions
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()) {