Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit e84dc7d4 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

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
parent d24f7b2d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment