summaryrefslogtreecommitdiffstats
path: root/verifier_test.cpp
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-11-01 11:00:20 -0700
committerDoug Zongker <dougz@android.com>2011-11-04 14:09:48 -0700
commit32a0a47a596509792fde8cdbf8b4b0705708b2be (patch)
tree55406d412c0a355dc4bdcc3fc0f2136a68af77d3 /verifier_test.cpp
parentdaefc1d442fb421606680feb9aeb59c133f4c427 (diff)
downloadbootable_recovery-32a0a47a596509792fde8cdbf8b4b0705708b2be.zip
bootable_recovery-32a0a47a596509792fde8cdbf8b4b0705708b2be.tar.gz
bootable_recovery-32a0a47a596509792fde8cdbf8b4b0705708b2be.tar.bz2
move key processing to RecoveryUI
Move the key for handling keys from ScreenRecoveryUI to RecoveryUI, so it can be used by devices without screens. Remove the UIParameters struct and replace it with some new member variables in ScreenRecoveryUI. Change-Id: I70094ecbc4acbf76ce44d5b5ec2036c36bdc3414
Diffstat (limited to 'verifier_test.cpp')
-rw-r--r--verifier_test.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/verifier_test.cpp b/verifier_test.cpp
index 2448d8d..fe5519d 100644
--- a/verifier_test.cpp
+++ b/verifier_test.cpp
@@ -84,11 +84,6 @@ class FakeUI : public RecoveryUI {
fputs(buf, stderr);
}
- int WaitKey() { return 0; }
- bool IsKeyPressed(int key) { return false; }
- void FlushKeys() { }
- KeyAction CheckKey(int key) { return ENQUEUE; }
-
void StartMenu(const char* const * headers, const char* const * items,
int initial_selection) { }
int SelectMenu(int sel) { return 0; }