Merge "Merge "AudioService: fix BT SCO volume mute" into tm-qpr-dev am: 77c924780c am: e5a19023eb" into udc-dev

This commit is contained in:
Automerger Merge Worker
2023-03-07 19:20:15 +00:00
committed by Android (Google) Code Review

View File

@@ -8588,7 +8588,9 @@ public class AudioService extends IAudioService.Stub
if (isMutable()) {
// For call stream, align mute only when muted, not when index is set to 0
mVolumeGroupState.mute(
forceMuteState ? mIsMuted : groupIndex == 0 || mIsMuted);
forceMuteState ? mIsMuted :
(groupIndex == 0 && !isCallStream(mStreamType))
|| mIsMuted);
}
}
}