Set KCA during swipe PiP to home

Set the KCA region due to the shelf height
upon swiping PiP to home.

We are also getting the pip change from
TransitionInfo coming into PipTransition#startExpandAnimation()
using the PiP task token instead of querying the windowing mode;
this is needed since the task is not PINNED at this point.
This was causing an issue where we wouldn't end up in EXITED_PIP
state.

Bug: 356508169
Flag: com.android.wm.shell.enable_pip2_implementation
Test: swipe up to enter PiP
Change-Id: Iae616572271e08371c8aa200fd34402bae1655d1
2 files changed