Loading src/org/lineageos/updater/misc/Utils.java +6 −2 Original line number Diff line number Diff line Loading @@ -201,10 +201,14 @@ public class Utils { continue; } try { UpdateInfo update = parseJsonUpdate(updatesList.getJSONObject(i)); boolean isValidated = JsonValidator.validateResponseObject( updatesList.getJSONObject(i)); if (isValidated && (!compatibleOnly || isCompatible(update))) { if (!isValidated) { Log.d(TAG, "Ignoring incompatible update"); continue; } UpdateInfo update = parseJsonUpdate(updatesList.getJSONObject(i)); if (!compatibleOnly || isCompatible(update)) { updates.add(update); } else { Log.d(TAG, "Ignoring incompatible update " + update.getName()); Loading Loading
src/org/lineageos/updater/misc/Utils.java +6 −2 Original line number Diff line number Diff line Loading @@ -201,10 +201,14 @@ public class Utils { continue; } try { UpdateInfo update = parseJsonUpdate(updatesList.getJSONObject(i)); boolean isValidated = JsonValidator.validateResponseObject( updatesList.getJSONObject(i)); if (isValidated && (!compatibleOnly || isCompatible(update))) { if (!isValidated) { Log.d(TAG, "Ignoring incompatible update"); continue; } UpdateInfo update = parseJsonUpdate(updatesList.getJSONObject(i)); if (!compatibleOnly || isCompatible(update)) { updates.add(update); } else { Log.d(TAG, "Ignoring incompatible update " + update.getName()); Loading