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

Commit 6abba3e5 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...

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

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



Change-Id: I86f557548aded9effa8d114a6f5361674a15a5e1
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a3753e88 4183b3c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -193,7 +193,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,