aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlain Vongsouvanh2016-06-07 12:05:29 -0500
committerAlain Vongsouvanh2016-06-07 12:05:29 -0500
commit5b00110e3d6c4af97cd7699a5c61fab2f973107e (patch)
tree1e4f7ca0940723d085f6432571d7fd5a8d7cfdb9 /wear_ui.cpp
parentfc1d9a49d1e33c133c96cf6b04d6f47d3cfaa496 (diff)
downloadplatform-bootable-recovery-5b00110e3d6c4af97cd7699a5c61fab2f973107e.tar.gz
platform-bootable-recovery-5b00110e3d6c4af97cd7699a5c61fab2f973107e.tar.xz
platform-bootable-recovery-5b00110e3d6c4af97cd7699a5c61fab2f973107e.zip
recovery: Make wear recovery more customizable.
Making animation_fps protected and adding support for 0 frames intro. BUG: 29085786 Change-Id: I07b44570022bad89661973178d453592c01f3f10
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 55b7afc8..ebe0dfe3 100644
--- a/wear_ui.cpp
+++ b/wear_ui.cpp
@@ -288,7 +288,7 @@ void WearRecoveryUI::progress_loop() {
288 if ((currentIcon == INSTALLING_UPDATE || currentIcon == ERASING) 288 if ((currentIcon == INSTALLING_UPDATE || currentIcon == ERASING)
289 && !show_text) { 289 && !show_text) {
290 if (!intro_done) { 290 if (!intro_done) {
291 if (current_frame == intro_frames - 1) { 291 if (current_frame >= intro_frames - 1) {
292 intro_done = true; 292 intro_done = true;
293 current_frame = 0; 293 current_frame = 0;
294 } else { 294 } else {