[Android] Util: blind fix for ASUS TF700T directories
Edward Wang
git at videolan.org
Mon Dec 17 02:43:46 CET 2012
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sun Dec 16 20:42:54 2012 -0500| [f2bb47f2d775adb12dd26bc3fa2fdde637c5e0c3] | committer: Edward Wang
Util: blind fix for ASUS TF700T directories
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=f2bb47f2d775adb12dd26bc3fa2fdde637c5e0c3
---
vlc-android/src/org/videolan/vlc/Util.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 8c7b20e..cc72ee0 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -408,7 +408,7 @@ public class Util {
list.add(Environment.getExternalStorageDirectory().getPath());
String line;
while ((line = bufReader.readLine()) != null) {
- if (line.contains("vfat") || line.contains("/mnt")) {
+ if (line.contains("vfat") || 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