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

Commit df4b2857 authored by Hongwei Wang's avatar Hongwei Wang Committed by Automerger Merge Worker
Browse files

Merge "Do not move PiP upon Display change during exit" into sc-dev am: 21f0b70d am: a9b0f5e9

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14629573

Change-Id: I6cca62e7a8b0a94c054e31ff2ee3466f27d7c414
parents 8e30c675 a9b0f5e9
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -450,7 +450,7 @@ public class PipController implements PipTransitionController.PipTransitionCallb
                    null /* windowContainerTransaction */);
        };

        if (saveRestoreSnapFraction) {
        if (mPipTaskOrganizer.isInPip() && saveRestoreSnapFraction) {
            // Calculate the snap fraction of the current stack along the old movement bounds
            final PipSnapAlgorithm pipSnapAlgorithm = mPipBoundsAlgorithm.getSnapAlgorithm();
            final Rect postChangeStackBounds = new Rect(mPipBoundsState.getBounds());