diff options
| author | Alan Viverette <alanv@google.com> | 2015-01-27 12:07:33 -0800 |
|---|---|---|
| committer | Alan Viverette <alanv@google.com> | 2015-01-27 12:07:33 -0800 |
| commit | f0f7f8ceb5d1effd34fe2734f6493726bf01dd1c (patch) | |
| tree | 7edf90d1294231e3fb18655cc7ad0484ece665a8 /tools/aapt2/java/JavaClassGenerator.cpp | |
| parent | 3cdb3b7d0da84be9d5dba73dc76245bd9f314854 (diff) | |
Move drawable out of inset state, only store constant state
This ensures that InsetDrawable's constant state only references other
constant states rather than holding an entire Drawable, which provides
a clean separation between local and constant state information. This
ensures that calls to mutate() can create a new constant state without
losing local drawable state and that newDrawable() still relies on
the same constant state.
Bug: 19156549
Bug: 13877782
Change-Id: I48146f6c7ac3593009cfa323fc341bcd7d8ab21b
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions
