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

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1678047

Change-Id: I7926af0cc16f8409dc551c45fc5bc7088c5e9599
This commit is contained in:
Treehugger Robot
2021-04-20 11:08:10 +00:00
committed by Automerger Merge Worker

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;
}