aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTao Bao2017-08-16 00:07:55 -0500
committerandroid-build-merger2017-08-16 00:07:55 -0500
commit623bac4ed95f4feb6166de7abfed0b43240834b8 (patch)
tree3a95c5b7ab72d865be55609019f315d26b29766a /recovery.cpp
parent5bde1d9ef8e9d3a9f08be7db83f9c3c53350b1e5 (diff)
parent162b92323bdcb13baf619450d994f5045f1ee195 (diff)
downloadplatform-bootable-recovery-623bac4ed95f4feb6166de7abfed0b43240834b8.tar.gz
platform-bootable-recovery-623bac4ed95f4feb6166de7abfed0b43240834b8.tar.xz
platform-bootable-recovery-623bac4ed95f4feb6166de7abfed0b43240834b8.zip
Merge "screen_ui: Word-wrap menu headers."
am: 162b92323b Change-Id: I93c959422c5b56a15875580159ecfc1a1d44087d
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 9abb9341..6f62ff17 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -758,12 +758,13 @@ static bool wipe_data(Device* device) {
758} 758}
759 759
760static bool prompt_and_wipe_data(Device* device) { 760static bool prompt_and_wipe_data(Device* device) {
761 // Use a single string and let ScreenRecoveryUI handles the wrapping.
761 const char* const headers[] = { 762 const char* const headers[] = {
762 "Can't load Android system. Your data may be corrupt.", 763 "Can't load Android system. Your data may be corrupt. "
763 "If you continue to get this message, you may need to", 764 "If you continue to get this message, you may need to "
764 "perform a factory data reset and erase all user data", 765 "perform a factory data reset and erase all user data "
765 "stored on this device.", 766 "stored on this device.",
766 NULL 767 nullptr
767 }; 768 };
768 const char* const items[] = { 769 const char* const items[] = {
769 "Try again", 770 "Try again",