Loading src/org/lineageos/updater/misc/Utils.java +1 −3 Original line number Diff line number Diff line Loading @@ -271,10 +271,8 @@ public class Utils { public static boolean checkForNewUpdates(File newJson) throws IOException, JSONException { List<UpdateInfo> newList = parseJson(newJson, true); float currentVersion = Float.parseFloat(BuildInfoUtils.getBuildVersion()); for (UpdateInfo update : newList) { if (Float.parseFloat(update.getVersion()) > currentVersion) { if (isCompatible(update)) { Log.d(TAG, "New compatiable update available"); return true; } Loading Loading
src/org/lineageos/updater/misc/Utils.java +1 −3 Original line number Diff line number Diff line Loading @@ -271,10 +271,8 @@ public class Utils { public static boolean checkForNewUpdates(File newJson) throws IOException, JSONException { List<UpdateInfo> newList = parseJson(newJson, true); float currentVersion = Float.parseFloat(BuildInfoUtils.getBuildVersion()); for (UpdateInfo update : newList) { if (Float.parseFloat(update.getVersion()) > currentVersion) { if (isCompatible(update)) { Log.d(TAG, "New compatiable update available"); return true; } Loading