summaryrefslogtreecommitdiffstats
path: root/default_recovery_ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'default_recovery_ui.c')
-rw-r--r--default_recovery_ui.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/default_recovery_ui.c b/default_recovery_ui.c
index a637ae0b5..bcba88826 100644
--- a/default_recovery_ui.c
+++ b/default_recovery_ui.c
@@ -24,7 +24,7 @@ char* MENU_HEADERS[] = { "Android system recovery utility",
NULL };
char* MENU_ITEMS[] = { "reboot system now",
- "apply sdcard:update.zip",
+ "apply update from external storage",
"wipe data/factory reset",
"wipe cache partition",
NULL };
@@ -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 0x3a:
+ case KEY_DOWN:
case KEY_VOLUMEDOWN:
return HIGHLIGHT_DOWN;
- case 0x2a:
+ case KEY_UP:
case KEY_VOLUMEUP:
return HIGHLIGHT_UP;
- case 0x9e:
+ case KEY_ENTER:
return SELECT_ITEM;
}
}