summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-09-06 16:03:27 +0000
committer Vishnu Nair <vishnun@google.com> 2022-09-06 16:03:30 +0000
commit86e11906597167694ce1919c4c25d747f793112d (patch)
tree02a33670d4286fa555602820857b45265315feef /libs/gui/BufferQueueThreadState.cpp
parentd9dd2418f8a4e167e26897a29a9c7560ba3a187c (diff)
SurfaceFlinger: Fix layer creation race
While we create a new layer, the main thread may wake up and set the layer parent which means we will start traversing the layer parents in the binder thread. Fix this by updating the transform hint which checks the parents before pass the layer creation request to the main thread. Change-Id: Icb87fb4c33bb3a110169d885398f628df319de88 Test: presubmit Fixes: 243122612
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions