am 529a9e39: Merge "TransitionDrawable should not become a LayerDrawable Bug #9057757" into jb-mr2-dev
* commit '529a9e391e386aac37ea722d2517d376968b3d31': TransitionDrawable should not become a LayerDrawable Bug #9057757
This commit is contained in:
@@ -575,7 +575,7 @@ public class LayerDrawable extends Drawable implements Drawable.Callback {
|
||||
@Override
|
||||
public Drawable mutate() {
|
||||
if (!mMutated && super.mutate() == this) {
|
||||
mLayerState = new LayerState(mLayerState, this, null);
|
||||
mLayerState = createConstantState(mLayerState, null);
|
||||
final ChildDrawable[] array = mLayerState.mChildren;
|
||||
final int N = mLayerState.mNum;
|
||||
for (int i = 0; i < N; i++) {
|
||||
|
||||
Reference in New Issue
Block a user