commit | 8dcd533786df8d824f1e040230ee9e7e5b083998 | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Tue Nov 25 10:40:24 2014 -0800 |
committer | Alan Viverette <alanv@google.com> | Tue Nov 25 10:40:24 2014 -0800 |
tree | d38f41806713828191560670b37f2eff21518fea | |
parent | 59093d925decaf6ddf2e952de25e3cdd1b492d81 [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: I40d257867eb0a092ce580b9c4338ddc7406a031d