Merge "Don't update volume in AudioService when SAM is on and ARC is off"

This commit is contained in:
Treehugger Robot
2021-04-20 10:44:34 +00:00
committed by Gerrit Code Review

View File

@@ -1289,6 +1289,7 @@ public class HdmiControlService extends SystemService {
void setAudioStatus(boolean mute, int volume) {
if (!isTvDeviceEnabled()
|| !tv().isSystemAudioActivated()
|| !tv().isArcEstablished() // Don't update TV volume when SAM is on and ARC is off
|| !isHdmiCecVolumeControlEnabled()) {
return;
}