From 449c019f22de469feac4b46de633156b7963bf15 Mon Sep 17 00:00:00 2001 From: Jinsuk Kim Date: Tue, 25 Nov 2014 15:01:56 +0900 Subject: [PATCH] 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 --- .../java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java b/services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java index ec381243311de..f6c413b14faee 100644 --- a/services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java +++ b/services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java @@ -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.