OSDN Git Service

AAPT2: Allow for nested inline xmls
authorMichael Wachenschwanz <mwachens@google.com>
Tue, 31 Oct 2017 02:06:23 +0000 (19:06 -0700)
committerTenghui Zhu <ztenghui@google.com>
Tue, 31 Oct 2017 23:13:03 +0000 (23:13 +0000)
commitc8f5fc284cc635f7056307e55121e439b21ac83a
tree5076d7cc590aa4cb8d7bada63302642d49acc421
parent49767aa7f70462cf4b6a1bcdf3832eb6e74f9d65
AAPT2: Allow for nested inline xmls

Add recursion to InlineXmlFormatParser::Consume for handling nested
aapt:attr

Change-Id: Iabf98945b4f5ef22a3b8fdc4ca2bac092a377629
Fixes: 64385167
Test: make aapt2_tests
(cherry picked from commit 7b6b02bd13aea90b938c3ab3b1eaa3fb5043f931)
tools/aapt2/compile/InlineXmlFormatParser.cpp
tools/aapt2/compile/InlineXmlFormatParser_test.cpp