[Android] Util: some devices have armeabi-v7a in CPU_ABI2

Edward Wang git at videolan.org
Sat Aug 25 22:01:50 CEST 2012


vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Sat Aug 25 16:01:29 2012 -0400| [29dd37f0506c302935e0bc39b3ee6295773fef10] | committer: Edward Wang

Util: some devices have armeabi-v7a in CPU_ABI2

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

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

diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index 185a11e..777c6c5 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -265,7 +265,8 @@ public class Util {
         boolean hasNeon = false, hasFpu = false, hasArmV6 = false, hasArmV7 = false;
         boolean hasX86 = false;
 
-        if(android.os.Build.CPU_ABI.equals("armeabi-v7a")) {
+        if(android.os.Build.CPU_ABI.equals("armeabi-v7a") ||
+           android.os.Build.CPU_ABI2.equals("armeabi-v7a")) {
             hasArmV7 = true;
             hasArmV6 = true; /* Armv7 is backwards compatible to < v6 */
         } else if(android.os.Build.CPU_ABI.equals("armeabi") ||



More information about the Android mailing list