diff options
| author | 2024-01-22 18:21:01 +0100 | |
|---|---|---|
| committer | 2024-01-23 14:13:59 +0100 | |
| commit | 32d06ea0733f9699b6dc32f380bd13a566a94592 (patch) | |
| tree | eaafa4c70bb58f8baa40216432f1118211f234db /libs/input/PointerController.cpp | |
| parent | 8404597177ef917c8d2847776efcc49ab85481b7 (diff) | |
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
Diffstat (limited to 'libs/input/PointerController.cpp')
0 files changed, 0 insertions, 0 deletions