fix our abi detector

This commit is contained in:
Max Lv
2013-03-04 19:35:08 +08:00
parent 6f0d463fc7
commit f4bc091538
2 changed files with 2 additions and 9 deletions
+1 -8
View File
@@ -73,14 +73,7 @@ public class Utils {
public static String getABI() {
String abi = getSystemProperty(ABI_PROP);
String abi2 = getSystemProperty(ABI2_PROP);
if (abi2 != null) {
if (abi2.toLowerCase().contains(ARM_ABI)) {
return ARM_ABI;
} else if (abi2.toLowerCase().contains(X86_ABI)) {
return X86_ABI;
}
} else if (abi != null) {
if (abi != null) {
if (abi.toLowerCase().contains(ARM_ABI)) {
return ARM_ABI;
} else if (abi.toLowerCase().contains(X86_ABI)) {