diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 4d0bb70065dc645cd79277c9ed7cbb052153cf78..982644252fd1c2770bbce2bc8e00e5b9f255d91f 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -100,10 +100,6 @@ public class Utils { Log.d(TAG, update.getName() + " is older than/equal to the current build"); return false; } - if (!update.getType().equalsIgnoreCase(SystemProperties.get(Constants.PROP_RELEASE_TYPE))) { - Log.d(TAG, update.getName() + " has type " + update.getType()); - return false; - } return true; } @@ -148,7 +144,7 @@ public class Utils { String incrementalVersion = SystemProperties.get(Constants.PROP_BUILD_VERSION_INCREMENTAL); String device = SystemProperties.get(Constants.PROP_NEXT_DEVICE, SystemProperties.get(Constants.PROP_DEVICE)); - String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT); + String type = "dev"; String serverUrl = SystemProperties.get(Constants.PROP_UPDATER_URI); if (serverUrl.trim().isEmpty()) {