summaryrefslogtreecommitdiffstats
path: root/gui
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2015-09-30 19:57:46 +0200
committerDees Troy <dees_troy@teamw.in>2015-12-23 19:32:19 +0100
commit62326f4107016cd9a2d181bfab80a08180f88636 (patch)
tree19d29aaf9577a1a184a0ba10246dbe902f642861 /gui
parentAdd default brightness control (diff)
downloadandroid_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar.gz
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar.bz2
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar.lz
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar.xz
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.tar.zst
android_bootable_recovery-62326f4107016cd9a2d181bfab80a08180f88636.zip
Diffstat (limited to 'gui')
-rw-r--r--gui/action.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 0101a3778..20944dac7 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -502,6 +502,7 @@ void GUIAction::operation_end(const int operation_status)
DataManager::SetValue("tw_operation_state", 1);
DataManager::SetValue(TW_ACTION_BUSY, 0);
blankTimer.resetTimerAndUnblank();
+ property_set("twrp.action_complete", "1");
time(&Stop);
if ((int) difftime(Stop, Start) > 10)
DataManager::Vibrate("tw_action_vibrate");
@@ -536,6 +537,7 @@ int GUIAction::key(std::string arg)
int GUIAction::page(std::string arg)
{
+ property_set("twrp.action_complete", "0");
std::string page_name = gui_parse_text(arg);
return gui_changePage(page_name);
}