Merge "Clear references to animation runner when the animation ends." into pi-dev

am: b87834873f

Change-Id: I8a1d90b75128884ebcbcb081e64460edc1794301
This commit is contained in:
android-build-team Robot
2018-05-07 12:48:43 -07:00
committed by android-build-merger

View File

@@ -79,7 +79,7 @@ public class RecentsAnimationController implements DeathRecipient {
public @interface ReorderMode {}
private final WindowManagerService mService;
private final IRecentsAnimationRunner mRunner;
private IRecentsAnimationRunner mRunner;
private final RecentsAnimationCallbacks mCallbacks;
private final ArrayList<TaskAnimationAdapter> mPendingAnimations = new ArrayList<>();
private final int mDisplayId;
@@ -426,7 +426,10 @@ public class RecentsAnimationController implements DeathRecipient {
removeAnimation(taskAdapter);
}
// Clear references to the runner
unlinkToDeathOfRunner();
mRunner = null;
// Clear associated input consumers
mService.mInputMonitor.updateInputWindowsLw(true /*force*/);
mService.destroyInputConsumer(INPUT_CONSUMER_RECENTS_ANIMATION);