HDMI: Improve RequestActiveSourceAction
When the user wakes up the TV using its own remote, a CEC message will be sent to switch to the expected source (the TV's internal source or another HDMI input). The process to send this message is triggered from LauncherX, outside the framework. With this change, the action to send <Request Active Source> is delayed to in order to wait for a possible LauncherX's request and can be cancelled if an <Active Source> message was received or the TV switched to another input.
Test: atest HdmiCecLocalDeviceTvTest && manual tests
Bug: 330615500
Change-Id: I1936bd28ffe7d6bc5d536b5034233650944b0cfa
4 files changed