summaryrefslogtreecommitdiff
path: root/libs/renderengine/RenderEngine.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2019-10-18 14:17:23 -0700
committer Ady Abraham <adyabr@google.com> 2019-10-18 21:19:27 +0000
commita3129fbfc3f4f31e1760442b786adcbfdea37578 (patch)
tree3575320c1b25d80165704a0d2a6da536b0b5e8a3 /libs/renderengine/RenderEngine.cpp
parent7b54102e954151bbbc16cec01a922d811fc209aa (diff)
SurfaceFlinger: lock mStateLock when modifying allowed configs
mAllowedDisplayConfigs should be protected by mStateLock when changing it from the main thread in setAllowedDisplayConfigsInternal() as it is being read by Binder threads in getAllowedDisplayConfigs(). Test: call setAllowedDisplayConfigs() and getAllowedDisplayConfigs() from backdoor using different threads. Bug: 142850581 Change-Id: I569e75968aea676c96fbc648140ac49a165ffb69
Diffstat (limited to 'libs/renderengine/RenderEngine.cpp')
0 files changed, 0 insertions, 0 deletions