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

Commit 3761fe1c authored by Eric Lin's avatar Eric Lin
Browse files

Reset hidden state when reordering bubble task.

When launching a bubbled task A from another bubble B, task A could
sometimes remain hidden. This occurred due to a corner case in
`TaskViewTransitions#prepareOpenAnimation` which sets the task to hidden
before it became visible.

This change addresses the issue by explicitly setting the hidden state
to false when reordering the task without synchronizing visibility with
the force hidden state, which is the path used for bubbles.
Additionally, the parameter `toggleHiddenOnReorder` was renamed to
`syncHiddenWithVisibilityOnReorder` for better clarity.

Bug: 407875076
Flag: com.android.wm.shell.enable_create_any_bubble
Flag: com.android.window.flags.exclude_task_from_recents
Test: atest WMShellUnitTests:TaskViewTransitionsTest
Test: atest WMShellRobolectricTests:BubbleControllerTest
Test: atest WMShellMultivalentTestsOnDevice:BubbleControllerTest
Change-Id: I0aba969c1a856393b4aec614680c14ba1f2f1a98
parent f1fccb2b
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