summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-10-27 15:49:01 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-11-09 21:57:23 +0100
commite0f1f3b4d1860143070d15501e19546680ed664a (patch)
treefe735392f3ca0709ae84e7729568fcaa5b43d6ce /gui/gui.cpp
parentFix rules for libstlport (diff)
downloadandroid_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.gz
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.bz2
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.lz
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.xz
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.tar.zst
android_bootable_recovery-e0f1f3b4d1860143070d15501e19546680ed664a.zip
Diffstat (limited to '')
-rw-r--r--gui/gui.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index a5ac33e86..31b61be6d 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -663,6 +663,8 @@ static int runPages(const char *page_name, const int stop_on_page_done)
int ret = PageManager::Update();
if (ret == 0)
++idle_frames;
+ else if (ret == -2)
+ break; // Theme reload failure
else
idle_frames = 0;
// due to possible animation objects, we need to delay activating the input timeout