diff options
author | Scott Jackson <daneren2005@gmail.com> | 2014-10-09 13:09:17 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2014-10-09 13:09:17 -0700 |
commit | 5e7d3b29f7be834ba903cdb20412fe07f6822897 (patch) | |
tree | d357a1b54c3c638c160ea9f8a0f10c0e1a9df22a /src | |
parent | 7856d01c728a866d064788a9e386822fc38a773f (diff) | |
download | dsub-5e7d3b29f7be834ba903cdb20412fe07f6822897.tar.gz dsub-5e7d3b29f7be834ba903cdb20412fe07f6822897.tar.bz2 dsub-5e7d3b29f7be834ba903cdb20412fe07f6822897.zip |
#186 Get file for entry to delete it
Diffstat (limited to 'src')
-rw-r--r-- | src/github/daneren2005/dsub/service/CachedMusicService.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/github/daneren2005/dsub/service/CachedMusicService.java b/src/github/daneren2005/dsub/service/CachedMusicService.java index aa96dc22..a13772a9 100644 --- a/src/github/daneren2005/dsub/service/CachedMusicService.java +++ b/src/github/daneren2005/dsub/service/CachedMusicService.java @@ -179,7 +179,8 @@ public class CachedMusicService implements MusicService { // Anything remaining has been removed from server MediaStoreService store = new MediaStoreService(context); for(Entry entry: oldList) { - Util.recursiveDelete(entry, store); + File file = FileUtil.getEntryFile(context, entry); + Util.recursiveDelete(file, store); } } } |