OSDN Git Service

CEC: Make deviceSelect to active device a no-op
authorJinsuk Kim <jinsukkim@google.com>
Tue, 5 Aug 2014 03:48:35 +0000 (12:48 +0900)
committerJinsuk Kim <jinsukkim@google.com>
Tue, 5 Aug 2014 21:04:44 +0000 (21:04 +0000)
commit58500f43ecbed3f92d7c077fb6ce396252cd00ea
tree85ecc2f62661417090d2de43f15366f312b98d80
parent976e8bd2017d0263216c62111454438cc0f130e3
CEC: Make deviceSelect to active device a no-op

Changing input to already the active source should return
immediately without initiating routing control. This is also required
for processing the incoming <Active Source>

Also set the flag in intent for input change to start a new
activity from a service. The service fails to launch an activity
without it.

Bug: 15570939
Change-Id: I9b20b31137dfa4dc847bc43cc7fd35e669d0dec7
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java
services/core/java/com/android/server/tv/TvInputHardwareManager.java