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

Commit 4183b3c2 authored by Mateusz Cicheński's avatar Mateusz Cicheński Committed by Automerger Merge Worker
Browse files

Merge "Use equals to compare Rect instead of reference comparison." into tm-qpr-dev am: b0e2f512

parents c12661fb b0e2f512
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -191,7 +191,7 @@ public class PipController implements PipTransitionController.PipTransitionCallb
            Rect destBounds = mPipKeepClearAlgorithm.adjust(mPipBoundsState,
                    mPipBoundsAlgorithm);
            // only move if the bounds are actually different
            if (destBounds != mPipBoundsState.getBounds()) {
            if (!destBounds.equals(mPipBoundsState.getBounds())) {
                if (mPipTransitionState.hasEnteredPip()) {
                    // if already in PiP, schedule separate animation
                    mPipTaskOrganizer.scheduleAnimateResizePip(destBounds,