summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorAlain Vongsouvanh <alainv@google.com>2016-06-08 17:30:48 +0200
committerAlain Vongsouvanh <alainv@google.com>2016-06-08 17:30:48 +0200
commit771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd (patch)
tree59cca0039f0daff64462f108cbe1404a679e4dd1 /wear_ui.cpp
parentCall ioctl before each write on retry (diff)
parentrecovery: Make wear recovery more customizable. (diff)
downloadandroid_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar.gz
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar.bz2
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar.lz
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar.xz
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.tar.zst
android_bootable_recovery-771b6eb8d9fb53c7fc2a3beb0e29d3e2619f35fd.zip
Diffstat (limited to '')
-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 {