Loading services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -251,7 +251,9 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice { } } int targetAddress = targetDevice.getLogicalAddress(); int targetAddress = targetDevice.getLogicalAddress(); ActiveSource active = getActiveSource(); ActiveSource active = getActiveSource(); if (active.isValid() && targetAddress == active.logicalAddress) { if (targetDevice.getDevicePowerStatus() == HdmiControlManager.POWER_STATUS_ON && active.isValid() && targetAddress == active.logicalAddress) { invokeCallback(callback, HdmiControlManager.RESULT_SUCCESS); invokeCallback(callback, HdmiControlManager.RESULT_SUCCESS); return; return; } } Loading Loading
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java +3 −1 Original line number Original line Diff line number Diff line Loading @@ -251,7 +251,9 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice { } } int targetAddress = targetDevice.getLogicalAddress(); int targetAddress = targetDevice.getLogicalAddress(); ActiveSource active = getActiveSource(); ActiveSource active = getActiveSource(); if (active.isValid() && targetAddress == active.logicalAddress) { if (targetDevice.getDevicePowerStatus() == HdmiControlManager.POWER_STATUS_ON && active.isValid() && targetAddress == active.logicalAddress) { invokeCallback(callback, HdmiControlManager.RESULT_SUCCESS); invokeCallback(callback, HdmiControlManager.RESULT_SUCCESS); return; return; } } Loading