commit | c3681aa19306c819547fee7bf76505d7a16c0834 | [log] [tgz] |
---|---|---|
author | Jean-Michel Trivi <jmtrivi@google.com> | Mon Jan 17 11:36:24 2022 -0800 |
committer | Jean-Michel Trivi <jmtrivi@google.com> | Mon Jan 17 13:49:51 2022 -0800 |
tree | 2ce31d8667d73bf4ea6022978c753fe97d6ca6a5 | |
parent | 9b33de7b01e0ddaccbc5344b2eeec7ef5c264715 [diff] |
SpatializerHelper: head tracking init / dump When initializing the sensors, also set the headtracking mode to the desired mode, which defaults to RELATIVE_WORLD. When changing the desired tracking mode, compare against the current tracking mode instead of the previous desired mode. Dump state information from AudioService dump. Bug: 210803914 Test: atest SpatializerTest#testHeadTrackingListener Change-Id: I5144d3218223f241cf047d00f843c518c1e617b8