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

Commit 89f3a6fe authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "audio: applyStreamVolumes when return by unsupported device" into main

parents 2f5eb682 5ccbce1b
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8060,6 +8060,7 @@ uint32_t AudioPolicyManager::setOutputDevices(const char *caller,
              devices.toString().c_str());
        // restore previous device after evaluating strategy mute state
        outputDesc->setDevices(prevDevices);
        applyStreamVolumes(outputDesc, prevDevices.types(), delayMs, true /*force*/);
        return muteWaitMs;
    }