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
diff --git a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java
index aa3afc5..5755a10 100644
--- a/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java
+++ b/libs/WindowManager/Shell/src/com/android/wm/shell/pip/PipTransition.java
@@ -611,6 +611,7 @@
0 /* startingAngle */, rotationDelta);
animator.setTransitionDirection(TRANSITION_DIRECTION_LEAVE_PIP)
.setPipAnimationCallback(mPipAnimationCallback)
+ .setPipTransactionHandler(mPipOrganizer.getPipTransactionHandler())
.setDuration(mEnterExitAnimationDuration)
.start();
}