[Android] x86 can be also listed on CPU_ABI2

Jean-Baptiste Kempf git at videolan.org
Fri Jul 4 23:46:05 CEST 2014


vlc-ports/android | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Fri Jul  4 23:45:49 2014 +0200| [db73f5c9a175d114fafda41dfc9875a04e5bebc5] | committer: Jean-Baptiste Kempf

x86 can be also listed on CPU_ABI2

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

 vlc-android/src/org/videolan/libvlc/LibVlcUtil.java |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
index 062e384..e5a12b8 100644
--- a/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
+++ b/vlc-android/src/org/videolan/libvlc/LibVlcUtil.java
@@ -120,7 +120,8 @@ public class LibVlcUtil {
         float bogoMIPS = -1;
         int processors = 0;
 
-        if(CPU_ABI.equals("x86")) {
+        if(CPU_ABI.equals("x86") ||
+           CPU_ABI2.equals("x86")) {
             hasX86 = true;
         } else if(CPU_ABI.equals("armeabi-v7a") ||
                   CPU_ABI2.equals("armeabi-v7a")) {



More information about the Android mailing list