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
This commit is contained in:
Paul Crowley
2017-03-23 12:32:40 -07:00
parent b56a3c2e3a
commit 31ac0c61fe

View File

@@ -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 (;;) {