aboutsummaryrefslogtreecommitdiff
path: root/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-01-29 17:04:14 -0800
committerScott Jackson <daneren2005@gmail.com>2015-01-29 17:04:14 -0800
commitf9c9be696ce0bf00f200329e5ccda42bfca23f28 (patch)
treedf64304ef5abc6f122e643b89082949294cf9021 /src/github/daneren2005
parentb30700dd704c49ff5229991a20369ea493e5f163 (diff)
downloaddsub-f9c9be696ce0bf00f200329e5ccda42bfca23f28.tar.gz
dsub-f9c9be696ce0bf00f200329e5ccda42bfca23f28.tar.bz2
dsub-f9c9be696ce0bf00f200329e5ccda42bfca23f28.zip
Fix typo in revert :/
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 1cbdc4f7..a7cdee9f 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();
}