Merge "Fix crash when handling recents animation canceled" into sc-dev am: a82403ab09
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/15192339 Change-Id: Id8f402766124ecbb648d81527124e41495e182b5
This commit is contained in:
commit
3ab305e759
|
@ -364,7 +364,9 @@ public class GestureState implements RecentsAnimationCallbacks.RecentsAnimationL
|
|||
mStateCallback.setState(STATE_RECENTS_ANIMATION_ENDED);
|
||||
if (mRecentsAnimationCanceledSnapshot != null) {
|
||||
// Clean up the screenshot to finalize the recents animation cancel
|
||||
mRecentsAnimationController.cleanupScreenshot();
|
||||
if (mRecentsAnimationController != null) {
|
||||
mRecentsAnimationController.cleanupScreenshot();
|
||||
}
|
||||
mRecentsAnimationCanceledSnapshot = null;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue