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

Fixes: 133867082
Test: atest SystemUITests
Change-Id: Id9a9eb85eeb53002a23f62605b21beafe1c4338f
This commit is contained in:
Joshua Tsuji
2019-05-29 16:24:43 -04:00
parent cb97a11bea
commit 4bb3e7e714

View File

@@ -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;
}