From: Patrick Scott Date: Thu, 21 Oct 2010 18:53:40 +0000 (-0400) Subject: Fix debug statements and aapt assert. X-Git-Url: https://git.saurik.com/android/aapt.git/commitdiff_plain/f43f903c9b10345c732946088930c47ddc1ccbf2?hp=8a26832e1eb7fe79ee8b0e6e56ccda52de77af87 Fix debug statements and aapt assert. ENABLE_PSEUDOLOCALIZE seems to not exist. Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543 --- diff --git a/XMLNode.cpp b/XMLNode.cpp index cee8546..8551b0f 100644 --- a/XMLNode.cpp +++ b/XMLNode.cpp @@ -203,13 +203,9 @@ status_t parseStyledString(Bundle* bundle, } } if (xliffDepth == 0 && pseudolocalize) { -#ifdef ENABLE_PSEUDOLOCALIZE std::string orig(String8(text).string()); std::string pseudo = pseudolocalize_string(orig); curString.append(String16(String8(pseudo.c_str()))); -#else - assert(false); -#endif } else { if (isFormatted && hasSubstitutionErrors(fileName, inXml, text) != NO_ERROR) { return UNKNOWN_ERROR;