Add the leaf task to the recents animation target
- The root task in splitscreen is the secondary shell root Change-Id: I298c846ef813fff5a1bfff8087a45054ff8957d7 Bug: 157624680 Test: Quickswitch in fullscreen and in splitscreen
This commit is contained in:
@@ -3510,7 +3510,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);
|
||||
|
||||
Reference in New Issue
Block a user