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

Commit 449c019f authored by Jinsuk Kim's avatar Jinsuk Kim
Browse files

CEC: Do not compare active input when updating

A recent change sets the active path ahead of calling
updateActiveInput. Removes the check between new and active
path as it is always successful thus stops the flow.

Bug: 18506537
Change-Id: I29471ffc6194baa1fad62063f1d192caa9000afd
parent 1bd81e31
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -318,9 +318,6 @@ final class HdmiCecLocalDeviceTv extends HdmiCecLocalDevice {
    void updateActiveInput(int path, boolean notifyInputChange) {
        assertRunOnServiceThread();
        // Seq #15
        if (path == getActivePath()) {
            return;
        }
        setPrevPortId(getActivePortId());
        setActivePath(path);
        // TODO: Handle PAP/PIP case.