summaryrefslogtreecommitdiff
path: root/libs/ultrahdr/jpegencoderhelper.cpp
diff options
context:
space:
mode:
author Dominik Laskowski <domlaskowski@google.com> 2022-09-29 11:57:40 -0400
committer Dominik Laskowski <domlaskowski@google.com> 2023-03-10 14:45:09 -0500
commit1686374dbe5cae834fa206f0bdba5637de7aa5fd (patch)
tree388eff7f85c0ebe2f2968500660b62cdefc3f726 /libs/ultrahdr/jpegencoderhelper.cpp
parent14956dc43288483d823f07786349278f3e46cbe1 (diff)
SF: Commit initial DisplayState under lock
The main thread must `applyTransactions` under `mStateLock` during `onInitializeDisplays`, since a Binder thread could be concurrently writing to `mCurrentState.displays` while creating or destroying a virtual display. Fixes: 244460929 Test: Boot (sporadic crash with no repro steps) Change-Id: I4f8bac4af7635b9b93c7b79826285a26a109cf9e
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions