fix our abi detector
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.github.shadowsocks"
|
||||
android:installLocation="auto"
|
||||
android:versionCode="14"
|
||||
android:versionCode="15"
|
||||
android:versionName="1.3.3">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
|
||||
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user