From e08991e02a7d678f2574e85289a34b2a9a537c82 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 2 Feb 2010 13:09:52 -0800 Subject: bump updater API version to 3; deprecate firmware update command Remove support for the HTC-specific "firmware" update command and the corresponding edify function write_firmware_update(). This functionality is now done by an edify extension library that lives in vendor/htc. Change-Id: I80858951ff10ed8dfff98aefb796bef009e05efb --- recovery.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'recovery.c') diff --git a/recovery.c b/recovery.c index 73a54a23e..4c437e599 100644 --- a/recovery.c +++ b/recovery.c @@ -31,7 +31,6 @@ #include "bootloader.h" #include "common.h" #include "cutils/properties.h" -#include "firmware.h" #include "install.h" #include "minui/minui.h" #include "minzip/DirUtil.h" @@ -445,12 +444,7 @@ prompt_and_wait() { } else if (!ui_text_visible()) { return; // reboot if logs aren't visible } else { - if (firmware_update_pending()) { - ui_print("\nReboot via menu to complete\n" - "installation.\n"); - } else { - ui_print("\nInstall from sdcard complete.\n"); - } + ui_print("\nInstall from sdcard complete.\n"); } break; } @@ -563,9 +557,6 @@ main(int argc, char **argv) { if (status != INSTALL_SUCCESS) ui_set_background(BACKGROUND_ICON_ERROR); if (status != INSTALL_SUCCESS || ui_text_visible()) prompt_and_wait(); - // If there is a radio image pending, reboot now to install it. - maybe_install_firmware_update(send_intent, TEMPORARY_LOG_FILE); - // Otherwise, get ready to boot the main system... finish_recovery(send_intent); ui_print("Rebooting...\n"); -- cgit v1.2.3