summaryrefslogtreecommitdiffstats
path: root/screen_ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@google.com>2013-08-21 01:03:25 +0200
committerDoug Zongker <dougz@google.com>2013-08-21 22:44:35 +0200
commit239ac6abac4524be93fce710360c0512c6cc2ab3 (patch)
tree55428f9ad654b63d4002ca94902440648c955b96 /screen_ui.cpp
parentnotify about pending long press (diff)
downloadandroid_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.gz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.bz2
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.lz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.xz
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.tar.zst
android_bootable_recovery-239ac6abac4524be93fce710360c0512c6cc2ab3.zip
Diffstat (limited to 'screen_ui.cpp')
-rw-r--r--screen_ui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/screen_ui.cpp b/screen_ui.cpp
index 6a638582e..8376341c3 100644
--- a/screen_ui.cpp
+++ b/screen_ui.cpp
@@ -467,10 +467,11 @@ void ScreenRecoveryUI::SetProgressType(ProgressType type)
pthread_mutex_lock(&updateMutex);
if (progressBarType != type) {
progressBarType = type;
- update_progress_locked();
}
progressScopeStart = 0;
+ progressScopeSize = 0;
progress = 0;
+ update_progress_locked();
pthread_mutex_unlock(&updateMutex);
}