commit | c9a2926e661df75ba2517da166bf3b561fd678ec | [log] [tgz] |
---|---|---|
author | Adam Lesinski <adamlesinski@google.com> | Thu Mar 01 20:04:00 2018 -0800 |
committer | Adam Lesinski <adamlesinski@google.com> | Thu Mar 01 20:04:00 2018 -0800 |
tree | f0f074fc40f9d17d06352930ed7f6938e30e59f9 | |
parent | b437f30f286131cc3a01bca7b56ca7dcab37cf74 [diff] |
AAPT2: Allow to inline XML into custom attribute Previously, doing something like <parent xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt"> <aapt:attr name="app:foo"> <child /> </aapt:attr> </parent> would result in something like: <parent xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt" foo="@generated_name" /> while it should result in: <parent xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:aapt="http://schemas.android.com/aapt" app:foo="@generated_name" /> Bug: 36809755 Test: make aapt2_tests Change-Id: I72ea4b402e196ca05b53b788e4768a265190a0dc