OSDN Git Service

Check the validity of the port id of HdmiCecMessage only in TV.
authorYuncheol Heo <ycheo@google.com>
Fri, 25 Jul 2014 05:05:19 +0000 (14:05 +0900)
committerYuncheol Heo <ycheo@google.com>
Fri, 25 Jul 2014 06:08:43 +0000 (15:08 +0900)
commite946ed8f54c5ee0e58e168df00d4f418e1eed7a7
tree81ad4f10610bc4217672ba840adb7cfc7a3d2cf4
parentdb573fc0bb84e3dbe066c6a17e7ccde54d5982ac
Check the validity of the port id of HdmiCecMessage only in TV.

In playback device, we don't track the port info, so we can't verify
the validity of the port id part of the physical address parameter of
HdmiCecMessages.

Bug: 16274232
Change-Id: I41f95dba0505d45688e2c9031b78863dc93248ce
services/core/java/com/android/server/hdmi/HdmiCecMessageValidator.java
services/core/java/com/android/server/hdmi/HdmiControlService.java