OSDN Git Service

Normalize output from aapt d xmltree
authorShachar Shemesh <lingnu@gmail.com>
Sun, 8 Jul 2012 03:37:48 +0000 (06:37 +0300)
committerShachar Shemesh <lingnu@gmail.com>
Sun, 8 Jul 2012 03:37:48 +0000 (06:37 +0300)
commit429dad687bcb5f00587e8b91b3a614502907aaa1
treeee2b4ad0c456c6dde1cd81979565b72e9c389fa6
parentdc99555d61d50820b398096bb774ee56b2500476
Normalize output from aapt d xmltree

When using aapt dump xmltree to dump an XML which has a content element with newlines, the output contains a
newline. This makes it very difficult, sometimes impossible, to understand what is part of the content, and
what is the meta-data.

We now pass XML content through the same normalizer used for other tags.

Change-Id: I327321520fac563eb32aecaf796f2473866697fc
tools/aapt/XMLNode.cpp