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

Commit 3237edbd authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

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

Merge "Use reference equality for AnimatableScaleMatrix equals()." into rvc-dev am: e948137a am: 5ebc8196 am: 0b3f8d53 am: fe5f2a7b

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11975965

Change-Id: I81c7c26c1b36d6faff8218c91ad9dcafbe9456d4
parents 595e03e2 fe5f2a7b
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;
    }
}