Update insets position after rotation change is done

Otherwise because getWindowFrameSurfacePosition returns old position
before the display rotation transform is applied, if the position
doesn't update after the transform is done, it will show old position
in new rotation around a few frames. Such as the handle of navigation
bar may be flickering at screen center.

Bug: 338091119
Test: atest TransitionTests#testAppTransitionWithRotationChange

Change-Id: I21a0f10d4c83b6e7137ea0b389f2bbe1a4c82c2f
3 files changed