From 131ed5a3d7fa4bcbde76fb8ecfd5c05096436a75 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Mon, 21 Jan 2019 15:44:34 +0100 Subject: [PATCH 1/2] Move to dev channel --- src/org/lineageos/updater/misc/Utils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 4d0bb700..16882bfe 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -148,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 = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(Locale.ROOT); + String type = "dev"; String serverUrl = SystemProperties.get(Constants.PROP_UPDATER_URI); if (serverUrl.trim().isEmpty()) { -- GitLab From 4bda4ec0b7ac33abf1a45c6099880d74f2a863f7 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Wed, 23 Jan 2019 09:10:00 +0100 Subject: [PATCH 2/2] Disable release type verification --- src/org/lineageos/updater/misc/Utils.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 16882bfe..98264425 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; } -- GitLab