Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 32d06ea0 authored by Yan Han's avatar Yan Han
Browse files

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
parent 84045971
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment