diff options
author | Scott Jackson <daneren2005@gmail.com> | 2015-01-29 17:04:48 -0800 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2015-01-29 17:04:48 -0800 |
commit | 3eea65132c03517384849a2203c035c55ce2ea72 (patch) | |
tree | 2015ab5027586a150a4d7bed2783237c6e0c4dab /src/github | |
parent | f9c9be696ce0bf00f200329e5ccda42bfca23f28 (diff) | |
download | dsub-3eea65132c03517384849a2203c035c55ce2ea72.tar.gz dsub-3eea65132c03517384849a2203c035c55ce2ea72.tar.bz2 dsub-3eea65132c03517384849a2203c035c55ce2ea72.zip |
Revert last commit, was mistaken
Diffstat (limited to 'src/github')
-rw-r--r-- | src/github/daneren2005/dsub/util/ImageLoader.java | 2 |
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(); } |