commit | c29bad6438fa51331a4ca6dd434b2134073d578b | [log] [tgz] |
---|---|---|
author | Ytai Ben-Tsvi <ytai@google.com> | Thu Sep 09 10:22:52 2021 -0700 |
committer | Ytai Ben-Tsvi <ytai@google.com> | Fri Sep 10 10:21:06 2021 -0700 |
tree | 52e317e02875e3645613d675c28ed1c55c6d956b | |
parent | 1f10f72c4143a5aedd9dcaab6db33adb331f735e [diff] |
Ensure correct destruction of SensorPoseProviderImpl - Delete the queue from the same thread that creates it (or otherwise we risk it being deleted after its looper has already been destroyed). - Disable all sensors prior to shutting down the queue. Test: Ran SensorPoseProvider-example Bug: 188502620 Change-Id: I1200c9fd90bfe750608e809a667f54aa85250b55