Adam Lesinski 8049f3da71 AAPT2: Fix pseudolocalization (again)
Pseudolocalization didn't properly handle spans in
strings like "<small><small>Hello</small></small>".

The spans would be identical and when doing range checks
only one of them would be updated.

Switched to a more robust way of extracting the relevant
chunks of a styled string. This uses a stack, which is more
in line with the real representation in XML.

Bug: 34088357
Test: make aapt2_tests
Change-Id: Ia4e4501713e688c96a89e26e4e2b1384f4cd3889
2017-03-31 18:30:20 -07:00
..
2017-03-20 16:53:46 -07:00
2017-02-22 11:16:13 -08:00
2016-10-26 19:30:23 -07:00
2017-01-17 18:55:51 -08:00
2017-03-20 16:53:46 -07:00
2017-03-20 16:53:46 -07:00
2017-03-20 16:53:46 -07:00
2017-03-20 16:53:46 -07:00