[Android] Add comment
Geoffrey Métais
git at videolan.org
Tue Feb 17 17:43:48 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb 17 17:03:19 2015 +0100| [8f48df9e45cb4fac7c0cadeda01eaa106839c791] | committer: Geoffrey Métais
Add comment
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8f48df9e45cb4fac7c0cadeda01eaa106839c791
---
vlc-android/src/org/videolan/vlc/MediaLibrary.java | 3 +++
1 file changed, 3 insertions(+)
diff --git a/vlc-android/src/org/videolan/vlc/MediaLibrary.java b/vlc-android/src/org/videolan/vlc/MediaLibrary.java
index 4a3775b..307323b 100644
--- a/vlc-android/src/org/videolan/vlc/MediaLibrary.java
+++ b/vlc-android/src/org/videolan/vlc/MediaLibrary.java
@@ -349,6 +349,9 @@ public class MediaLibrary {
}
DBManager.removeMedias(existingMedias.keySet());
+ /*
+ * In case of file matching path of a folder from another removable storage
+ */
for (File file : DBManager.getMediaDirs())
if (!file.isDirectory())
DBManager.removeDir(file.getAbsolutePath());
More information about the Android
mailing list