Skip updating displacement if handler is already invalidated.
Bug: 73338391 Change-Id: I091e8a682f95631e15b3f2cbe3e281c4f18003b9
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user