Merge "Change checking rule in startArcAction(false) for HDMI CTS"
This commit is contained in:
@@ -1092,10 +1092,11 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
HdmiDeviceInfo avr = getAvrDeviceInfo();
|
HdmiDeviceInfo avr = getAvrDeviceInfo();
|
||||||
if (avr != null
|
if (avr != null
|
||||||
&& (avrAddress == avr.getLogicalAddress())
|
&& (avrAddress == avr.getLogicalAddress())
|
||||||
&& isConnectedToArcPort(avr.getPhysicalAddress())
|
&& isConnectedToArcPort(avr.getPhysicalAddress())) {
|
||||||
&& isDirectConnectAddress(avr.getPhysicalAddress())) {
|
|
||||||
if (enabled) {
|
if (enabled) {
|
||||||
return isConnected(avr.getPortId()) && isArcFeatureEnabled(avr.getPortId());
|
return isConnected(avr.getPortId())
|
||||||
|
&& isArcFeatureEnabled(avr.getPortId())
|
||||||
|
&& isDirectConnectAddress(avr.getPhysicalAddress());
|
||||||
} else {
|
} else {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user