diff options
author | Jinsuk Kim <jinsukkim@google.com> | 2014-04-07 13:39:17 +0900 |
---|---|---|
committer | Jinsuk Kim <jinsukkim@google.com> | 2014-04-11 18:35:01 +0900 |
commit | 61791075f4422cfef00fda325d6ae07293dd262f (patch) | |
tree | 2a2b3441329d2d4863c2bac97f5d24f9e562582d /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | bd6c5577ab0790415b99d24f41b7b3cdd823449d (diff) |
Delegate HdmiCecService method impl to HdmiCecDevice subclass
Most of the methods in the interface IHdmiCecService should be implemented
based on the device type. This CL makes a change such that the HdmiCecDevice
just has stub methods that should be overriden by subclasses.
Other changes:
- Fixed a bug of <Inactive Source> not sending its physical address
in its message body. Also the command should have been sent to TV
only rather than broadcast.
- Put back sendGiveDevicePowerStatus interface method. It allows the client
to keep track of the other device(like TV) power status more closely.
Devices goes through the status from standby -> transient to on -> on
but the CEC spec doesn't require that they broacast it actively.
The restored method can be used to let the playback device to get
up-to-date power status of TV/display when it is booting up.
This method should work the same across all the device types. So it was
implemented in the service, not delegated to HdmiCecDevice.
- Send <Report Physical Address> when a new logical device is registered,
which is required by CEC spec: "it should report the association between
its logical and physical address by broadcasting <Report Physical
Address>
Change-Id: Iac1d2cf5783d947f2dcd6965a54670fbdb8e6a63
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions