commit | d7dab349c2af0e4bde188b1969f0c697b217dd57 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Mon Nov 24 11:11:05 2014 -0800 |
committer | Alan Viverette <alanv@google.com> | Mon Nov 24 11:11:05 2014 -0800 |
tree | 8f5a17265a32925d3c4a23b42368435c44d5c794 | |
parent | 29dc496a42d49a37dcd99c0465f3cec18a47e6ff [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