From 1046868832f1bb260fd0476abdac2797a149603b Mon Sep 17 00:00:00 2001 From: Scott Jackson Date: Tue, 28 May 2013 20:19:31 -0700 Subject: Just hard code child instead of doing separate lookup --- subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subsonic-android/src/github') 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(); } -- cgit v1.2.3