[Android] fix external storage on Samsung S4
Sébastien Toque
git at videolan.org
Sun Mar 23 08:03:40 CET 2014
vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Sun Mar 23 08:03:26 2014 +0100| [50c3e09043c4dfc8683eb1131fba3598f3f118e2] | committer: Sébastien Toque
fix external storage on Samsung S4
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=50c3e09043c4dfc8683eb1131fba3598f3f118e2
---
vlc-android/src/org/videolan/vlc/Util.java | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index b9b540d..b679fd6 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -440,7 +440,9 @@ public class Util {
if (list.contains(s))
continue;
- if (line.contains("/dev/block/vold")) {
+ if (line.contains("extSdCard") && line.contains("sdcardfs"))
+ list.add(s);
+ else if (line.contains("/dev/block/vold") && !line.contains("extSdCard")) {
if (!line.startsWith("tmpfs") &&
!line.startsWith("/dev/mapper") &&
!s.startsWith("/mnt/secure") &&
More information about the Android
mailing list