commit | d8ae10da39a28468fad19ed564799c52354a8d1f | [log] [tgz] |
---|---|---|
author | Chris Banes <chrisbanes@google.com> | Wed Jul 13 15:08:55 2016 +0100 |
committer | Chris Banes <chrisbanes@google.com> | Wed Jul 13 17:17:57 2016 +0100 |
tree | 9f0e4ca4653989e263f69e1d7da723e33b0cf6e6 | |
parent | e48441650b24efca174b0b8b29c6f284f8d01650 [diff] |
Fix wrap() propogating state the wrong direction Since DrawableCompat.wrap() can either return a wrapped drawable or not, we should make sure that either case returns consistent state. Therefore we now copy the wrapped drawable's state to the wrapper, rather than the opposite way around. BUG: 30060993 Change-Id: I8f37519bdedc17ff5289d9a01a32edffd69dc573