Loading services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceAudioSystem.java +4 −1 Original line number Diff line number Diff line Loading @@ -1150,7 +1150,10 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource { } // Wake up if the current device if ready to route. mService.wakeUp(); if (portId == Constants.CEC_SWITCH_HOME && mService.isPlaybackDevice()) { // Switch to HOME if the current active port is not HOME yet if (portId == Constants.CEC_SWITCH_HOME && mService.isPlaybackDevice() && getLocalActivePort() != Constants.CEC_SWITCH_HOME) { switchToHomeTvInput(); } else if (portId == Constants.CEC_SWITCH_ARC) { switchToTvInput(SystemProperties.get(Constants.PROPERTY_SYSTEM_AUDIO_DEVICE_ARC_PORT)); Loading Loading
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceAudioSystem.java +4 −1 Original line number Diff line number Diff line Loading @@ -1150,7 +1150,10 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource { } // Wake up if the current device if ready to route. mService.wakeUp(); if (portId == Constants.CEC_SWITCH_HOME && mService.isPlaybackDevice()) { // Switch to HOME if the current active port is not HOME yet if (portId == Constants.CEC_SWITCH_HOME && mService.isPlaybackDevice() && getLocalActivePort() != Constants.CEC_SWITCH_HOME) { switchToHomeTvInput(); } else if (portId == Constants.CEC_SWITCH_ARC) { switchToTvInput(SystemProperties.get(Constants.PROPERTY_SYSTEM_AUDIO_DEVICE_ARC_PORT)); Loading