aboutsummaryrefslogtreecommitdiff
path: root/subsonic-android/src/github/daneren2005
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2013-05-28 20:19:31 -0700
committerScott Jackson <daneren2005@gmail.com>2013-05-28 20:19:31 -0700
commit1046868832f1bb260fd0476abdac2797a149603b (patch)
tree5da4ca3c098d394baf4a2eaeb04e48c1c405a759 /subsonic-android/src/github/daneren2005
parent665d9d88f2b1bedb9111eb0b51df6ea34b60916a (diff)
downloaddsub-1046868832f1bb260fd0476abdac2797a149603b.tar.gz
dsub-1046868832f1bb260fd0476abdac2797a149603b.tar.bz2
dsub-1046868832f1bb260fd0476abdac2797a149603b.zip
Just hard code child instead of doing separate lookup
Diffstat (limited to 'subsonic-android/src/github/daneren2005')
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java b/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
index c69a595c..44de369f 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
@@ -54,7 +54,7 @@ public class CacheCleaner {
// No songs left in the folder
if(children.length == 1 && children[0].getPath().equals(FileUtil.getAlbumArtFile(dir).getPath())) {
- Util.delete(FileUtil.getAlbumArtFile(dir));
+ Util.delete(children[0]);
children = dir.listFiles();
}