From a5bbcb9596bef4f8c449573dd287a26be9439cbd Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 17 Sep 2018 14:32:47 -0700 Subject: Trigger the logging when prompting for wipe. This allows recording the reason string that prompts user for a data wipe, even if user selects 'Try again'. Test: Inject an error into framework to trigger RescueParty. Select 'Try again' and check the recovery log post-boot. Change-Id: I0d7d5afcf38cae5019e2ce0a46d3cd1ac3e83a03 --- recovery.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/recovery.cpp b/recovery.cpp index 6248cf70f..7cc344bce 100644 --- a/recovery.cpp +++ b/recovery.cpp @@ -1196,6 +1196,9 @@ Device::BuiltinAction start_recovery(Device* device, const std::vectorShowText(true); ui->SetBackground(RecoveryUI::ERROR); status = prompt_and_wipe_data(device); -- cgit v1.2.3