commit | 9b4bdeff6dea5a24a3085a17d2dde9003642af79 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Fri Nov 06 15:22:43 2015 -0500 |
committer | Alan Viverette <alanv@google.com> | Fri Nov 06 15:22:43 2015 -0500 |
tree | 0998a6c635e1adba76db9191fd25f964b4056df3 | |
parent | aa5c3b263777fbbba5331418c4839a323e089edd [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