diff options
author | Jean-Baptiste Queru <jbq@google.com> | 2012-08-08 11:21:28 -0700 |
---|---|---|
committer | android code review <noreply-gerritcodereview@google.com> | 2012-08-08 11:21:29 -0700 |
commit | e67f8c8c279e20fff5f426eccd062b709e6280ed (patch) | |
tree | e53054cf3446cc91228a1ea5ae48b0c803ca5cc6 /tools | |
parent | d77d17c28d6f120ceb648747c7e2ef1a50215700 (diff) | |
parent | 429dad687bcb5f00587e8b91b3a614502907aaa1 (diff) | |
download | frameworks_base-e67f8c8c279e20fff5f426eccd062b709e6280ed.zip frameworks_base-e67f8c8c279e20fff5f426eccd062b709e6280ed.tar.gz frameworks_base-e67f8c8c279e20fff5f426eccd062b709e6280ed.tar.bz2 |
Merge "Normalize output from aapt d xmltree"
Diffstat (limited to 'tools')
-rw-r--r-- | tools/aapt/XMLNode.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/aapt/XMLNode.cpp b/tools/aapt/XMLNode.cpp index 0dba950..dcbe7db 100644 --- a/tools/aapt/XMLNode.cpp +++ b/tools/aapt/XMLNode.cpp @@ -511,7 +511,8 @@ void printXMLBlock(ResXMLTree* block) namespaces.pop(); } else if (code == ResXMLTree::TEXT) { size_t len; - printf("%sC: \"%s\"\n", prefix.string(), String8(block->getText(&len)).string()); + printf("%sC: \"%s\"\n", prefix.string(), + ResTable::normalizeForOutput(String8(block->getText(&len)).string()).string()); } } |