diff options
| author | 2023-11-02 20:57:39 +0800 | |
|---|---|---|
| committer | 2023-11-02 22:02:26 +0800 | |
| commit | b64ae3f00dc2b038a56873ae2db2841703387991 (patch) | |
| tree | 06674b98a527cb19fabe29b7f3d49001cc85f897 /libs/androidfw/ResourceTimer.cpp | |
| parent | 488eb9856a19aa14faaaca1ae056d960531278d3 (diff) | |
Pause updating surface position while seamless rotating
Since shell transition doesn't use mPendingSeamlessRotate anymore,
it needs to check the equivalent state from AsyncRotationController
to have the same behavior as legacy transition.
If the device doesn't support HWC ScreenDecoration, it will have
non-fullscreen windows with non-zero position. Then it will hit
the case that the surface is un-rotated to previous rotation but
the position is changed to be in new rotation.
Fix: 308735235
Test: atest TransitionTests#testDisplayRotationChange
Test: Display cutout is not flickering when rotating 180 degree.
Change-Id: I6c88be283e7086d81531bc3f710e2714275129e2
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions