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

Commit 9fdaf8ed authored by Eric Lin's avatar Eric Lin
Browse files

Apply WCT#setTaskForceExcludedFromRecents for bubble tasks.

Applied WindowContainerTransaction to manage task exclusion from Recents
when moving a fullscreen task into a bubble or opening a new task in a
bubble. When exiting a bubble task to fullscreen via the bubble bar or
dragging the bubble icon, the exclusion is reset to allow the task to
reappear in Recents.

Previously, bubbled tasks were excluded from Recents because they were
always-on-top and in MULTI_WINDOW mode. The following changes supporting
bubble-to-fullscreen transitions use reorder instead of always-on-top
with hidden, which required disabling the always-on-top flag.
Consequently, bubbled tasks were incorrectly appearing in Recents. This
commit resolves the issue by explicitly controlling task visibility in
Recents during bubble transitions.

Bug: 404726350
Flag: com.android.window.flags.exclude_task_from_recents
Test: atest WMShellUnitTests:BubbleTransitionsTest
Test: atest WMShellUnitTests:TaskViewTransitionsTest
Test: atest WMShellRobolectricTests:BubbleExpandedViewTest
Test: atest WMShellRobolectricTests:BubbleTaskViewListenerTest
Test: atest WMShellMultivalentTestsOnDevice:BubbleExpandedViewTest
Test: atest WMShellMultivalentTestsOnDevice:BubbleTaskViewListenerTest
Change-Id: I65c6f097e76ecdcb16c8d0a9cb8484fd9b6485c2
parent d4394fc0
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