OSDN Git Service

TIF: change input state based on the number of available streams
authorWonsik Kim <wonsik@google.com>
Tue, 21 Oct 2014 08:46:31 +0000 (17:46 +0900)
committerWonsik Kim <wonsik@google.com>
Tue, 21 Oct 2014 08:46:31 +0000 (17:46 +0900)
commit9a1036575182705bc27c6bf255dd17669821181d
tree683ce7c73ec0c59ca4f5d05040b6bdc57a3fbf02
parentffcdb67922a5db5fe725d6986e0b140cd33cd4ed
TIF: change input state based on the number of available streams

HAL implementation may indicate that the input port is disconnected
by exposing no available streams. Framework detects the change and
update input state accordingly.

Bug: 17648994
Change-Id: I15900288ff8eab6d2b7bd705f2b3c05263714152
services/core/java/com/android/server/tv/TvInputHardwareManager.java