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

Commit 65cef33d authored by Eric Laurent's avatar Eric Laurent
Browse files

DO NOT MERGE - Spatializer: disable head tracking

Disable head tracking until the implementation is optimized to
not register the head pose sensor unless really needed.

Bug: 224623509
Test: make
Change-Id: I08802b573e0afcaf75dc46bb67e4bd285951818a
parent d23aa163
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -216,7 +216,9 @@ status_t Spatializer::loadEngineConfiguration(sp<EffectHalInterface> effect) {
    if (status != NO_ERROR) {
        return status;
    }
    mSupportsHeadTracking = supportsHeadTracking[0];
// Disable head tracking until head sensor activity is properly controlled.
//    mSupportsHeadTracking = supportsHeadTracking[0];
    mSupportsHeadTracking = false;

    status = getHalParameter<true>(effect, SPATIALIZER_PARAM_SUPPORTED_LEVELS, &mLevels);
    if (status != NO_ERROR) {