Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3c48ad9e authored by Eric Laurent's avatar Eric Laurent Committed by Andy Hung
Browse files

Spatializer: recenter head pose when head tracking is disabled

Make sure a centered head pose as well as a disabled head tracking
mode is sent to the spatializer effect engine when head tracking is
disabled or the head tracking sensor unregistered.

Previous implementation was relying on updates from the
onActualModeChange() callback from the head pose controller but this
callback is not garantied when the pose controller is destroyed.
Also a neutral head pose is explicitely applied to the engine before
disabling headtracking.

Bug: 249820860
Test: repro steps in bug.
Merged-In: I3c8fee7c1cd763206826d4d5f9058abc3231b118
Change-Id: I3c8fee7c1cd763206826d4d5f9058abc3231b118
parent e8478652
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment