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

Commit e948137a authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Use reference equality for AnimatableScaleMatrix equals()." into rvc-dev

parents d71e76fd be5b4e19
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -134,4 +134,11 @@ public class AnimatableScaleMatrix extends Matrix {
    public float getPivotY() {
        return mPivotY;
    }

    @Override
    public boolean equals(Object obj) {
        // Use object equality to allow this matrix to be used as a map key (which is required for
        // PhysicsAnimator's animator caching).
        return obj == this;
    }
}