Merge "Fix issue where PIP jumps after being tapped after being dragged through the dismiss target." into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
c6cfe7edfe
@@ -365,6 +365,10 @@ public class PipMotionHelper implements PipAppOpsListener.Callback,
|
|||||||
void flingToSnapTarget(
|
void flingToSnapTarget(
|
||||||
float velocityX, float velocityY,
|
float velocityX, float velocityY,
|
||||||
@Nullable Runnable updateAction, @Nullable Runnable endAction) {
|
@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
|
mTemporaryBoundsPhysicsAnimator
|
||||||
.spring(FloatProperties.RECT_WIDTH, mBounds.width(), mSpringConfig)
|
.spring(FloatProperties.RECT_WIDTH, mBounds.width(), mSpringConfig)
|
||||||
.spring(FloatProperties.RECT_HEIGHT, mBounds.height(), mSpringConfig)
|
.spring(FloatProperties.RECT_HEIGHT, mBounds.height(), mSpringConfig)
|
||||||
|
|||||||
Reference in New Issue
Block a user