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
diff --git a/recovery.c b/recovery.c
index fe28d34..3fe7ae2 100644
--- a/recovery.c
+++ b/recovery.c
@@ -903,7 +903,10 @@
}
}
- 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();
}