Print vercodes when logging incompatibilities

This commit is contained in:
Daniel Martí 2013-09-28 21:31:44 +02:00
parent 082802cbba
commit 82f87f677e

View File

@ -386,7 +386,7 @@ public class DB {
&& feat.equals("android.hardware.touchscreen")) { && feat.equals("android.hardware.touchscreen")) {
// Don't check it! // Don't check it!
} else if (!features.contains(feat)) { } else if (!features.contains(feat)) {
Log.d("FDroid", apk.id Log.d("FDroid", apk.id + " vercode " + apk.vercode
+ " is incompatible based on lack of " + " is incompatible based on lack of "
+ feat); + feat);
return false; return false;
@ -394,7 +394,7 @@ public class DB {
} }
} }
if (!compatibleApi(apk.nativecode)) { if (!compatibleApi(apk.nativecode)) {
Log.d("FDroid", apk.id Log.d("FDroid", apk.id + " vercode " + apk.vercode
+ " makes use of incompatible native code: " + " makes use of incompatible native code: "
+ CommaSeparatedList.str(apk.nativecode) + CommaSeparatedList.str(apk.nativecode)
+ " while your architecture is " + cpuAbis.get(0)); + " while your architecture is " + cpuAbis.get(0));