[Android] Util: Correct x86 detection
Edward Wang
git at videolan.org
Fri Aug 31 15:28:51 CEST 2012
vlc-ports/android | branch: master | Edward Wang <edward.c.wang at compdigitec.com> | Fri Aug 31 09:28:25 2012 -0400| [562b27816651af61fd4221a83dcf9b821a8541a7] | committer: Edward Wang
Util: Correct x86 detection
> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=562b27816651af61fd4221a83dcf9b821a8541a7
---
vlc-android/src/org/videolan/vlc/Util.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/vlc-android/src/org/videolan/vlc/Util.java b/vlc-android/src/org/videolan/vlc/Util.java
index ca059c3..429d39b 100644
--- a/vlc-android/src/org/videolan/vlc/Util.java
+++ b/vlc-android/src/org/videolan/vlc/Util.java
@@ -289,7 +289,7 @@ public class Util {
hasArmV6 = true;
// "clflush size" is a x86-specific cpuinfo tag.
// (see kernel sources arch/x86/kernel/cpu/proc.c)
- if(!(hasArmV6 || hasArmV7 || hasX86) && line.contains("clflush size"))
+ if(line.contains("clflush size"))
hasX86 = true;
// TODO: MIPS - "microsecond timers"; see arch/mips/kernel/proc.c
if(!hasNeon && line.contains("neon"))
More information about the Android
mailing list