Fix Tv PiP fullscreen shell transition (bounds)

Makes sure the menu surfaces scale together with the PiP content.

Bug: 271098548
Test: manual - make sure shell transitions are enabled, enter a PiP and
select fullscreen in the PiP menu -> menu buttons should fade out and
menu bounds should scale with the PiP content instead of staying at the
previous PiP location

Change-Id: I5f4ccef489d3fedbe0c8c453c0eb538a1f611856
This commit is contained in:
Jacqueline Bronger
2023-03-07 16:48:00 +01:00
parent b4a8a82fa9
commit b2b93dd563

View File

@@ -611,6 +611,7 @@ public class PipTransition extends PipTransitionController {
0 /* startingAngle */, rotationDelta);
animator.setTransitionDirection(TRANSITION_DIRECTION_LEAVE_PIP)
.setPipAnimationCallback(mPipAnimationCallback)
.setPipTransactionHandler(mPipOrganizer.getPipTransactionHandler())
.setDuration(mEnterExitAnimationDuration)
.start();
}