Skip to content
Commit 19da8aeb authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent 89d3076a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment