commit | ab1cbc2c53f051aaafe4d43242d6acfd08cbf158 | [log] [tgz] |
---|---|---|
author | Teng-Hui Zhu <ztenghui@google.com> | Wed Jun 29 16:56:40 2016 -0700 |
committer | Ian Pedowitz <ijpedowitz@google.com> | Thu Jun 30 23:11:48 2016 +0000 |
tree | 10936150f9c07e2b4ec0ee8329eb0123a748296e | |
parent | a6a3ca8dace44b469a5577b2af15d85db7512ad6 [diff] |
Mutate the drawable if a valid state change happen In another word, create another cached bitmap, when the current VectorDrawable will look differently when state changed. Bug: 29870392 Bug: 29854240 Change-Id: I7a5ef91091e547a930368286defc7ab96aeb9471 (cherry picked from commit 4f1acfb5f507798daaff2ff0da47d2b15607ded4)