[Android] remove useless buggy test

Sébastien Toque git at videolan.org
Tue Oct 16 20:32:41 CEST 2012


vlc-ports/android | branch: master | Sébastien Toque <xilasz at gmail.com> | Tue Oct 16 20:32:35 2012 +0200| [54394f53368f82ae51bdf4563fee62ebbe362437] | committer: Sébastien Toque

remove useless buggy test

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=54394f53368f82ae51bdf4563fee62ebbe362437
---

 vlc-android/src/org/videolan/vlc/Util.java |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 8cc05e9..8a11d01 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -242,9 +242,7 @@ public class Util {
 
     @TargetApi(9)
     public static boolean hasExternalStorage() {
-        return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED) ||
-                !Util.isGingerbreadOrLater() ||
-                Environment.isExternalStorageRemovable();
+        return Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED);
     }
 
     public static boolean hasNavBar()



More information about the Android mailing list