From 79ce82cab33d8497219557289aac8dc661805311 Mon Sep 17 00:00:00 2001 From: "Koushik K. Dutta" Date: Thu, 25 Feb 2010 12:03:17 -0800 Subject: [PATCH] successful installation should hide the android installing icon --- extendedcommands.c | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/extendedcommands.c b/extendedcommands.c index 1f32c49..d54321f 100644 --- a/extendedcommands.c +++ b/extendedcommands.c @@ -54,16 +54,13 @@ void install_zip(const char* packagefilepath) if (status != INSTALL_SUCCESS) { ui_set_background(BACKGROUND_ICON_ERROR); ui_print("Installation aborted.\n"); - } 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"); - } - } + return; + } + if (firmware_update_pending()) { + ui_print("\nReboot via menu to complete\ninstallation.\n"); + } + ui_print("\nInstall from sdcard complete.\n"); + ui_set_background(BACKGROUND_ICON_NONE); } char* INSTALL_MENU_ITEMS[] = { "apply sdcard:update.zip",