diff options
author | Doug Zongker <dougz@google.com> | 2013-08-21 01:03:25 +0200 |
---|---|---|
committer | Doug Zongker <dougz@google.com> | 2013-08-21 22:44:35 +0200 |
commit | 239ac6abac4524be93fce710360c0512c6cc2ab3 (patch) | |
tree | 55428f9ad654b63d4002ca94902440648c955b96 /screen_ui.cpp | |
parent | notify about pending long press (diff) | |
download | android_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.cpp | 3 |
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); } |