aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-01-29 17:04:48 -0800
committerScott Jackson <daneren2005@gmail.com>2015-01-29 17:04:48 -0800
commit3eea65132c03517384849a2203c035c55ce2ea72 (patch)
tree2015ab5027586a150a4d7bed2783237c6e0c4dab /src/github/daneren2005
parentf9c9be696ce0bf00f200329e5ccda42bfca23f28 (diff)
downloaddsub-3eea65132c03517384849a2203c035c55ce2ea72.tar.gz
dsub-3eea65132c03517384849a2203c035c55ce2ea72.tar.bz2
dsub-3eea65132c03517384849a2203c035c55ce2ea72.zip
Revert last commit, was mistaken
Diffstat (limited to 'src/github/daneren2005')
-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 a7cdee9f..1cbdc4f7 100644
--- a/src/github/daneren2005/dsub/util/ImageLoader.java
+++ b/src/github/daneren2005/dsub/util/ImageLoader.java
@@ -89,7 +89,7 @@ public class ImageLoader {
@Override
protected void entryRemoved(boolean evicted, String key, Bitmap oldBitmap, Bitmap newBitmap) {
if(evicted) {
- if(oldBitmap != nowPlaying && key.indexOf("unknown") == 0 || clearingCache) {
+ if(oldBitmap != nowPlaying && key.indexOf("unknown") != 0 || clearingCache) {
if(sizeOf("", oldBitmap) > 500) {
oldBitmap.recycle();
}