Merge "CEC: Drop TODOs marked as fixed/obsolete"
This commit is contained in:
@@ -806,7 +806,6 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource {
|
||||
Arrays.stream(device.getEncodings()).mapToObj(
|
||||
AudioFormat::toLogFriendlyEncoding
|
||||
).collect(Collectors.joining(", ")));
|
||||
// TODO(b/80297701) use the actual device type that system audio mode is connected to.
|
||||
if (device.getType() == AudioDeviceInfo.TYPE_HDMI_ARC) {
|
||||
return device;
|
||||
}
|
||||
@@ -1225,7 +1224,6 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource {
|
||||
if (isSystemAudioActivated() && port < 0) {
|
||||
// If system audio mode is on and the new active source is not under the current device,
|
||||
// Will switch to ARC input.
|
||||
// TODO(b/115637145): handle system aduio without ARC
|
||||
routeToInputFromPortId(Constants.CEC_SWITCH_ARC);
|
||||
} else if (mIsSwitchDevice && port >= 0) {
|
||||
// If current device is a switch and the new active source is under it,
|
||||
@@ -1326,7 +1324,6 @@ public class HdmiCecLocalDeviceAudioSystem extends HdmiCecLocalDeviceSource {
|
||||
|
||||
// Handle the system audio(ARC) part of the logic on receiving routing change or information.
|
||||
private void handleRoutingChangeAndInformationForSystemAudio() {
|
||||
// TODO(b/115637145): handle system aduio without ARC
|
||||
routeToInputFromPortId(Constants.CEC_SWITCH_ARC);
|
||||
}
|
||||
|
||||
|
||||
@@ -475,7 +475,6 @@ public class HdmiCecMessageBuilder {
|
||||
* @return newly created {@link HdmiCecMessage}
|
||||
*/
|
||||
static HdmiCecMessage buildReportShortAudioDescriptor(int src, int des, byte[] sadBytes) {
|
||||
// TODO(b/80297701) validate.
|
||||
return buildCommand(src, des, Constants.MESSAGE_REPORT_SHORT_AUDIO_DESCRIPTOR, sadBytes);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user