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

Commit 881d7db7 authored by Jacqueline Bronger's avatar Jacqueline Bronger Committed by Presubmit Automerger Backend
Browse files

[automerge] Fix orientation change between PiPs when collapsed 2p: 84dedaff

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

Bug: 226571625
Change-Id: I34bb87db9d7188c77c660f71a4e1ca7c51824cef
parents fabeb3d6 84dedaff
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -95,10 +95,10 @@ public class TvPipBoundsAlgorithm extends PipBoundsAlgorithm {
            ProtoLog.d(ShellProtoLogGroup.WM_SHELL_PICTURE_IN_PICTURE,
                    "%s: getEntryDestinationBounds()", TAG);
        }
        updateExpandedPipSize();
        if (mTvPipBoundsState.isTvExpandedPipSupported()
                && mTvPipBoundsState.getDesiredTvExpandedAspectRatio() != 0
                && !mTvPipBoundsState.isTvPipManuallyCollapsed()) {
            updateExpandedPipSize();
            updateGravityOnExpandToggled(Gravity.NO_GRAVITY, true);
            mTvPipBoundsState.setTvPipExpanded(true);
        }