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
Loading
Please register or sign in to comment