Remove a task from bubbles if it is moving to split
Add a check to BubblesTransitionObserver for the case when a bubbled task is moving to split screen. If we detect this, remove the bubble and the task view for it. Blocks any of the task view transitions from running that are triggered from removing the task view. This task is moving to split screen and we do not need to update core or start any transitions. Just clean up on the Shell side. Adds a dummy transition into the task view transitions queue, this allows us to remove any pending transitions that are scheduled after removing the task view. Bug: 396315875 Test: atest WMShellUnitTests:BubblesTransitionObserverTest Flag: com.android.wm.shell.enable_create_any_bubble Change-Id: Ic997627e9f1d229e958940831300d11621396a1e
Loading
Please register or sign in to comment