[automerge] Fix orientation change between PiPs when collapsed 2p: 84dedaffac
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/17391324 Bug: 226571625 Change-Id: I34bb87db9d7188c77c660f71a4e1ca7c51824cef
This commit is contained in:
committed by
Presubmit Automerger Backend
commit
881d7db718
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user