commit | 49dc0fed26750973a266ed4514a1990c6326665e | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Mon Sep 17 23:18:16 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Mon Sep 17 23:18:16 2018 +0000 |
tree | 0b8ed0d96b48be0b53e2c6ae150b95d3f9f0f7cb | |
parent | 16147d1bd6ab4cbf0fb20d32c9db42fa741b1eaa [diff] | |
parent | a5bbcb9596bef4f8c449573dd287a26be9439cbd [diff] |
Merge "Trigger the logging when prompting for wipe."
diff --git a/recovery.cpp b/recovery.cpp index 6248cf7..7cc344b 100644 --- a/recovery.cpp +++ b/recovery.cpp
@@ -1196,6 +1196,9 @@ 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);