summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Vongsouvanh <alainv@google.com>2016-06-08 17:51:48 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-08 17:51:48 +0200
commit61da13a57f0bb13fff93e89324e52fe61b14570f (patch)
tree8adc9cf251eaac1c5c6964941c594db549e8dc26
parentresolve merge conflicts of 1afa4d7 to nyc-mr1-dev-plus-aosp (diff)
parentresolve merge conflicts of 6aa6ddb to nyc-dev (diff)
downloadandroid_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar.gz
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar.bz2
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar.lz
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar.xz
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.tar.zst
android_bootable_recovery-61da13a57f0bb13fff93e89324e52fe61b14570f.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 5451ed1aa..e078134ce 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 {