From 8a559103a93f0516085b434a606b5e6684624e82 Mon Sep 17 00:00:00 2001 From: Gabriele M Date: Thu, 6 Jul 2017 23:50:09 +0200 Subject: [PATCH] Update progressbar only if it's not indeterminate Otherwise it can show the wrong value when it goes back to the non-indeterminate mode (e.g. after a verification failure). --- src/org/lineageos/updater/UpdatesListAdapter.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/org/lineageos/updater/UpdatesListAdapter.java b/src/org/lineageos/updater/UpdatesListAdapter.java index 8552fa1..090900e 100644 --- a/src/org/lineageos/updater/UpdatesListAdapter.java +++ b/src/org/lineageos/updater/UpdatesListAdapter.java @@ -90,11 +90,13 @@ public class UpdatesListAdapter extends RecyclerView.Adapter