commit | 62b780e85ff2fcefd4324c3bfbf49b14963cf58b | [log] [tgz] |
---|---|---|
author | Alan Viverette <alanv@google.com> | Wed Dec 10 13:52:28 2014 -0800 |
committer | Alan Viverette <alanv@google.com> | Wed Dec 10 13:52:28 2014 -0800 |
tree | 638bbd84f1b01659d31a78e1e9bb72911c2f08b2 | |
parent | c78018774503308e8c8266f6769c9e4c895f3a97 [diff] |
Avoid creating futures for drawables with no constant state We don't need to create futures for drawables without constant state, since we only copy on mutate and we don't need to do any work on mutate() for drawables without shared constant state. Also we would crash in that case, so avoiding the NPE is nice too. Rider: Also fixes elevations again. BUG: 18696100 Change-Id: I4d7737f39ce3efc5830704e5ce412c540603e6ac