]> git.saurik.com Git - android/aapt.git/commitdiff
Fix debug statements and aapt assert.
authorPatrick Scott <phanna@android.com>
Thu, 21 Oct 2010 18:53:40 +0000 (14:53 -0400)
committerPatrick Scott <phanna@android.com>
Tue, 26 Oct 2010 17:22:17 +0000 (13:22 -0400)
ENABLE_PSEUDOLOCALIZE seems to not exist.

Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543

XMLNode.cpp

index cee85469c8481ceabd2d3b98cb49b6852f4fe1aa..8551b0f9c9030c57d00d8dbba6085a0fc9952ac5 100644 (file)
@@ -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;