summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
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
commit2a697feb3931a053a5c72913a461db7210119087 (patch)
tree22ab385aa7c9a8437e35a96a0f059b1c4cbf7fd7 /wear_ui.cpp
parentresolve merge conflicts of 7ce287d to nyc-dev-plus-aosp (diff)
parentresolve merge conflicts of 6aa6ddb to nyc-dev (diff)
downloadandroid_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar.gz
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar.bz2
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar.lz
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar.xz
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.tar.zst
android_bootable_recovery-2a697feb3931a053a5c72913a461db7210119087.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 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 {