mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 19:38:21 +00:00
Merge "Fix crash when handling recents animation canceled" into sc-dev
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user