Loading services/core/java/com/android/server/audio/AudioService.java +3 −7 Original line number Diff line number Diff line Loading @@ -2542,17 +2542,13 @@ public class AudioService extends IAudioService.Stub mVolumeController.postVolumeChanged(streamType, flags); } // If Hdmi-CEC system audio mode is on, we show volume bar only when TV // receives volume notification from Audio Receiver. // If Hdmi-CEC system audio mode is on and we are a TV panel, never show volume bar. private int updateFlagsForTvPlatform(int flags) { synchronized (mHdmiClientLock) { if (mHdmiTvClient != null) { if (mHdmiSystemAudioSupported && ((flags & AudioManager.FLAG_HDMI_SYSTEM_AUDIO_VOLUME) == 0)) { if (mHdmiTvClient != null && mHdmiSystemAudioSupported) { flags &= ~AudioManager.FLAG_SHOW_UI; } } } return flags; } Loading Loading
services/core/java/com/android/server/audio/AudioService.java +3 −7 Original line number Diff line number Diff line Loading @@ -2542,17 +2542,13 @@ public class AudioService extends IAudioService.Stub mVolumeController.postVolumeChanged(streamType, flags); } // If Hdmi-CEC system audio mode is on, we show volume bar only when TV // receives volume notification from Audio Receiver. // If Hdmi-CEC system audio mode is on and we are a TV panel, never show volume bar. private int updateFlagsForTvPlatform(int flags) { synchronized (mHdmiClientLock) { if (mHdmiTvClient != null) { if (mHdmiSystemAudioSupported && ((flags & AudioManager.FLAG_HDMI_SYSTEM_AUDIO_VOLUME) == 0)) { if (mHdmiTvClient != null && mHdmiSystemAudioSupported) { flags &= ~AudioManager.FLAG_SHOW_UI; } } } return flags; } Loading