summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorPeiyong Lin <lpy@google.com>2021-06-02 02:38:03 +0000
committerPeiyong Lin <lpy@google.com>2021-06-02 02:40:46 +0000
commit13424a9cb5247848d786bf9a93c53e46ca4e7bad (patch)
treeeb60b683560436f4d0a9e514e66db95d2cb2e64f /libs/hwui/renderthread/DrawFrameTask.cpp
parent79ce03a8de38ab84ae1e416ad30cfa628c38ee24 (diff)
Use CopyOnWriteArrayList in RecordingController.
Previously there's nothing preventing recording callback to be removed when it is called. This creates cocurrent problems and would crashes system ui. This patch replaces the ArrayList with CopyOnWriteArrayList to avoid this issue. Bug: b/189216310 Test: test by triggering screen record in quick settings Test: test by quickly toggling screen record Change-Id: I6e82f92689b45c92cdad6a811e3e5ddc96a10530
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions