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

Commit 31ac0c61 authored by Paul Crowley's avatar Paul Crowley
Browse files

Reword the wipe warning message to be more comprehensible.

Test: My device was crashing anyway, so observed message on crash.
Bug: 34669779
Change-Id: Ib85d1d137139f5e14f735c972c2312acce2caf5f
parent b56a3c2e
Loading
Loading
Loading
Loading
+6 −4
Original line number Diff line number Diff line
@@ -752,13 +752,15 @@ static bool wipe_data(Device* device) {

static bool prompt_and_wipe_data(Device* device) {
  const char* const headers[] = {
    "Boot halted, user data is corrupt",
    "Wipe all user data to recover",
    "Can't load Android system. Your data may be corrupt.",
    "If you continue to get this message, you may need to",
    "perform a factory data reset and erase all user data",
    "stored on this device.",
    NULL
  };
  const char* const items[] = {
    "Retry boot",
    "Wipe user data",
    "Try again",
    "Factory data reset",
    NULL
  };
  for (;;) {