diff options
author | Michael Ward <mikeward@google.com> | 2011-06-23 22:26:07 -0700 |
---|---|---|
committer | Michael Ward <mikeward@google.com> | 2011-06-24 11:06:02 -0700 |
commit | 786d2240faf66b53d61b2a5e3d367ce9c3610600 (patch) | |
tree | 86f34dde1d3e127129ed8483b795235b53201f8b /recovery | |
parent | 8fe1f9d02cab9673614fcfc9e92b21f7579c2485 (diff) | |
download | device_samsung_tuna-786d2240faf66b53d61b2a5e3d367ce9c3610600.zip device_samsung_tuna-786d2240faf66b53d61b2a5e3d367ce9c3610600.tar.gz device_samsung_tuna-786d2240faf66b53d61b2a5e3d367ce9c3610600.tar.bz2 |
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
Diffstat (limited to 'recovery')
-rw-r--r-- | recovery/recovery_ui.c | 4 |
1 files changed, 2 insertions, 2 deletions
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() { |