diff options
author | Michael Ward <mikeward@google.com> | 2011-06-24 11:59:11 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-06-24 11:59:11 -0700 |
commit | e150f0dea0a5de1149ab14fa85de8d9c9bfafbf7 (patch) | |
tree | cdac252ac86c48ddd02c06e45beca084afb3b751 | |
parent | e1bb1f57d4ce2790c570b34586c7fa3bf52989fa (diff) | |
parent | ec4f0e3971a6bbf981c7919c2bcb9581a896f5e4 (diff) | |
download | device_samsung_tuna-e150f0dea0a5de1149ab14fa85de8d9c9bfafbf7.zip device_samsung_tuna-e150f0dea0a5de1149ab14fa85de8d9c9bfafbf7.tar.gz device_samsung_tuna-e150f0dea0a5de1149ab14fa85de8d9c9bfafbf7.tar.bz2 |
Merge "Allow manually applying an OTA from cache."
-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() { |