summaryrefslogtreecommitdiffstats
path: root/wear_ui.cpp
diff options
context:
space:
mode:
authorAlain Vongsouvanh <alainv@google.com>2016-06-08 17:56:46 +0200
committerandroid-build-merger <android-build-merger@google.com>2016-06-08 17:56:46 +0200
commitae3269accdb31d47d9b544ff7e2cba6cc20576c3 (patch)
treec1e7103b59af5d74eb576ebab7b14d34be5c0e53 /wear_ui.cpp
parentresolve merge conflicts of 1afa4d7 to nyc-mr1-dev-plus-aosp (diff)
parentresolve merge conflicts of 6aa6ddb to nyc-dev am: 771b6eb8d9 (diff)
downloadandroid_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar.gz
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar.bz2
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar.lz
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar.xz
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.tar.zst
android_bootable_recovery-ae3269accdb31d47d9b544ff7e2cba6cc20576c3.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 {