diff options
| author | 2023-04-24 19:43:25 +0800 | |
|---|---|---|
| committer | 2023-04-25 14:57:05 +0800 | |
| commit | 5b5f97ac72ca326393c7a4795823c5cccf7e2bc1 (patch) | |
| tree | 6491327937b6d0bde8c86366e2c0d0c53dd890ce /libs/androidfw/StringPool.cpp | |
| parent | dfc317e1aac345e0c534363eb983014bfc4d06ef (diff) | |
Set transform hint before rotation transaction is applied
Unlike legacy transition applies setDisplayProjection immediately
when applying rotation change, shell transition applies the
display projection in shell side when the animation is ready.
So if uses the surface when receiving configuration change but
the transaction is not applied yet, it may get an intermediate
inconsistent transform hint.
With this change:
Rotation changed -> send config -> apply pending transaction with
fixed transform hint -> transition ready -> shell starts animation
and applies display projection and unsets fixed transform hint.
Bug: 270282500
Test: atest SurfaceControlTests#testSurfaceChangedOnRotation
Change-Id: Id4ad45adb9719b078f46040a09f786092c325a8a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions