summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-08-17 10:10:27 +0200
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-08-17 10:10:27 +0200
commite5fc72dcd7779cc3ba456e5f162198c36a4ecec3 (patch)
tree07a11cdcf6d620125a7b6a89d663426823d5d377 /recovery.cpp
parentrelease-request-8c6f0e6c-413f-4241-b3dc-c159fdcc7655-for-git_pi-release-4273687 snap-temp-L51400000093075386 (diff)
parentImport translations. DO NOT MERGE am: 20fa1a92cc -s ours (diff)
downloadandroid_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar.gz
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar.bz2
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar.lz
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar.xz
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.tar.zst
android_bootable_recovery-e5fc72dcd7779cc3ba456e5f162198c36a4ecec3.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 9abb9341c..6f62ff17c 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",