[Android] Add mountpoints to whitelist
Geoffrey Métais
git at videolan.org
Thu Mar 5 18:11:36 CET 2015
vlc-ports/android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Mar 5 18:10:52 2015 +0100| [2481bdc52834f99905b0b9ebebf3988addbf33cd] | committer: Geoffrey Métais
Add mountpoints to whitelist
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=2481bdc52834f99905b0b9ebebf3988addbf33cd
---
vlc-android/src/org/videolan/vlc/util/AndroidDevices.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
index 035f6d8..003c2e0 100644
--- a/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
+++ b/vlc-android/src/org/videolan/vlc/util/AndroidDevices.java
@@ -98,7 +98,7 @@ public class AndroidDevices {
List<String> typeWL = Arrays.asList("vfat", "exfat", "sdcardfs", "fuse", "ntfs", "fat32", "ext3", "ext4", "esdfs");
List<String> typeBL = Arrays.asList("tmpfs");
- String[] mountWL = { "/mnt", "/Removable" };
+ String[] mountWL = { "/mnt", "/Removable", "/storage" };
String[] mountBL = {
"/mnt/secure",
"/mnt/shell",
@@ -110,7 +110,7 @@ public class AndroidDevices {
String[] deviceWL = {
"/dev/block/vold",
"/dev/fuse",
- "/mnt/media_rw/extSdCard" };
+ "/mnt/media_rw" };
try {
bufReader = new BufferedReader(new FileReader("/proc/mounts"));
More information about the Android
mailing list