Merge "AVD: Deep copy the animator target setup when mutate." into lmp-mr1-dev
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user