Loading src/org/lineageos/updater/misc/Utils.java +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ public class Utils { public static boolean canInstall(UpdateBaseInfo update) { return (SystemProperties.getBoolean(Constants.PROP_UPDATER_ALLOW_DOWNGRADING, false) || update.getTimestamp() > SystemProperties.getLong(Constants.PROP_BUILD_DATE, 0) || update.getAndroidVersion().equals(SystemProperties.get(Constants.PROP_BUILD_ANDROID_VERSION)); update.getAndroidVersion().equals(SystemProperties.get(Constants.PROP_BUILD_ANDROID_VERSION))); } public static List<UpdateInfo> parseJson(File file, boolean compatibleOnly) Loading Loading
src/org/lineageos/updater/misc/Utils.java +1 −1 Original line number Diff line number Diff line Loading @@ -112,7 +112,7 @@ public class Utils { public static boolean canInstall(UpdateBaseInfo update) { return (SystemProperties.getBoolean(Constants.PROP_UPDATER_ALLOW_DOWNGRADING, false) || update.getTimestamp() > SystemProperties.getLong(Constants.PROP_BUILD_DATE, 0) || update.getAndroidVersion().equals(SystemProperties.get(Constants.PROP_BUILD_ANDROID_VERSION)); update.getAndroidVersion().equals(SystemProperties.get(Constants.PROP_BUILD_ANDROID_VERSION))); } public static List<UpdateInfo> parseJson(File file, boolean compatibleOnly) Loading