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 00:10:21 +0200
commit2bbc6d642d1fbfb007905d95b629fe5f833b2a1b (patch)
tree3e6e9cdb3e14e52d19c0a029c8cb7ee71db73619 /recovery.cpp
parentMerge "update_verifier: verify blocks in parallel" (diff)
downloadandroid_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar.gz
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar.bz2
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar.lz
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar.xz
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.tar.zst
android_bootable_recovery-2bbc6d642d1fbfb007905d95b629fe5f833b2a1b.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 233e56246..c5ead451a 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -757,12 +757,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",