aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recovery.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/recovery.cpp b/recovery.cpp
index a65aa338..f66d5781 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -1951,7 +1951,12 @@ int main(int argc, char **argv) {
}
sideload_start();
sideload_wait(false);
+ ui->UpdateScreenOnPrint(true);
status = sideload_install(&should_wipe_cache, TEMPORARY_INSTALL_FILE, true);
+ if (status == INSTALL_UNVERIFIED && ask_to_continue_unverified_install(device)) {
+ status = sideload_install(&should_wipe_cache, TEMPORARY_INSTALL_FILE, false);
+ }
+ ui->UpdateScreenOnPrint(false);
sideload_stop();
if (status == INSTALL_SUCCESS && should_wipe_cache) {
if (!wipe_cache(false, device)) {