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

Commit ff1f3558 authored by Hongwei Wang's avatar Hongwei Wang
Browse files

Revert the increase of PiP resize bounds

This is a revert of ag/33317432: increasing one pixel causes more test
failures than decreasing one pixel. The underlying bug is not fixed,
this remains as a work around.

Flag: EXEMPT testfix
Bug: 414761681
Test: atest PinnedStackTests
Change-Id: I92304d86a0706e7a00d2a96872f34e08692858ce
parent 542b26c3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -210,7 +210,7 @@ public class PipScheduler implements PipTransitionState.PipTransitionStateChange
                    && mPipBoundsState.getBounds().height() == toBounds.height()) {
                // TODO (b/393159816): Config-at-End causes a flicker without size change.
                // If PiP size isn't changing enforce a minimal one-pixel change as a workaround.
                ++toBounds.bottom;
                --toBounds.bottom;
            }
        }
        wct.setBounds(pipTaskToken, toBounds);