aboutsummaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-01-18 13:46:26 -0800
committerDoug Zongker <dougz@android.com>2012-01-18 15:15:39 -0800
commit48b5b0737c127a049bf16f9c69926c4da8668112 (patch)
tree92e4aeda2e0db36e09be25eef8d239983411309f /ui.cpp
parent6639248d02ce544538eea83488c1ed4a3b46a7fc (diff)
downloadbootable_recovery-48b5b0737c127a049bf16f9c69926c4da8668112.zip
bootable_recovery-48b5b0737c127a049bf16f9c69926c4da8668112.tar.gz
bootable_recovery-48b5b0737c127a049bf16f9c69926c4da8668112.tar.bz2
allow recovery UI to ignore certain keypresses
Change-Id: Id182bb95ffcc475c5acabb29b413e422302ae7f2
Diffstat (limited to 'ui.cpp')
-rw-r--r--ui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index fd370a7..bd0fcae 100644
--- a/ui.cpp
+++ b/ui.cpp
@@ -123,6 +123,9 @@ void RecoveryUI::process_key(int key_code, int updown) {
if (register_key) {
switch (CheckKey(key_code)) {
+ case RecoveryUI::IGNORE:
+ break;
+
case RecoveryUI::TOGGLE:
ShowText(!IsTextVisible());
break;