summaryrefslogtreecommitdiffstats
path: root/gui/blanktimer.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-07-12 17:05:29 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-08-24 14:45:46 +0200
commit1c8d4fb0ead62ee88d890b3e0aa816513255439b (patch)
tree42bd86a76ce8b39ba0ef43bf1ca6a2971d75b7f7 /gui/blanktimer.cpp
parentRevert "Fix touch not working due to gr_fb_width returning 0 in some cases" (diff)
downloadandroid_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar.gz
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar.bz2
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar.lz
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar.xz
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.tar.zst
android_bootable_recovery-1c8d4fb0ead62ee88d890b3e0aa816513255439b.zip
Diffstat (limited to '')
-rw-r--r--gui/blanktimer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/blanktimer.cpp b/gui/blanktimer.cpp
index 0b1f0083c..a513ff057 100644
--- a/gui/blanktimer.cpp
+++ b/gui/blanktimer.cpp
@@ -98,6 +98,7 @@ int blanktimer::setClockTimer(void) {
setConBlank(2);
setBrightness(0);
screenoff = true;
+ TWFunc::check_and_run_script("/sbin/postscreenblank.sh", "blank");
PageManager::ChangeOverlay("lock");
}
#ifndef TW_NO_SCREEN_BLANK
@@ -149,6 +150,7 @@ void blanktimer::resetTimerAndUnblank(void) {
break;
}
#endif
+ TWFunc::check_and_run_script("/sbin/postscreenunblank.sh", "unblank");
// No break here, we want to keep going
case 2:
gui_forceRender();