summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2015-02-09 16:39:47 +0100
committerEthan Yonker <dees_troy@teamw.in>2015-02-09 16:42:00 +0100
commit3f15be40aa8fe06fe92868fdb1b88b1a249bd7de (patch)
treebfe3a35e225dd65cdf337547cba6a7a30e9e752e /gui/gui.cpp
parentFix erroneous infinite loop in MTP inotify_t (diff)
downloadandroid_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar.gz
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar.bz2
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar.lz
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar.xz
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.tar.zst
android_bootable_recovery-3f15be40aa8fe06fe92868fdb1b88b1a249bd7de.zip
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r--gui/gui.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 446523268..469beb630 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -588,6 +588,9 @@ static void loopTimer(void)
static int runPages(const char *page_name, const int stop_on_page_done)
{
+ DataManager::SetValue("tw_page_done", 0);
+ DataManager::SetValue("tw_gui_done", 0);
+
if (page_name)
gui_changePage(page_name);
@@ -896,7 +899,6 @@ extern "C" int gui_startPage(const char *page_name, const int allow_commands, in
}
}
#endif
- DataManager::SetValue("tw_page_done", 0);
return runPages(page_name, stop_on_page_done);
}