summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author Anthony Stange <stange@google.com> 2021-09-29 15:47:53 +0000
committer Anthony Stange <stange@google.com> 2021-09-30 17:23:24 +0000
commitfb4e33acfe0c432d19c1716d7d3405238ecd039e (patch)
treeb9cb5e125d2f9423c8132f5a81818ad8e5293f4c /libs/gui/BLASTBufferQueue.cpp
parent979587e1f43c27557eb68c1d4031edd57100f553 (diff)
Block dynamic connection event if sensor not found
A bug in the Sensors HIDL spec marks onDynamicSensorsConnected as oneway which means that HALs are not blocked on the framework processing that event. This means the onDynamicSensorsConnected invocation and dynamic meta event can be received out of order. Blocking processing of the event gives time for onDynamicSensorsConnected to be invoked so that the event can be correctly processed. Bug: 201529167 Test: Connect dynamic sensor and validate that the HAL can deliver the event and method invocation without any sleeps on the HAL side. Change-Id: Ie1cad22f26de60a7cecb3c6048280c4919165dbb
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions