From c5584b66477e485bf28b79c6087fe9835ea52de2 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Sun, 7 Jun 2020 17:12:59 +0000 Subject: [PATCH] Set the link to the release note --- res/values/strings.xml | 2 +- src/org/lineageos/updater/misc/Utils.java | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 7572066c..b61cd583 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -69,7 +69,7 @@ Copy URL Export update Show changelog - https://images.ecloud.global/%3$s/%1$s/e-%2$s.zip.changelog + https://gitlab.e.foundation/e/os/releases/-/releases/v%1$s-nougat New updates found No new updates found diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index 44dbecfd..1201b52b 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -161,14 +161,9 @@ public class Utils { } public static String getChangelogURL(Context context) { - String device = SystemProperties.get(Constants.PROP_NEXT_DEVICE, - SystemProperties.get(Constants.PROP_DEVICE)); - - String version = SystemProperties.get(Constants.PROP_VERSION); - - String releaseType = SystemProperties.get(Constants.PROP_RELEASE_TYPE); + String buildVersion = SystemProperties.get(Constants.PROP_BUILD_VERSION); - return context.getString(R.string.menu_changelog_url, device, version, releaseType); + return context.getString(R.string.menu_changelog_url, buildVersion); } public static void triggerUpdate(Context context, String downloadId) { -- GitLab