summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorEvan Rosky <erosky@google.com>2021-01-11 17:19:42 +0000
committerEvan Rosky <erosky@google.com>2021-02-23 12:28:12 -0800
commit23c07addaf5a557b833589ad504ab7a79b173dab (patch)
tree5d0f9b1390dfbade1c118eb0a78c10d8c5feca21 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent48e84f968f2cfa1484c14876ba19c33001bc6bee (diff)
Create surfacecontrol before layout in relayoutWindow
If there is no surfacecontrol, relayout is skipped. This is often fine because a later surfaceplacement pass usually happens; however, when combined with commitFinishDrawingLocked being out-of-order with layout during traversal, a race can happen where relayoutWindow creates the surface (after surface placement) and then commitFinishDrawing runs immediately after that causing a windowanimation to use non-laid-out surface positions. Bug: 174636007 Test: Use logging to verify that layout/surface-placement happen during relayoutWindow on a new window. Change-Id: Ic9d17e3d26de2ecd082e4fff642c1d456a7b071e
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions