summaryrefslogtreecommitdiff
path: root/opengl/libagl/array.cpp
diff options
context:
space:
mode:
author Chia-I Wu <olv@google.com> 2018-08-23 12:55:44 -0700
committer Yiwei Zhang <zzyiwei@google.com> 2019-03-21 04:34:16 +0000
commit946e37e71f872a960c86e52edc3c501826b6e8a5 (patch)
treefe96c3589b65a17d163b1fb757df84cefdb156a1 /opengl/libagl/array.cpp
parent82144eb9bfe26c63d8ec3bc0546f0a2b12555306 (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 Merged-In: I8b361847c44373ce08930d906ec4a995efd1c21b
Diffstat (limited to 'opengl/libagl/array.cpp')
0 files changed, 0 insertions, 0 deletions