diff options
author | chunggeol.kim <chunggeol.kim@samsung.com> | 2010-09-28 15:54:13 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2010-09-28 17:10:18 -0700 |
commit | 08c835ee9010773ff96d0cc5e00f17012f846157 (patch) | |
tree | e0a8abce3a74d13a8bcf94b841fb42f55c8d15e3 | |
parent | e1bbadbdedb553d273c229f3ca5c9cf78760d319 (diff) | |
download | device_samsung_crespo-08c835ee9010773ff96d0cc5e00f17012f846157.zip device_samsung_crespo-08c835ee9010773ff96d0cc5e00f17012f846157.tar.gz device_samsung_crespo-08c835ee9010773ff96d0cc5e00f17012f846157.tar.bz2 |
S5PC11X: RECOVERY: Apply "apply update from /sdcard" in recovery module.
Signed-off-by: chunggeol.kim <chunggeol.kim@samsung.com>
Change-Id: I1f8c846a1d403b75305284dc5d280ff0b0453204
-rw-r--r-- | recovery/recovery_ui.c | 8 |
1 files changed, 2 insertions, 6 deletions
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() { |