OSDN Git Service

CEC: Make TV try to allocate logical address 0 first
authorJinsuk Kim <jinsukkim@google.com>
Fri, 16 Jan 2015 22:38:24 +0000 (07:38 +0900)
committerJinsuk Kim <jinsukkim@google.com>
Mon, 19 Jan 2015 01:44:38 +0000 (10:44 +0900)
commitd47abefc8269dae7fdfa2bb102bcb89cbea7c7b0
tree997ffe8574f7de28184272cda4915439035b8184
parentac70b2d1722fd3ad94b2bf1e8c7695bded56987a
CEC: Make TV try to allocate logical address 0 first

HDMI Spec says TV shall try to allocate TV() logical address, unlike
other kinds of devices that are recommended to use the previously
allocated one.

Also included are small changes:

- reply with 'can not provide source' if TV has no source to provide
- return the present device info if we have one at the given path

Bug: 19045081
Change-Id: Icf17cb581f0ef2274e252ec5665f80bb1c08b494
services/core/java/com/android/server/hdmi/HdmiCecLocalDeviceTv.java
services/core/java/com/android/server/hdmi/HdmiControlService.java