[Android] AudioUtil: do not clear user playlists
Edward Wang
git at videolan.org
Thu Jun 19 00:31:30 CEST 2014
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Wed Jun 18 18:30:47 2014 -0400| [35efef614c486b5c811e673ff5b9c02e2d0eb441] | committer: Edward Wang
AudioUtil: do not clear user playlists
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=35efef614c486b5c811e673ff5b9c02e2d0eb441
---
vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
index 0765b01..6c3c490 100644
--- a/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
+++ b/vlc-android/src/org/videolan/vlc/gui/audio/AudioUtil.java
@@ -125,7 +125,7 @@ public class AudioUtil {
COVER_DIR = CACHE_DIR + "/covers/";
PLAYLIST_DIR = CACHE_DIR + "/playlists/";
- for(String path : Arrays.asList(ART_DIR, COVER_DIR, PLAYLIST_DIR)) {
+ for(String path : Arrays.asList(ART_DIR, COVER_DIR)) {
File file = new File(path);
if (!file.exists())
file.mkdirs();
@@ -133,7 +133,7 @@ public class AudioUtil {
}
public static void clearCacheFolders() {
- for(String path : Arrays.asList(ART_DIR, COVER_DIR, PLAYLIST_DIR)) {
+ for(String path : Arrays.asList(ART_DIR, COVER_DIR)) {
File file = new File(path);
if (file.exists())
deleteContent(file, false);
More information about the Android
mailing list