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
This commit is contained in:
Jinsuk Kim
2014-11-25 15:01:56 +09:00
parent 1bd81e31f3
commit 449c019f22

View File

@@ -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.