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

Commit 049b0bf8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Fix issue where PIP jumps after being tapped after being dragged...

Merge "Fix issue where PIP jumps after being tapped after being dragged through the dismiss target." into rvc-dev am: c6cfe7ed

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

Change-Id: I123cb44be96e04bf6e1d6c81518bddab62837cbe
parents 2bf34113 c6cfe7ed
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -365,6 +365,10 @@ public class PipMotionHelper implements PipAppOpsListener.Callback,
    void flingToSnapTarget(
            float velocityX, float velocityY,
            @Nullable Runnable updateAction, @Nullable Runnable endAction) {
        // If we're flinging to a snap target now, we're not springing to catch up to the touch
        // location now.
        mSpringingToTouch = false;

        mTemporaryBoundsPhysicsAnimator
                .spring(FloatProperties.RECT_WIDTH, mBounds.width(), mSpringConfig)
                .spring(FloatProperties.RECT_HEIGHT, mBounds.height(), mSpringConfig)