diff options
author | Tao Bao <tbao@google.com> | 2017-08-16 07:13:56 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-16 07:13:56 +0200 |
commit | f1397b597ab7c100e0ce00cebe27bf09bb1f4424 (patch) | |
tree | 2f0d33d736341f2dad33bed9c5dd61ddd3dd9856 /recovery.cpp | |
parent | Merge "Add a new PatchChunk class in imgdiff" am: 11214d9062 am: 5bde1d9ef8 (diff) | |
parent | Merge "screen_ui: Word-wrap menu headers." am: 162b92323b (diff) | |
download | android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.gz android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.bz2 android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.lz android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.xz android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.tar.zst android_bootable_recovery-f1397b597ab7c100e0ce00cebe27bf09bb1f4424.zip |
Diffstat (limited to 'recovery.cpp')
-rw-r--r-- | recovery.cpp | 9 |
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", |