summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-03-24 00:36:41 +0100
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-03-24 00:36:42 +0100
commitf09efaff895a0a050f43842a015aef6457dabfd4 (patch)
tree35eb550ac980d9a85e12833d6054e1f05e9e58fc
parentMerge "Redundant checking of STL container element" (diff)
parentReword the wipe warning message to be more comprehensible. (diff)
downloadandroid_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar.gz
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar.bz2
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar.lz
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar.xz
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.tar.zst
android_bootable_recovery-f09efaff895a0a050f43842a015aef6457dabfd4.zip
-rw-r--r--recovery.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/recovery.cpp b/recovery.cpp
index ccb8e5d95..4bbc7831e 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -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 (;;) {