summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorAlain Vongsouvanh <alainv@google.com>2016-06-08 17:10:54 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-08 17:10:54 +0200
commit6aa6ddb3c584dbf89739465bf2f703d8e1b28c26 (patch)
treea8dec2532f8f9d7e212f38545672a45afe8304b9 /wear_ui.cpp
parentresolve merge conflicts of 86a28d0 to klp-modular-dev am: a5bc59620f am: 36acff7d7e am: 1f814d7630 am: ca45737e27 am: 8a1d4e97ad am: aa02888e55 am: 300af0779d (diff)
parentrecovery: Make wear recovery more customizable. (diff)
downloadandroid_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar.gz
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar.bz2
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar.lz
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar.xz
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.tar.zst
android_bootable_recovery-6aa6ddb3c584dbf89739465bf2f703d8e1b28c26.zip
Diffstat (limited to 'wear_ui.cpp')
-rw-r--r--wear_ui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/wear_ui.cpp b/wear_ui.cpp
index 55b7afc8f..ebe0dfe37 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -288,7 +288,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 {