Revert "Request transtion when a task is removed"

This reverts commit 142f4dcccd.

Reason for revert: b/276189557

Change-Id: Ife0bd871f22f0cfeaf00bcfac8893c11f1609e6b
This commit is contained in:
Liana Kazanova
2023-03-30 23:17:49 +00:00
committed by Android (Google) Code Review
parent 142f4dcccd
commit 3929ee9869

View File

@@ -1562,7 +1562,6 @@ 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,