diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 44dbecfd0e7132daa65c7a0938e1d9af3288c780..14ff4b9ad023b9471fe27d00a5e1b3c298a08f60 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()) {