summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2017-08-14 08:48:55 +0200
committerTao Bao <tbao@google.com>2017-08-16 20:03:31 +0200
commitee6fefd2f203a7df2164b3262fa54e62f61e6ad2 (patch)
tree03bc8fb8b1e8483cec0fb3587d75b204063057c7 /recovery.cpp
parentImport translations. DO NOT MERGE (diff)
downloadandroid_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar.gz
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar.bz2
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar.lz
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar.xz
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.tar.zst
android_bootable_recovery-ee6fefd2f203a7df2164b3262fa54e62f61e6ad2.zip
Diffstat (limited to '')
-rw-r--r--recovery.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 8f08c53f4..07bd7b9d4 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -758,12 +758,13 @@ static bool wipe_data(Device* device) {
}
static bool prompt_and_wipe_data(Device* device) {
+ // Use a single string and let ScreenRecoveryUI handles the wrapping.
const char* const headers[] = {
- "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",
+ "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
+ nullptr
};
const char* const items[] = {
"Try again",