summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorthat <github@that.at>2015-01-11 12:16:53 +0100
committerthat <github@that.at>2015-01-11 12:16:53 +0100
commitfb759d45f5c95e3184ffc9c35b57a0a463a6d1ab (patch)
tree66389b15099bbdc842b30b9863bc182ff6513337 /gui/action.cpp
parentFix restore of images for mtd and bml nand (diff)
downloadandroid_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar.gz
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar.bz2
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar.lz
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar.xz
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.tar.zst
android_bootable_recovery-fb759d45f5c95e3184ffc9c35b57a0a463a6d1ab.zip
Diffstat (limited to 'gui/action.cpp')
-rw-r--r--gui/action.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 953439906..a341e4a62 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -42,9 +42,7 @@
#include "../adb_install.h"
#include "../fuse_sideload.h"
-#ifndef TW_NO_SCREEN_TIMEOUT
#include "blanktimer.hpp"
-#endif
extern "C" {
#include "../twcommon.h"
#include "../minuitwrp/minui.h"
@@ -59,10 +57,6 @@ extern "C" {
#include "rapidxml.hpp"
#include "objects.hpp"
-#ifndef TW_NO_SCREEN_TIMEOUT
-extern blanktimer blankTimer;
-#endif
-
void curtainClose(void);
GUIAction::mapFunc GUIAction::mf;
@@ -446,9 +440,7 @@ void GUIAction::operation_end(const int operation_status)
}
DataManager::SetValue("tw_operation_state", 1);
DataManager::SetValue(TW_ACTION_BUSY, 0);
-#ifndef TW_NO_SCREEN_TIMEOUT
blankTimer.resetTimerAndUnblank();
-#endif
time(&Stop);
if ((int) difftime(Stop, Start) > 10)
DataManager::Vibrate("tw_action_vibrate");