Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 24c23c1d authored by Jungshik Jang's avatar Jungshik Jang
Browse files

Remove a TODO checking device power.

Since we enforce to run poll devices when hot plug event is fired,
we don't need to have arc management triggered by separate +5 power change.

Bug: 15841645
Change-Id: I619f8975688f63cb09cb7a296de52b558b494901
parent 347a6044
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -675,8 +675,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        assertRunOnServiceThread();
        // In case where <Terminate Arc> is started by <Request ARC Termination>
        // need to clean up RequestArcInitiationAction.
        // TODO: check conditions of power status by calling is_connected api
        // to be added soon.
        removeAction(RequestArcTerminationAction.class);
        SetArcTransmissionStateAction action = new SetArcTransmissionStateAction(this,
                message.getSource(), false);
@@ -998,6 +996,7 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
        if (!hotplugActions.isEmpty()) {
            // Note that hotplug action is single action running on a machine.
            // "pollAllDevicesNow" cleans up timer and start poll action immediately.
            // It covers seq #40, #43.
            hotplugActions.get(0).pollAllDevicesNow();
        }
    }