[Android] Remove the NO_NEON error message

Jean-Baptiste Kempf git at videolan.org
Tue Oct 9 17:19:05 CEST 2012


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Mon Oct  8 20:00:28 2012 +0200| [19808cf38b0019e32a7d60f4244999f25b8c22c9] | committer: Jean-Baptiste Kempf

Remove the NO_NEON error message

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

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

diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 2588bdf..88146a8 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -268,7 +268,6 @@ public class Util {
         }
 
         String ANDROID_ABI = properties.getProperty("ANDROID_ABI");
-        boolean NO_NEON = properties.getProperty("NO_NEON","0").equals("1");
         boolean NO_FPU = properties.getProperty("NO_FPU","0").equals("1");
         boolean NO_ARMV6 = properties.getProperty("NO_ARMV6","0").equals("1");
         boolean hasNeon = false, hasFpu = false, hasArmV6 = false, hasArmV7 = false;
@@ -342,10 +341,8 @@ public class Util {
             }
         }
         if(ANDROID_ABI.equals("armeabi") || ANDROID_ABI.equals("armeabi-v7a")) {
-            if(!NO_NEON && !hasNeon) {
+            if(!hasNeon) {
                 errorMsg = "NEON build on non-NEON device";
-                isCompatible = false;
-                return false;
             }
         }
         errorMsg = null;



More information about the Android mailing list