summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author an.xi <an.xi@amlogic.com> 2024-09-17 17:09:09 +0800
committer an.xi <an.xi@amlogic.com> 2024-09-20 10:26:48 +0800
commitcaba2c45821faae403ea9b8bd50aa50307e5880d (patch)
tree47d2fba8c1b716fee08a6f1f57d9129fcb866053 /api/api_test.go
parent850c53840b8e3a12e3fa815d6afcc07ea0c6e625 (diff)
cec: TV could fail to handle one touch play [1/1]
PD#SWPL-185469 BUG:367525039 Problem: If the <Active Source> message is received before TV receives the SCREEN_ON broadcast, this message will be processed directly in ActiveSourceHandler and results in a failure to switch source. The root cause is that the mTvInputs variable is not cleared in HdmiCecLocalDevice#disableDevice, since the tv input callback is cleared before the clearing of hdmi device info list. Besides, if the TV device adds the source device's HdmiDeviceInfo with only <Active Source> message, it could fail to add the related TvInputInfo to TvInput Framework. Solution: 1.Clear the tv inputs saved in local tv device during standby. 2.Set valid port id to the HdmiDeviceInfo created by <Active Source> message. Verify: Loki Change-Id: I08747fd2412eaacc6fedee9b0940d2c7c412a7d1 Signed-off-by: an.xi <an.xi@amlogic.com>
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions