From 786d2240faf66b53d61b2a5e3d367ce9c3610600 Mon Sep 17 00:00:00 2001 From: Michael Ward Date: Thu, 23 Jun 2011 22:26:07 -0700 Subject: Allow manually applying an OTA from cache. No sdcard for tuna. Remove that option, and replace it with the option to apply an OTA from cache. Change-Id: I8d491959b140b01a34f49fc943b76739d101b6de --- recovery/recovery_ui.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'recovery') diff --git a/recovery/recovery_ui.c b/recovery/recovery_ui.c index 45b012b..50f8383 100644 --- a/recovery/recovery_ui.c +++ b/recovery/recovery_ui.c @@ -28,7 +28,7 @@ char* MENU_HEADERS[] = { "Volume up/down to move highlight;", NULL }; char* MENU_ITEMS[] = { "reboot system now", - "apply update from /sdcard", + "apply update from /cache", "wipe data/factory reset", "wipe cache partition", NULL }; @@ -107,7 +107,7 @@ int device_handle_key(int key_code, int visible) { } int device_perform_action(int which) { - return which; + return which == 1 ? ITEM_APPLY_CACHE : which; } int device_wipe_data() { -- cgit v1.1