summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorchaviw <chaviw@google.com>2018-01-29 16:22:02 -0800
committerchaviw <chaviw@google.com>2018-01-30 14:04:07 -0800
commit2f0567b00d22edba0b87c0d06766c3cacaa0e041 (patch)
treebd48ddaaff4035820f14ac07ea1be688976651b4 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentcf40a9ab819a3a6a38e69149d20d76c0d691f9ae (diff)
Use self's pendingTransaction object when setting position.
When iterating through each child to set its updated position, the transaction object was passed to the children. This could allow multiple transactions to update the same property on the same child. If that occurs, then the merge does not guarantee the same order. This could cause earlier transactions to overwrite later ones. Instead, have each WC update its own transaction object. Change-Id: Ie1bb758e4efd74fa012c7ec945d9c1c586162df4 Fixes: 72198558 Fixes: 72463091 Test: Issues from bugs no longer occur. Test: go/wm-smoke-auto
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions