91120c541a
This is a rewrite of HdmiCecManager that exposes API for CEC Playback device control. HdmiCecManager will be removed together with HdmiCecService once the migration is completed. Replaced direct access to CEC commands with the following 2 API: - oneTouchPlay - queryDisplayStatus Each method requires communication with other device on CEC bus, hence might take some time to finish. The result at the end of protocol exchange is reported through a callback provided as a parameter to the method. The callback is based on interface not abstract class since it has only one method 'onComplete'. Change-Id: I41e9d4571f890303282a79a803c86530d0b46974