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

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/11672321

Change-Id: Ib1ef1725274ceab1330a02ff678c96ef7c25003d
This commit is contained in:
Winson Chung
2020-06-02 17:16:29 +00:00
committed by Automerger Merge Worker

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);