summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Crowley <paulcrowley@google.com>2017-03-24 00:44:42 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 00:44:42 +0100
commitf5991542fa55ae293dabff2117134c2ba7d94146 (patch)
treefd67604c10e37deab132b31fff75945b688ce556
parentMerge "Redundant checking of STL container element" am: b56a3c2e3a am: 9e05f26e1a (diff)
parentMerge "Reword the wipe warning message to be more comprehensible." am: f09efaff89 (diff)
downloadandroid_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar.gz
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar.bz2
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar.lz
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar.xz
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.tar.zst
android_bootable_recovery-f5991542fa55ae293dabff2117134c2ba7d94146.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 (;;) {