summaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2010-08-31 02:26:53 +0200
committerYing Wang <wangying@google.com>2010-08-31 02:26:53 +0200
commit21f0f97ebabb47adcbfe8d38b02685f2019b4eb3 (patch)
treec05327d377d4acd0c410d5b04829fe54e0fe96dc /default_recovery_ui.c
parentmerge -s ours from froyo-release so that upgrading to gingerbread is a git fast-forward (diff)
downloadandroid_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar.gz
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar.bz2
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar.lz
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar.xz
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.tar.zst
android_bootable_recovery-21f0f97ebabb47adcbfe8d38b02685f2019b4eb3.zip
Diffstat (limited to '')
-rw-r--r--default_recovery_ui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index 409d67934..a637ae0b5 100644
--- a/default_recovery_ui.c
+++ b/default_recovery_ui.c
@@ -44,15 +44,15 @@ int device_reboot_now(volatile char* key_pressed, int key_code) {
int device_handle_key(int key_code, int visible) {
if (visible) {
switch (key_code) {
- case KEY_DOWN:
+ case 0x3a:
case KEY_VOLUMEDOWN:
return HIGHLIGHT_DOWN;
- case KEY_UP:
+ case 0x2a:
case KEY_VOLUMEUP:
return HIGHLIGHT_UP;
- case KEY_ENTER:
+ case 0x9e:
return SELECT_ITEM;
}
}