[Android] Util: blind fix for exfat drives
Edward Wang
git at videolan.org
Mon Dec 17 21:52:14 CET 2012
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Mon Dec 17 15:51:54 2012 -0500| [c72e0adee5077959622b7b7c28b52664195b30f2] | committer: Edward Wang
Util: blind fix for exfat drives
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=c72e0adee5077959622b7b7c28b52664195b30f2
---
vlc-android/src/org/videolan/vlc/Util.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index cc72ee0..8bcfe99 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -407,8 +407,9 @@ public class Util {
ArrayList<String> list = new ArrayList<String>();
list.add(Environment.getExternalStorageDirectory().getPath());
String line;
- while ((line = bufReader.readLine()) != null) {
- if (line.contains("vfat") || line.contains("/mnt") || line.contains("/Removable")) {
+ while((line = bufReader.readLine()) != null) {
+ if(line.contains("vfat") || line.contains("exfat") ||
+ 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