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

Commit 07f66cf4 authored by Jean-Michel Trivi's avatar Jean-Michel Trivi Committed by Gerrit Code Review
Browse files

Merge "[Bugfix] Fix the issue where the spatializer available status could not...

Merge "[Bugfix] Fix the issue where the spatializer available status could not be updated" into main
parents 717897e9 3a8f2e01
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -342,9 +342,6 @@ public class SpatializerHelper {
    //------------------------------------------------------
    // routing monitoring
    synchronized void onRoutingUpdated() {
        if (!mFeatureEnabled) {
            return;
        }
        switch (mState) {
            case STATE_UNINITIALIZED:
            case STATE_NOT_SUPPORTED:
@@ -388,7 +385,7 @@ public class SpatializerHelper {
            setDispatchAvailableState(false);
        }

        boolean enabled = able && enabledAvailable.first;
        boolean enabled = mFeatureEnabled && able && enabledAvailable.first;
        if (enabled) {
            loglogi("Enabling Spatial Audio since enabled for media device:"
                    + currentDevice);