Loading src/org/lineageos/updater/misc/Utils.java +5 −1 Original line number Diff line number Diff line Loading @@ -100,6 +100,10 @@ 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; } Loading Loading @@ -144,7 +148,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 = "dev"; String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT); String serverUrl = SystemProperties.get(Constants.PROP_UPDATER_URI); if (serverUrl.trim().isEmpty()) { Loading Loading
src/org/lineageos/updater/misc/Utils.java +5 −1 Original line number Diff line number Diff line Loading @@ -100,6 +100,10 @@ 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; } Loading Loading @@ -144,7 +148,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 = "dev"; String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT); String serverUrl = SystemProperties.get(Constants.PROP_UPDATER_URI); if (serverUrl.trim().isEmpty()) { Loading