From a6ece12553680d6539feda969900dcf5b39313bf Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Fri, 5 Jun 2020 08:56:33 +0000 Subject: [PATCH 1/4] Point the changelog url to the Release note --- res/values/strings.xml | 2 +- src/org/lineageos/updater/misc/Utils.java | 8 ++------ 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 2b25e487..97cbc157 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -75,7 +75,7 @@ Copy URL Export update Show changelog - https://images.ecloud.global/%3$s/%1$s/e-%2$s.zip.changelog + hhttps://gitlab.e.foundation/e/os/releases/-/releases/v%1$s-pie Prioritize update process New updates found diff --git a/src/org/lineageos/updater/misc/Utils.java b/src/org/lineageos/updater/misc/Utils.java index eb2230c2..25b850ba 100644 --- a/src/org/lineageos/updater/misc/Utils.java +++ b/src/org/lineageos/updater/misc/Utils.java @@ -172,14 +172,10 @@ 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 From 10c18a5440f27ca136682b8d8c43db61a4f0081e Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Fri, 5 Jun 2020 11:20:49 +0000 Subject: [PATCH 2/4] Fix the string --- res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 97cbc157..b6648152 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -75,7 +75,7 @@ Copy URL Export update Show changelog - hhttps://gitlab.e.foundation/e/os/releases/-/releases/v%1$s-pie + hhttps://gitlab.e.foundation/e/os/releases/-/releases/v%0$s-pie Prioritize update process New updates found -- GitLab From 3e0974ad224c6c9d0adac0d84c2be1f7501a3c7a Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Fri, 5 Jun 2020 21:02:58 +0000 Subject: [PATCH 3/4] Fix URL --- res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index b6648152..78538848 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -75,7 +75,7 @@ Copy URL Export update Show changelog - hhttps://gitlab.e.foundation/e/os/releases/-/releases/v%0$s-pie + https://gitlab.e.foundation/e/os/releases/-/releases/v%0$s-pie Prioritize update process New updates found -- GitLab From 7b4de448b4a0b75979dfd0581bdad34caf097964 Mon Sep 17 00:00:00 2001 From: Romain Hunault Date: Fri, 5 Jun 2020 21:06:50 +0000 Subject: [PATCH 4/4] Set the correct number --- res/values/strings.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index 78538848..6bcba24d 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -75,7 +75,7 @@ Copy URL Export update Show changelog - https://gitlab.e.foundation/e/os/releases/-/releases/v%0$s-pie + https://gitlab.e.foundation/e/os/releases/-/releases/v%1$s-pie Prioritize update process New updates found -- GitLab