summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Vongsouvanh <alainv@google.com>2016-06-08 17:46:40 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-08 17:46:40 +0200
commit91d78acbd39ab0235daa46c61742a371266bd003 (patch)
tree9de1604337a4a12972bcf11ca913ab6631bf027a
parentMerge "recovery: Add support to brick a device." into nyc-mr1-dev (diff)
parentresolve merge conflicts of 6aa6ddb to nyc-dev (diff)
downloadandroid_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar.gz
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar.bz2
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar.lz
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar.xz
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.tar.zst
android_bootable_recovery-91d78acbd39ab0235daa46c61742a371266bd003.zip
-rw-r--r--wear_ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index 2502313ff..b437fd0ae 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -245,7 +245,7 @@ void WearRecoveryUI::progress_loop() {
if ((currentIcon == INSTALLING_UPDATE || currentIcon == ERASING)
&& !show_text) {
if (!intro_done) {
- if (current_frame == intro_frames - 1) {
+ if (current_frame >= intro_frames - 1) {
intro_done = true;
current_frame = 0;
} else {