recovery: Make wear recovery more customizable.
Making animation_fps protected and adding support for 0 frames intro.
BUG: 29085786
Change-Id: I07b44570022bad89661973178d453592c01f3f10
diff --git a/wear_ui.cpp b/wear_ui.cpp
index 55b7afc..ebe0dfe 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -288,7 +288,7 @@
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 {