Trigger PiP movement on KCA changes

Make sure KCA areas and further updates
are respected under certain conditions,
such as when we haven't interacted with PiP directly.

Make sure that shelf becoming invisible after KCA updates
only triggers a delayed transition (similar to PiP1) to avoid
double animations due to IME changes;

For example, tapping quicksearch,
triggers both IME and shelf turning invisible,
and we want to avoid these race conditions or multiple
sequantial animations.

Bug: 356508169
Flag: com.android.wm.shell.enable_pip2_implementation
Test: swipe up to enter PiP, open all apps, close all apps
Change-Id: I2a54711c7abff0aeb5b2cf39507d66b3a3d6c00f
2 files changed