Loading services/audiopolicy/managerdefault/AudioPolicyManager.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -7354,7 +7354,8 @@ status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, // if sco and call follow same curves, bypass forceUseForComm if ((callVolSrc != btScoVolSrc) && ((isVoiceVolSrc && isScoRequested) || (isBtScoVolSrc && !(isScoRequested || isHAUsed)))) { (isBtScoVolSrc && !(isScoRequested || isHAUsed))) && !isSingleDeviceType(deviceTypes, AUDIO_DEVICE_OUT_TELEPHONY_TX)) { ALOGV("%s cannot set volume group %d volume when is%srequested for comm", __func__, volumeSource, isScoRequested ? " " : " not "); // Do not return an error here as AudioService will always set both voice call Loading Loading
services/audiopolicy/managerdefault/AudioPolicyManager.cpp +2 −1 Original line number Diff line number Diff line Loading @@ -7354,7 +7354,8 @@ status_t AudioPolicyManager::checkAndSetVolume(IVolumeCurves &curves, // if sco and call follow same curves, bypass forceUseForComm if ((callVolSrc != btScoVolSrc) && ((isVoiceVolSrc && isScoRequested) || (isBtScoVolSrc && !(isScoRequested || isHAUsed)))) { (isBtScoVolSrc && !(isScoRequested || isHAUsed))) && !isSingleDeviceType(deviceTypes, AUDIO_DEVICE_OUT_TELEPHONY_TX)) { ALOGV("%s cannot set volume group %d volume when is%srequested for comm", __func__, volumeSource, isScoRequested ? " " : " not "); // Do not return an error here as AudioService will always set both voice call Loading