summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-11-06 15:22:43 -0500
committerAlan Viverette <alanv@google.com>2015-11-06 15:22:43 -0500
commit9b4bdeff6dea5a24a3085a17d2dde9003642af79 (patch)
tree0998a6c635e1adba76db9191fd25f964b4056df3 /tools/aapt2/java/JavaClassGenerator_test.cpp
parentaa5c3b263777fbbba5331418c4839a323e089edd (diff)
Mutate DrawableContainer children immediately after inflation
Previously we would only mutate children when they were displayed, so applyTheme() calls would be applied to the shared constant state. Now we mutate() immediately after obtaining the child, which ensures we have a clean constant state. This also allows us to remove extra mutate() calls, since we know all child drawables are already mutated. Bug: 25081461 Change-Id: I52390db268690a8e181f5b9bbe612b7ed6ce9359
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions