Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c2a94de8 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Ignore cutouts in handleSwipePiptoHomeTransition

For auto-enter PiP animation,
PipTransition#handleSwipePipToHomeTransition populates the final surface
control transactions from the animator by setting fraction to end.

With ag/28133983, display cutout insets would be taken into account
mistakenly and causes the content shifted at the end.

Fixing this by empty the cutout information before populating the final
transactions.

Flag: EXEMPT bugfix
Bug: 354206307
Test: Enter PiP from Netflix on different foldables and phones
Change-Id: If57b774ba7c9343f9c45f32069b637302fafcf9f
parent a97e0590
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