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

Commit 4bb3e7e7 authored by Joshua Tsuji's avatar Joshua Tsuji
Browse files

Prevent a crash when touching the stack while it's flinging out of the dismiss area.

Fixes: 133867082
Test: atest SystemUITests
Change-Id: Id9a9eb85eeb53002a23f62605b21beafe1c4338f
parent cb97a11b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -271,6 +271,8 @@ public class StackAnimationController extends
                },
                DynamicAnimation.TRANSLATION_X, DynamicAnimation.TRANSLATION_Y);

        // If we're flinging now, there's no more touch event to catch up to.
        mFirstBubbleSpringingToTouch = false;
        mIsMovingFromFlinging = true;
        return destinationRelativeX;
    }