Merge "Add the leaf task to the recents animation target" into rvc-dev

This commit is contained in:
Winson Chung
2020-06-02 17:00:04 +00:00
committed by Android (Google) Code Review

View File

@@ -3504,7 +3504,7 @@ class Task extends WindowContainer<WindowContainer> {
ProtoLog.d(WM_DEBUG_RECENTS_ANIMATIONS,
"applyAnimationUnchecked, control: %s, task: %s, transit: %s",
control, asTask(), AppTransition.appTransitionToString(transit));
control.addTaskToTargets(getRootTask(), finishedCallback);
control.addTaskToTargets(this, finishedCallback);
}
} else {
super.applyAnimationUnchecked(lp, enter, transit, isVoiceInteraction, finishedCallback);