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
Loading
Please register or sign in to comment