Only defer remove starting window if the collecting target below task
Recents transition only collect the task, so the defer remove condition cannot check TransitionController#inCollectingTransition since that would check all of it's parent. And ActivityRecord cannot receive onSyncTransactionCommitted when the target is task only. Bug: 301278884 Test: try to simulate start recenst + app window draw at the same time, monitor the starting window can remove normally. Change-Id: Ia4b1c654679e07c2dd59b97348d78a3b6df1113d
Loading
Please register or sign in to comment