Merge "Request transtion when a task is removed" into udc-dev

This commit is contained in:
Kazuki Takise
2023-03-30 05:52:26 +00:00
committed by Android (Google) Code Review

View File

@@ -1562,6 +1562,7 @@ public class ActivityTaskSupervisor implements RecentTasks.Callbacks {
}
private void removePinnedRootTaskInSurfaceTransaction(Task rootTask) {
rootTask.mTransitionController.requestCloseTransitionIfNeeded(rootTask);
/**
* Workaround: Force-stop all the activities in the root pinned task before we reparent them
* to the fullscreen root task. This is to guarantee that when we are removing a root task,