From ca5b75ebd14b17decf22c14c4edb547f5ca3aad8 Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Tue, 8 Aug 2017 19:08:37 +0200 Subject: [PATCH] Don't use lower case device names when requesting the updates list URLs are case sensitive, the server expects the same exact value stored in the system property, so don't change it. --- 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 54bd4c0..9751da5 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -148,7 +148,7 @@ public class Utils { serverUrl = context.getString(R.string.conf_update_server_url_def); } String incrementalVersion = SystemProperties.get(Constants.PROP_BUILD_VERSION_INCREMENTAL); - String device = SystemProperties.get(Constants.PROP_DEVICE).toLowerCase(); + String device = SystemProperties.get(Constants.PROP_DEVICE); String type = SystemProperties.get(Constants.PROP_RELEASE_TYPE).toLowerCase(); return serverUrl + "/v1/" + device + "/" + type + "/" + incrementalVersion; }