summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2014-11-24 11:11:05 -0800
committerAlan Viverette <alanv@google.com>2014-11-24 11:11:05 -0800
commitd7dab349c2af0e4bde188b1969f0c697b217dd57 (patch)
tree8f5a17265a32925d3c4a23b42368435c44d5c794 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent29dc496a42d49a37dcd99c0465f3cec18a47e6ff (diff)
Ensure calling mutate() on DrawableContainer creates a new state
Previously, a new state would only be created on newDrawable(), which caused the first drawable loaded for a resource to share constant state with the cached version. Even if mutate() was called, the constant state was still shared and any changes were applied to the cached copy. BUG: 18504919 Change-Id: I1ce76fbbc144e9c0c93261e3a12cc613d0c74b83
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions