diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index cf91443b..8fb37624 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -85,7 +85,7 @@ public class Utils { } public static boolean canInstall(Update update) { - return update.getTimestamp() > SystemProperties.getLong(Constants.PROP_BUILD_DATE, 0) && + return update.getTimestamp() >= SystemProperties.getLong(Constants.PROP_BUILD_DATE, 0) && update.getVersion().equalsIgnoreCase( SystemProperties.get(Constants.PROP_BUILD_VERSION)); }