aboutsummaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
authorKoushik K. Dutta <koushd@gmail.com>2010-02-12 00:43:24 -0800
committerKoushik K. Dutta <koushd@gmail.com>2010-02-12 00:43:24 -0800
commite923487ff6ae9978959abacf421e018bcb013c10 (patch)
tree104de702c94550f2176be8f6a2af8154d92d0f53 /default_recovery_ui.c
parent1f14c9a1f1dd29dbef6a96e051cd992a7aa593fc (diff)
downloadbootable_recovery-e923487ff6ae9978959abacf421e018bcb013c10.zip
bootable_recovery-e923487ff6ae9978959abacf421e018bcb013c10.tar.gz
bootable_recovery-e923487ff6ae9978959abacf421e018bcb013c10.tar.bz2
working recovery image!
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index 025ee98..3514477 100644
--- a/default_recovery_ui.c
+++ b/default_recovery_ui.c
@@ -27,6 +27,7 @@ char* MENU_ITEMS[] = { "reboot system now",
"apply sdcard:update.zip",
"wipe data/factory reset",
"wipe cache partition",
+ "install zip from sdcard",
"toggle signature verification",
"toggle script asserts",
NULL };
@@ -56,6 +57,9 @@ int device_handle_key(int key_code, int visible) {
case KEY_ENTER:
case BTN_MOUSE:
return SELECT_ITEM;
+ case KEY_BACKSPACE:
+ case KEY_END:
+ return GO_BACK;
}
}