summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Robert Carr <racarr@google.com> 2022-03-21 15:55:22 -0700
committer Rob Carr <racarr@google.com> 2022-03-23 20:23:41 +0000
commit9b623c33421f3d628e3147af0f76d1da63d66c4d (patch)
tree291114a9eb303fbc1c97740453e0a175ef7249be /libs/gui/LayerDebugInfo.cpp
parent88b85e1f9b2fb3cf1ab9da1967e1d454be2d5be0 (diff)
SurfaceFlinger: Avoid race in flag manager
Initializing the flag manager from one binder thread while using it from another doesn't seem very safe. This is in fact what could happen if onBootFinished overlaps with dump, the objects constructor doesn't do anything in particular so we can just default construct it as a value member instead. Bug: 219059993 Test: Existing tests pass Change-Id: I7162812b000d67adb9ed745d31d8bac8b2e8f73e
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions