aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java b/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
index eee014b6..83c2c415 100644
--- a/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
+++ b/subsonic-android/src/github/daneren2005/dsub/util/CacheCleaner.java
@@ -94,6 +94,7 @@ public class CacheCleaner {
long bytesDeleted = 0L;
for (File file : files) {
+ if(!deletePartials && bytesDeleted > bytesToDelete) break;
if (file.getName().equals(Constants.ALBUM_ART_FILE)) {
// Move artwork to new folder.