diff options
author | Paul Crowley | 2017-03-23 14:32:40 -0500 |
---|---|---|
committer | Paul Crowley | 2017-03-23 16:54:20 -0500 |
commit | 31ac0c61fe16e42869bec99dbdcc0e00caa1ddcc (patch) | |
tree | 35eb550ac980d9a85e12833d6054e1f05e9e58fc /recovery.cpp | |
parent | b56a3c2e3afe1e9001e80358c66c66fe2775e42e (diff) | |
download | platform-bootable-recovery-31ac0c61fe16e42869bec99dbdcc0e00caa1ddcc.tar.gz platform-bootable-recovery-31ac0c61fe16e42869bec99dbdcc0e00caa1ddcc.tar.xz platform-bootable-recovery-31ac0c61fe16e42869bec99dbdcc0e00caa1ddcc.zip |
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
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/recovery.cpp b/recovery.cpp index ccb8e5d9..4bbc7831 100644 --- a/recovery.cpp +++ b/recovery.cpp | |||
@@ -752,13 +752,15 @@ static bool wipe_data(Device* device) { | |||
752 | 752 | ||
753 | static bool prompt_and_wipe_data(Device* device) { | 753 | static bool prompt_and_wipe_data(Device* device) { |
754 | const char* const headers[] = { | 754 | const char* const headers[] = { |
755 | "Boot halted, user data is corrupt", | 755 | "Can't load Android system. Your data may be corrupt.", |
756 | "Wipe all user data to recover", | 756 | "If you continue to get this message, you may need to", |
757 | "perform a factory data reset and erase all user data", | ||
758 | "stored on this device.", | ||
757 | NULL | 759 | NULL |
758 | }; | 760 | }; |
759 | const char* const items[] = { | 761 | const char* const items[] = { |
760 | "Retry boot", | 762 | "Try again", |
761 | "Wipe user data", | 763 | "Factory data reset", |
762 | NULL | 764 | NULL |
763 | }; | 765 | }; |
764 | for (;;) { | 766 | for (;;) { |