summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJean-Baptiste Queru <jbq@google.com>2012-08-08 11:21:28 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-08-08 11:21:29 -0700
commite67f8c8c279e20fff5f426eccd062b709e6280ed (patch)
treee53054cf3446cc91228a1ea5ae48b0c803ca5cc6 /tools
parentd77d17c28d6f120ceb648747c7e2ef1a50215700 (diff)
parent429dad687bcb5f00587e8b91b3a614502907aaa1 (diff)
downloadframeworks_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.cpp3
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());
}
}