From 1143f9adb397d2e83252c55fa140f7e109a8218a Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Tue, 23 Mar 2021 15:30:47 +0530 Subject: [PATCH] updater: Show update's version wherever applicable Currently at most of the places, build version is obtained from BuildInfoUtils.getBuildVersion() method. This method obtains build version from the current running system's property. At /e/, we bump version number on every new OTA. This results in version mismatch in several places in the updater app. Let's get the version from the update itself to show the proper version. Signed-off-by: Aayush Gupta --- src/org/lineageos/updater/UpdatesListAdapter.java | 9 ++------- src/org/lineageos/updater/controller/UpdaterService.java | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/src/org/lineageos/updater/UpdatesListAdapter.java b/src/org/lineageos/updater/UpdatesListAdapter.java index 189889be..4e9e50b1 100644 --- a/src/org/lineageos/updater/UpdatesListAdapter.java +++ b/src/org/lineageos/updater/UpdatesListAdapter.java @@ -250,12 +250,7 @@ public class UpdatesListAdapter extends RecyclerView.Adapter