summaryrefslogtreecommitdiffstats
path: root/gui/blanktimer.hpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-07-01 22:34:53 +0200
committerGerrit Code Review <gerrit@5.9.244.119>2013-07-01 22:34:53 +0200
commitc322a1bc501ae6c37db1231ac48071b616c95354 (patch)
tree26a029a04c28ff05a8e3b1d5a1f343f93a29119c /gui/blanktimer.hpp
parentMerge "verifier_test : fix the call to verify_file" into twrp2.5 (diff)
parentDo not render the GUI when the blanktimer turns off the display. (diff)
downloadandroid_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar.gz
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar.bz2
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar.lz
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar.xz
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.tar.zst
android_bootable_recovery-c322a1bc501ae6c37db1231ac48071b616c95354.zip
Diffstat (limited to 'gui/blanktimer.hpp')
-rw-r--r--gui/blanktimer.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/blanktimer.hpp b/gui/blanktimer.hpp
index 2d83c4dae..60d5b1b42 100644
--- a/gui/blanktimer.hpp
+++ b/gui/blanktimer.hpp
@@ -30,6 +30,7 @@ class blanktimer {
int setTimerThread(void);
void resetTimerAndUnblank(void);
void setTime(int newtime);
+ bool IsScreenOff();
private:
void setConBlank(int blank);
@@ -47,6 +48,7 @@ class blanktimer {
timespec btimer;
unsigned long long sleepTimer;
int orig_brightness;
+ bool screenoff;
};
extern blanktimer blankTimer;