Clear refs to the controller and saved snapshot upon finishing animation

Bug: 79322746
Change-Id: I8786909615da3368a22300d5e33cefa4b77623fd
This commit is contained in:
Winson Chung
2018-05-07 10:15:32 -07:00
parent 39306af7d5
commit 76a2a6ae66
2 changed files with 2 additions and 0 deletions

View File

@@ -58,6 +58,7 @@ public class RecentsAnimationWrapper {
if (onFinishComplete != null) {
onFinishComplete.run();
}
controller = null;
}
}
});

View File

@@ -677,6 +677,7 @@ public class WindowTransformSwipeHandler<T extends BaseDraggingActivity> {
mActivityInitListener.unregister();
mInputConsumer.unregisterInputConsumer();
mTaskSnapshot = null;
}
private void invalidateHandlerWithLauncher() {