summaryrefslogtreecommitdiff
path: root/cmds/bootanimation/BootAnimationUtil.cpp
diff options
context:
space:
mode:
author Emilian Peev <epeev@google.com> 2023-04-21 14:42:58 -0700
committer Emilian Peev <epeev@google.com> 2023-05-16 00:27:40 +0000
commit9e8348b803fa0aa261b3be4845b25a43bbf981d3 (patch)
tree76a01acaca49bda96dd6458ecaf26673e5b6e680 /cmds/bootanimation/BootAnimationUtil.cpp
parent6cca48d23d91913820a08d8f20427fc630b973ff (diff)
Camera: Quit extension handler thread during release
The extension framework logic assumes that there will be no further handler loop processing after the release method quits the corresponding thread. The current approach does allow pending messages to be handled which depending on timing can result in data races. To avoid potential data races ensure that the handler thread quits regardless of any queued messages. Additionally synchronize access to 'mImageListenerMap' in 'CameraOutputImageCallback'. Bug: 278160240 Test: Camera CTS Change-Id: I3a78fa566cfe72dbfa1bc5721854823243e03f23
Diffstat (limited to 'cmds/bootanimation/BootAnimationUtil.cpp')
0 files changed, 0 insertions, 0 deletions