summaryrefslogtreecommitdiffstats
path: root/gui/gui.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2016-01-21 01:12:47 +0100
committerDees Troy <dees_troy@teamw.in>2017-01-18 19:55:33 +0100
commit9472ba1d39e85b11c28d16b793fac1150ba153e5 (patch)
treea7d671186626ffe8c8b9a0bfb2d7e8c6bfc72424 /gui/gui.cpp
parentSELinux can be assumed for Android 4.4+ (diff)
downloadandroid_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar.gz
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar.bz2
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar.lz
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar.xz
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.tar.zst
android_bootable_recovery-9472ba1d39e85b11c28d16b793fac1150ba153e5.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 17ed108fc..3f1312f46 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -205,7 +205,9 @@ bool InputHandler::processInput(int timeout_ms)
break;
}
- blankTimer.resetTimerAndUnblank();
+ if (ev.code != KEY_POWER && ev.code > KEY_RESERVED)
+ blankTimer.resetTimerAndUnblank();
+
return true; // we got an event, so there might be more in the queue
}