Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21c00578 authored by Ats Jenk's avatar Ats Jenk
Browse files

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
parent 17c1aa57
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment