From 5617056cb8f2dea16bac03053b8c9b802773408c Mon Sep 17 00:00:00 2001 From: Danesh Mondegarian Date: Tue, 11 Oct 2011 16:52:23 -0400 Subject: [PATCH] Recovery : Show menu if in non user initiated mode and error occurred When using rom manager and applying a zip, if one encounters an error in recovery, they're left on a screen with no visible controls (Forcing to hard reset phone). Change-Id: Ia9b2f396fc95c7972a5a5580e1a50adf4af26060 --- recovery.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/recovery.c b/recovery.c index fe28d34..3fe7ae2 100644 --- a/recovery.c +++ b/recovery.c @@ -903,7 +903,10 @@ main(int argc, char **argv) { } } - if (status != INSTALL_SUCCESS && !is_user_initiated_recovery) ui_set_background(BACKGROUND_ICON_ERROR); + if (status != INSTALL_SUCCESS && !is_user_initiated_recovery) { + ui_set_show_text(1); + ui_set_background(BACKGROUND_ICON_ERROR); + } if (status != INSTALL_SUCCESS || ui_text_visible()) { prompt_and_wait(); }