OSDN Git Service

CEC: Do not issue non-effective <Routing Change>
authorJinsuk Kim <jinsukkim@google.com>
Sun, 23 Nov 2014 22:30:54 +0000 (07:30 +0900)
committerJinsuk Kim <jinsukkim@google.com>
Mon, 24 Nov 2014 02:51:35 +0000 (11:51 +0900)
commit546d867cb89099ed9036d54d1d49e11748c9a27e
tree60b993a9316cd1731624410ddab8dc5bb253e6f3
parent1bd81e31f31a6d8dc06af79985ca820effab970c
CEC: Do not issue non-effective <Routing Change>

CEC command <Routing Change> should not be issued if old and new path
are identical since it not only have no effect but also can lead certain
devices to taking unexpected action.

Bug: 18283251
Change-Id: I7a210b7aa20ce4b96ef0d260c4abfc10d4393e63
services/core/java/com/android/server/hdmi/ActiveSourceHandler.java
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java