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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user