Fix aapt2 dump xmltree not escape text nodes
The text of CDATA in XML document should be escaped before the CDATA text is printed. Dump xmltree command use XmlPrinter inheriting from xml:ConstVisitor. To fix issue, it only needs to modify XmlPrinter::Visit(const xml::Text). Bug: 140373430 Test: aapt2 dump xmltree --file res/xml/test.xml app_debug.apk Change-Id: I4f43120b4fbc2ea7136fb51fdeb24e254b94c60f
Loading
Please register or sign in to comment