mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 01:46:49 +00:00
Clear refs to the controller and saved snapshot upon finishing animation
Bug: 79322746 Change-Id: I8786909615da3368a22300d5e33cefa4b77623fd
This commit is contained in:
@@ -58,6 +58,7 @@ public class RecentsAnimationWrapper {
|
||||
if (onFinishComplete != null) {
|
||||
onFinishComplete.run();
|
||||
}
|
||||
controller = null;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
@@ -677,6 +677,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
|
||||
|
||||
mActivityInitListener.unregister();
|
||||
mInputConsumer.unregisterInputConsumer();
|
||||
mTaskSnapshot = null;
|
||||
}
|
||||
|
||||
private void invalidateHandlerWithLauncher() {
|
||||
|
||||
Reference in New Issue
Block a user