Reduce flickering when swiping auto-pip with orientation change
This reuses the partial legacy path to avoid sending additional
configuration change from display rotation to PiP task before
setting the destinations PiP bounds.
The rough steps: Transient transition finishes -> Update task to pip
-> Transition with pip and display change -> PipTransition applies
surface transform in new rotation (handleSwipePipToHomeTransition,
the startTransaction contains display projection) -> onFinishResize
applies the PiP bounds in new rotation.
Bug: 281741016
Test: Swipe an auto-pip activity from landscape to portrait.
No obvious flickering.
Change-Id: I0f6cc6f09cecb3b3e2b6365827002f76ae13d57f
Loading
Please register or sign in to comment