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
This commit is contained in:
parent
aa3c3d429b
commit
5617056cb8
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user