summaryrefslogtreecommitdiffstats
path: root/recovery
diff options
context:
space:
mode:
authorMichael Ward <mikeward@google.com>2011-06-23 22:26:07 -0700
committerMichael Ward <mikeward@google.com>2011-06-24 11:06:02 -0700
commitec4f0e3971a6bbf981c7919c2bcb9581a896f5e4 (patch)
tree7612c06c0eb48a000ad01ec6611202cd11ab12e3 /recovery
parent07788e9176d2b10a9aa4778470775d56ad14acbe (diff)
downloaddevice_samsung_tuna-ec4f0e3971a6bbf981c7919c2bcb9581a896f5e4.zip
device_samsung_tuna-ec4f0e3971a6bbf981c7919c2bcb9581a896f5e4.tar.gz
device_samsung_tuna-ec4f0e3971a6bbf981c7919c2bcb9581a896f5e4.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.c4
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() {