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

Commit 971fe6d6 authored by ztenghui's avatar ztenghui Committed by Android Git Automerger
Browse files

am 04c022f4: Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev

* commit '04c022f4':
  AVD: Deep copy the animator target setup when mutate.
parents fb569013 04c022f4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -146,7 +146,8 @@ public class AnimatedVectorDrawable extends Drawable implements Animatable {
    @Override
    public Drawable mutate() {
        if (!mMutated && super.mutate() == this) {
            mAnimatedVectorState.mVectorDrawable.mutate();
            mAnimatedVectorState = new AnimatedVectorDrawableState(
                    mAnimatedVectorState, mCallback, null);
            mMutated = true;
        }
        return this;