Merge "Normalize output from aapt d xmltree"

This commit is contained in:
Jean-Baptiste Queru
2012-08-08 11:21:28 -07:00
committed by android code review

View File

@ -511,7 +511,8 @@ void printXMLBlock(ResXMLTree* block)
namespaces.pop(); namespaces.pop();
} else if (code == ResXMLTree::TEXT) { } else if (code == ResXMLTree::TEXT) {
size_t len; 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());
} }
} }