Merge "Fix <Routing Change> doesn't send on first switch."
This commit is contained in:
@@ -377,6 +377,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
int oldPath = getActivePortId() != Constants.INVALID_PORT_ID
|
int oldPath = getActivePortId() != Constants.INVALID_PORT_ID
|
||||||
|
&& getActivePortId() != Constants.CEC_SWITCH_HOME
|
||||||
? mService.portIdToPath(getActivePortId()) : getDeviceInfo().getPhysicalAddress();
|
? mService.portIdToPath(getActivePortId()) : getDeviceInfo().getPhysicalAddress();
|
||||||
setActivePath(oldPath);
|
setActivePath(oldPath);
|
||||||
if (mSkipRoutingControl) {
|
if (mSkipRoutingControl) {
|
||||||
|
|||||||
Reference in New Issue
Block a user