From 08c835ee9010773ff96d0cc5e00f17012f846157 Mon Sep 17 00:00:00 2001 From: "chunggeol.kim" Date: Tue, 28 Sep 2010 15:54:13 -0700 Subject: S5PC11X: RECOVERY: Apply "apply update from /sdcard" in recovery module. Signed-off-by: chunggeol.kim Change-Id: I1f8c846a1d403b75305284dc5d280ff0b0453204 --- recovery/recovery_ui.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'recovery') diff --git a/recovery/recovery_ui.c b/recovery/recovery_ui.c index 61283f1..3474832 100644 --- a/recovery/recovery_ui.c +++ b/recovery/recovery_ui.c @@ -25,6 +25,7 @@ char* MENU_HEADERS[] = { "Volume up/down to move highlight;", NULL }; char* MENU_ITEMS[] = { "reboot system now", + "apply update from /sdcard", "wipe data/factory reset", "wipe cache partition", NULL }; @@ -72,12 +73,7 @@ int device_handle_key(int key_code, int visible) { } int device_perform_action(int which) { - switch (which) { - case 0: return ITEM_REBOOT; - case 1: return ITEM_WIPE_DATA; - case 2: return ITEM_WIPE_CACHE; - } - return NO_ACTION; + return which; } int device_wipe_data() { -- cgit v1.1