On TVs, disable "skip next routing control" flag after a short delay
Currently, panel TVs use the mSkipRoutingControl flag to skip their next
routing control or outgoing <Active Source> after waking via CEC.
This was implemented to prevent the TV from stealing active source from
the device that woke it up (see b/17189114). However, because the flag
stays true until it is triggered, it can block a source change initiated
by the user a long time after the wakeup.
This CL adds a delayed Runnable that sets the flag to false after two
seconds. This preserves the intended use of the flag, but prevents it
from interfering with later source/routing changes.
Bug: 319716217
Bug: 259024330
Test: atest HdmiCecLocalDeviceTvTest
Change-Id: Ibe05228152600fd966cb19401e14a20ef9424a86
2 files changed