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
1 file changed