Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cda59a70 authored by Tao Bao's avatar Tao Bao Committed by android-build-merger
Browse files

Merge "Trigger the logging when prompting for wipe."

am: 49dc0fed

Change-Id: Icdd186331061e68b9c06222b6dafd25e2487dd77
parents 20b29bbb 49dc0fed
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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);