summaryrefslogtreecommitdiff
path: root/libs/hwui/renderthread/DrawFrameTask.cpp
diff options
context:
space:
mode:
authorSteve Elliott <steell@google.com>2021-07-13 12:18:23 -0400
committerSteve Elliott <steell@google.com>2021-07-14 14:13:39 +0000
commitc6f61ee9a96cfbc8015c83c3b8ad868405c0ef51 (patch)
treeb59991fbbd0f473c111ae85872f2b346cd11184b /libs/hwui/renderthread/DrawFrameTask.cpp
parenta40b1cb418e8242bbfdd40fb7118415811235e51 (diff)
Defensively copy callback collections before invoking
This is done in order to prevent ConcurrentModificationExceptions, caused by the callback unregistering itself when invoked. The pattern used by this CL is also used by StatusBarStateControllerImpl. Fixes: 192192372 Test: manual Change-Id: Ibac2282d5c9242ae063adb2247d4297291fa3abf Merged-In: Ibac2282d5c9242ae063adb2247d4297291fa3abf
Diffstat (limited to 'libs/hwui/renderthread/DrawFrameTask.cpp')
0 files changed, 0 insertions, 0 deletions