Pause insets position until its provider window is drawn

The extends Ibb25dc5735674e6618b5c639c4e2e61ffa678f52.

Even if the start transaction of rotation transition is committed,
the window may have not drawn with new rotation, which means that
the unrotated transform still exists. If let client receive new
position, the client may update the position of new rotation
immediately but the token transform is still in old rotation.

So by removing the condition "!mIsStartTransactionCommitted",
the insets control client won't receive new position before the
insets provider window is done with new rotation.

Bug: 223396866
Test: SeamlessAppRotationTest
Test: Enable auto rotation. Rotate camera app. The navigation
      bar can won't show on screen center.
Change-Id: I2a886a6a04891a7bf09c1152e52a431326a80d03
1 file changed