summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-11-01 20:42:30 +0100
committerDoug Zongker <dougz@android.com>2011-11-01 20:42:30 +0100
commitd538eb77ca0624514629c6e2c764b4e7470bc202 (patch)
tree55406d412c0a355dc4bdcc3fc0f2136a68af77d3
parentmove key processing to RecoveryUI (diff)
downloadandroid_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar.gz
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar.bz2
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar.lz
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar.xz
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.tar.zst
android_bootable_recovery-d538eb77ca0624514629c6e2c764b4e7470bc202.zip
Diffstat (limited to '')
-rw-r--r--Android.mk4
-rw-r--r--verifier_test.cpp5
2 files changed, 2 insertions, 7 deletions
diff --git a/Android.mk b/Android.mk
index cc848904c..a94ecc668 100644
--- a/Android.mk
+++ b/Android.mk
@@ -51,7 +51,7 @@ include $(BUILD_EXECUTABLE)
include $(CLEAR_VARS)
-LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp
+LOCAL_SRC_FILES := verifier_test.cpp verifier.cpp ui.cpp
LOCAL_MODULE := verifier_test
@@ -59,7 +59,7 @@ LOCAL_FORCE_STATIC_EXECUTABLE := true
LOCAL_MODULE_TAGS := tests
-LOCAL_STATIC_LIBRARIES := libmincrypt libcutils libstdc++ libc
+LOCAL_STATIC_LIBRARIES := libmincrypt libminui libcutils libstdc++ libc
include $(BUILD_EXECUTABLE)
diff --git a/verifier_test.cpp b/verifier_test.cpp
index 2448d8d58..fe5519d79 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; }