Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ccccc44b authored by Romain Guy's avatar Romain Guy Committed by Android Git Automerger
Browse files

am ac629ee8: am 529a9e39: Merge "TransitionDrawable should not become a...

am ac629ee8: am 529a9e39: Merge "TransitionDrawable should not become a LayerDrawable Bug #9057757" into jb-mr2-dev

* commit 'ac629ee8':
  TransitionDrawable should not become a LayerDrawable Bug #9057757
parents 2e39f5c5 ac629ee8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -586,7 +586,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++) {