Start cpuAbis at length 2, place secondary abi at second position
This commit is contained in:
parent
066f67bcd4
commit
eeeace080f
@ -370,10 +370,11 @@ public class DB {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cpuAbis = new ArrayList<String>();
|
cpuAbis = new ArrayList<String>(2);
|
||||||
if (hasApi(8))
|
|
||||||
cpuAbis.add(android.os.Build.CPU_ABI2);
|
|
||||||
cpuAbis.add(android.os.Build.CPU_ABI);
|
cpuAbis.add(android.os.Build.CPU_ABI);
|
||||||
|
if (hasApi(8)) {
|
||||||
|
cpuAbis.add(android.os.Build.CPU_ABI2);
|
||||||
|
}
|
||||||
|
|
||||||
Log.d("FDroid", logMsg.toString());
|
Log.d("FDroid", logMsg.toString());
|
||||||
}
|
}
|
||||||
@ -406,8 +407,7 @@ public class DB {
|
|||||||
}
|
}
|
||||||
if (!compatibleApi(apk.nativecode)) {
|
if (!compatibleApi(apk.nativecode)) {
|
||||||
Log.d("FDroid", apk.id + " vercode " + apk.vercode
|
Log.d("FDroid", apk.id + " vercode " + apk.vercode
|
||||||
+ " makes use of incompatible native code: "
|
+ " only supports " + CommaSeparatedList.str(apk.nativecode)
|
||||||
+ CommaSeparatedList.str(apk.nativecode)
|
|
||||||
+ " while your architecture is " + cpuAbis.get(0));
|
+ " while your architecture is " + cpuAbis.get(0));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user