Merge "Do not get portInfo if physical address is 0x0000" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
054f5c15c9
@@ -413,7 +413,7 @@ public class HdmiCecNetwork {
|
||||
*/
|
||||
boolean isConnectedToArcPort(int physicalAddress) {
|
||||
int portId = physicalAddressToPortId(physicalAddress);
|
||||
if (portId != Constants.INVALID_PORT_ID) {
|
||||
if (portId != Constants.INVALID_PORT_ID && portId != Constants.CEC_SWITCH_HOME) {
|
||||
return mPortInfoMap.get(portId).isArcSupported();
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user