Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
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