From 122377db5fe0e558d3ee6a4875e99c83f57f668a Mon Sep 17 00:00:00 2001 From: Michael W Date: Sun, 14 Apr 2019 23:52:52 +0200 Subject: [PATCH] Updater: Make upgrade-url device specific * After moving from the generic /upgrade.html url to a device specific one, updater needs to display that instead Change-Id: If9fc6bddfab206a97283f2080ea4df0cbb742a7d --- res/values/strings.xml | 2 +- src/org/lineageos/updater/UpdatesListAdapter.java | 2 +- src/org/lineageos/updater/misc/Utils.java | 6 ++++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/res/values/strings.xml b/res/values/strings.xml index b3ce44e0..d8b0fd90 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -142,7 +142,7 @@ Update blocked This update cannot be installed using the updater app. Please read %1$s for more information. - http://wiki.lineageos.org/upgrading.html + http://wiki.lineageos.org/devices/%1$s/upgrade Export completion New updates diff --git a/src/org/lineageos/updater/UpdatesListAdapter.java b/src/org/lineageos/updater/UpdatesListAdapter.java index e6f4e9a3..a1aa9442 100644 --- a/src/org/lineageos/updater/UpdatesListAdapter.java +++ b/src/org/lineageos/updater/UpdatesListAdapter.java @@ -536,7 +536,7 @@ public class UpdatesListAdapter extends RecyclerView.Adapter