Revert^2 "Fix bubble relaunch by deferring TaskView animation."
This reverts commit b316b92c and relaunches ag/35363328 with the following modification: The TaskView animation readiness check is moved to occur after the basic "house-keeping" validation. The previous logic incorrectly handled some transitions that were house-keeping operations and should have been passed to other handlers. This change restructures the conditional logic to first check if a transition is for house-keeping. Only then does it check for animation readiness, deferring when TaskView changes cannot be animated due to destroyed surfaces. This fixes the WindowUntrustedTouchTest regression on Android Auto while preserving the original bubble relaunch fix. Additionally, two new unit tests are added to cover the house-keeping scenarios and prevent future regressions. Reason for revert: Relaunch ag/35363328 with bug fix Bug: 442478808 Flag: EXEMPT BUGFIX Test: atest WMShellUnitTests:TaskViewTest Test: atest WMShellUnitTests:TaskViewTransitionStartAnimationTest Test: atest WMShellUnitTests:BubbleTransitionsTest Test: atest CtsWindowManagerDeviceInput:WindowUntrustedTouchTest#testLongEnterAnimations_areLimited Change-Id: I5755d03a585b7096dd8d7843a8fe8913caa4fcfe
Loading
Please register or sign in to comment