summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorRobert Carr <racarr@google.com>2020-05-26 11:29:39 -0700
committerRobert Carr <racarr@google.com>2020-05-26 11:29:39 -0700
commit5d9d2ddca2d84f9614a6ccb0b7441d80c4f1e728 (patch)
treef54badeb6e5ac1ae3268df93305835360948a48a /tools/aapt2/java/JavaClassGenerator.cpp
parent7a639dce1b6130f3833103c03727a04266d2f8d5 (diff)
WindowlessWindowManager: Set size when creating surface
When we set the buffer size from relayout window, there is a race condition where the client may then submit its first buffer but the transaction hasnt applied yet on the SF side and so the buffer is rejected. Setting a defualt size when creating fixes this. Luckily SurfaceControlViewHost size is known at add time, since we force the window size based on the values passed in to the SurfaceControlViewHost API. Bug: 157153874 Test: Existing tests pass Change-Id: I2566844aea81df92f1694f43254a480fc3b3c019
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions