summaryrefslogtreecommitdiff
path: root/identity/support/src/cppbor_parse.cpp
diff options
context:
space:
mode:
authorEmilian Peev <epeev@google.com>2018-07-26 13:00:08 +0100
committerKeun Soo Yim <yim@google.com>2018-08-28 18:17:55 +0000
commit6fa94395fdb7db15f622c6f5d4bbd0eb0fb490b1 (patch)
treefde1046ba7e11abee2dbd025fe8972a23a032597 /identity/support/src/cppbor_parse.cpp
parentdd06d73cabd7ca0df542e7384978c4c6b5087632 (diff)
Camera: Don't hold 'mLock' when closing the camera session
After flushing the camera requests don't try to close the camera session while still holding 'mLock'. Different Hals could still try and return additional results which then will get blocked on 'mLock'. Closing the session could potentially introduce a deadlock if the Hal implementation waits for any of the result calls to return. Bug: 111836165 Test: vts-tradefed run commandAndExit vts --skip-all-system-status-check --skip-preconditions --module VtsHalCameraProviderV2_4Target -l INFO Change-Id: I0f309f435cc76db3f9b6ba500da65a232b014717 Merged-In: I0f309f435cc76db3f9b6ba500da65a232b014717 (cherry picked from commit 8e920568371136b011c79e6c1d15bcb4c047d0a3)
Diffstat (limited to 'identity/support/src/cppbor_parse.cpp')
0 files changed, 0 insertions, 0 deletions