diff options
| author | Patrick Scott <phanna@android.com> | 2010-10-21 14:53:40 -0400 |
|---|---|---|
| committer | Patrick Scott <phanna@android.com> | 2010-10-26 13:22:17 -0400 |
| commit | 4f145c9674f814939cc91f699efe538b6c18cba0 (patch) | |
| tree | b1bbbde3205e0fbf054c21a9760375beab29070e /tools/aapt/XMLNode.cpp | |
| parent | 48c9daac20dcae18bf45e528fd073612bc0122e1 (diff) | |
| download | frameworks_base-4f145c9674f814939cc91f699efe538b6c18cba0.zip frameworks_base-4f145c9674f814939cc91f699efe538b6c18cba0.tar.gz frameworks_base-4f145c9674f814939cc91f699efe538b6c18cba0.tar.bz2 | |
Fix debug statements and aapt assert.
ENABLE_PSEUDOLOCALIZE seems to not exist.
Change-Id: Ifef771a96938c7ff0f8b664142bb502030b8c543
Diffstat (limited to 'tools/aapt/XMLNode.cpp')
| -rw-r--r-- | tools/aapt/XMLNode.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp index cee8546..8551b0f 100644 --- a/tools/aapt/XMLNode.cpp +++ b/tools/aapt/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; |
