Merge "AudioService: fix BT SCO volume mute" into tm-qpr-dev
This commit is contained in:
@@ -8396,7 +8396,9 @@ public class AudioService extends IAudioService.Stub
|
|||||||
if (isMutable()) {
|
if (isMutable()) {
|
||||||
// For call stream, align mute only when muted, not when index is set to 0
|
// For call stream, align mute only when muted, not when index is set to 0
|
||||||
mVolumeGroupState.mute(
|
mVolumeGroupState.mute(
|
||||||
forceMuteState ? mIsMuted : groupIndex == 0 || mIsMuted);
|
forceMuteState ? mIsMuted :
|
||||||
|
(groupIndex == 0 && !isCallStream(mStreamType))
|
||||||
|
|| mIsMuted);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user