Reset state on aborted PiP transition
When a resize PiP transition is aborted, the PipTransitionState is left in SCHEDULED_BOUNDS_CHANGE state and touches would be disabled, i.e. PiP window is not interactable. Fix the issue by advancing to CHANGED_BOUNDS state if we detect such scenario. Moving forward, we should think about other PiP transitions being aborted, like when in ENTERING_PIP or SWIPING_PIP states. Added also logs for PipTransitionState#setState Flag: com.android.wm.shell.enable_pip2 Bug: 407961511 Video: http://recall/-/aaaaaabFQoRHlzixHdtY/ccPLyTWRVRM7TBKy0EPtOI Test: Tap QSB and screen off immediately, with active PiP, see Video Test: atest WMShellUnitTests:PipTransitionStateTest Change-Id: I2e3969172115f4927474f3f7753d8c1c613aeaf2
Loading
Please register or sign in to comment