Remove playback device handling from source device routing control
Redundant since handleRoutingChange and handleRoutingInformation are overridden in HdmiCecLocalDevicePlayback. Bug: 153950818 Test: atest HdmiCecLocalDevicePlaybackTest Change-Id: Id09ab99c082546027e8d15f06ea42b2488b768b1
This commit is contained in:
@@ -190,12 +190,6 @@ abstract class HdmiCecLocalDeviceSource extends HdmiCecLocalDevice {
|
||||
mService.maySendFeatureAbortCommand(message, Constants.ABORT_REFUSED);
|
||||
return true;
|
||||
}
|
||||
// if the current device is a pure playback device
|
||||
if (!mIsSwitchDevice
|
||||
&& physicalAddress == mService.getPhysicalAddress()
|
||||
&& mService.isPlaybackDevice()) {
|
||||
setAndBroadcastActiveSource(message, physicalAddress);
|
||||
}
|
||||
handleRoutingChangeAndInformation(physicalAddress, message);
|
||||
return true;
|
||||
}
|
||||
@@ -214,12 +208,6 @@ abstract class HdmiCecLocalDeviceSource extends HdmiCecLocalDevice {
|
||||
mService.maySendFeatureAbortCommand(message, Constants.ABORT_REFUSED);
|
||||
return true;
|
||||
}
|
||||
// if the current device is a pure playback device
|
||||
if (!mIsSwitchDevice
|
||||
&& physicalAddress == mService.getPhysicalAddress()
|
||||
&& mService.isPlaybackDevice()) {
|
||||
setAndBroadcastActiveSource(message, physicalAddress);
|
||||
}
|
||||
handleRoutingChangeAndInformation(physicalAddress, message);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user