summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorPaul Crowley <paulcrowley@google.com>2017-03-24 00:39:43 +0100
committerandroid-build-merger <android-build-merger@google.com>2017-03-24 00:39:43 +0100
commiteddc9a15f906648a693ffc0a3f186549f7f66155 (patch)
tree88bbf8f1a4baf2d4649f1fe70d356fdd7b5952b1 /recovery.cpp
parentMerge "Redundant checking of STL container element" (diff)
parentMerge "Reword the wipe warning message to be more comprehensible." (diff)
downloadandroid_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar.gz
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar.bz2
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar.lz
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar.xz
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.tar.zst
android_bootable_recovery-eddc9a15f906648a693ffc0a3f186549f7f66155.zip
Diffstat (limited to 'recovery.cpp')
-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 (;;) {