Snap for 5015065 from d48a4c128a to qt-release

Change-Id: I8d112cf6a8b9c919ce2e110360da9e0b0103006f
This commit is contained in:
android-build-team Robot
2018-09-18 03:04:41 +00:00
+3
View File
@@ -1196,6 +1196,9 @@ Device::BuiltinAction start_recovery(Device* device, const std::vector<std::stri
status = INSTALL_ERROR;
}
} else if (should_prompt_and_wipe_data) {
// Trigger the logging to capture the cause, even if user chooses to not wipe data.
modified_flash = true;
ui->ShowText(true);
ui->SetBackground(RecoveryUI::ERROR);
status = prompt_and_wipe_data(device);