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

Commit ff02cd54 authored by Winson Chung's avatar Winson Chung
Browse files

Skip updating displacement if handler is already invalidated.

Bug: 73338391
Change-Id: I091e8a682f95631e15b3f2cbe3e281c4f18003b9
parent f6c65d7e
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -461,6 +461,9 @@ public class WindowTransformSwipeHandler extends BaseSwipeInteractionHandler {

        if (mLauncherTransitionController != null) {
            Runnable runOnUi = () -> {
                if (mLauncherTransitionController == null) {
                    return;
                }
                mLauncherTransitionController.setPlayFraction(shift);

                // Make sure the window follows the first task if it moves, e.g. during quick scrub.