diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index f15be50d..77139931 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -130,7 +130,7 @@ public class Utils { } try { UpdateInfo update = parseJsonUpdate(updatesList.getJSONObject(i)); - if (compatibleOnly && isCompatible(update)) { + if (!compatibleOnly || isCompatible(update)) { updates.add(update); } else { Log.d(TAG, "Ignoring incompatible update " + update.getName());