summaryrefslogtreecommitdiffstats
path: root/ui.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2012-01-18 23:02:41 +0100
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-01-18 23:02:41 +0100
commit45fdb3899dfc1986290667f4a33f3088f0d80aab (patch)
treeb69dc671e0cfc5a7076cf4220291e65ca977cab5 /ui.cpp
parentsupport "sideload over ADB" mode (diff)
parentallow recovery UI to ignore certain keypresses (diff)
downloadandroid_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar.gz
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar.bz2
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar.lz
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar.xz
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.tar.zst
android_bootable_recovery-45fdb3899dfc1986290667f4a33f3088f0d80aab.zip
Diffstat (limited to '')
-rw-r--r--ui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui.cpp b/ui.cpp
index fd370a79f..bd0fcae62 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;