[Android] Blind fix for mountpoint issues with some Samsung devices
Ludovic Fauvet
git at videolan.org
Mon Mar 17 19:33:18 CET 2014
vlc-ports/android | branch: master | Ludovic Fauvet <etix at videolan.org> | Mon Mar 17 18:51:42 2014 +0100| [8e31d5782ba59a840df84e0834df07294a3e5261] | committer: Ludovic Fauvet
Blind fix for mountpoint issues with some Samsung devices
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=8e31d5782ba59a840df84e0834df07294a3e5261
---
vlc-android/src/org/videolan/vlc/Util.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 02aee40..b9b540d 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -431,7 +431,8 @@ public class Util {
String line;
while((line = bufReader.readLine()) != null) {
if(line.contains("vfat") || line.contains("exfat") ||
- line.contains("/mnt") || line.contains("/Removable")) {
+ line.contains("sdcardfs") || line.contains("/mnt") ||
+ line.contains("/Removable")) {
StringTokenizer tokens = new StringTokenizer(line, " ");
String s = tokens.nextToken();
s = tokens.nextToken(); // Take the second token, i.e. mount point
More information about the Android
mailing list