Loading services/core/java/com/android/server/hdmi/HdmiControlService.java +4 −4 Original line number Diff line number Diff line Loading @@ -4821,10 +4821,6 @@ public class HdmiControlService extends SystemService { mAbsoluteVolumeChangedListener = new AbsoluteVolumeChangedListener( localDevice, systemAudioDevice); // AudioService sets the volume of the stream and device based on the input VolumeInfo // when enabling absolute volume behavior, but not the mute state notifyAvbMuteChange(audioStatus.getMute()); // If <Set Audio Volume Level> is supported, enable absolute volume behavior. // Otherwise, enable adjust-only AVB on TVs only. if (systemAudioDevice.getDeviceFeatures().getSetAudioVolumeLevelSupport() Loading @@ -4844,6 +4840,10 @@ public class HdmiControlService extends SystemService { } } // AudioService sets the volume of the stream and device based on the input VolumeInfo // when enabling absolute volume behavior, but not the mute state notifyAvbMuteChange(audioStatus.getMute()); } private AbsoluteVolumeChangedListener mAbsoluteVolumeChangedListener; Loading Loading
services/core/java/com/android/server/hdmi/HdmiControlService.java +4 −4 Original line number Diff line number Diff line Loading @@ -4821,10 +4821,6 @@ public class HdmiControlService extends SystemService { mAbsoluteVolumeChangedListener = new AbsoluteVolumeChangedListener( localDevice, systemAudioDevice); // AudioService sets the volume of the stream and device based on the input VolumeInfo // when enabling absolute volume behavior, but not the mute state notifyAvbMuteChange(audioStatus.getMute()); // If <Set Audio Volume Level> is supported, enable absolute volume behavior. // Otherwise, enable adjust-only AVB on TVs only. if (systemAudioDevice.getDeviceFeatures().getSetAudioVolumeLevelSupport() Loading @@ -4844,6 +4840,10 @@ public class HdmiControlService extends SystemService { } } // AudioService sets the volume of the stream and device based on the input VolumeInfo // when enabling absolute volume behavior, but not the mute state notifyAvbMuteChange(audioStatus.getMute()); } private AbsoluteVolumeChangedListener mAbsoluteVolumeChangedListener; Loading