summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-08-23 12:55:44 -0700
committer Chia-I Wu <olv@google.com> 2018-08-27 11:20:24 -0700
commit20261cb526480d8a98f4c393ac0f28cf0a250892 (patch)
treec874c06d6401fb03606a42fc49138b52e8ac193c /libs/gui/LayerDebugInfo.cpp
parentc80dcbb574106f3ff126d6b77cbcd12463089301 (diff)
surfaceflinger: fix race conditions in captureScreen
The display was looked up without holding the state lock. It was also used (including indirectly from updateDimensions) without holding the lock either. Inline updateDimensions in captureScreen with the state lock held. Stop calling updateDimensions in captureLayers. Bug: 113041375 Test: take screenshot, rotate screen, screencap Change-Id: I8b361847c44373ce08930d906ec4a995efd1c21b
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions