Skip to content
Commit 5aab7804 authored by Marvin Ramin's avatar Marvin Ramin
Browse files

Add retries to CEC detection

When CEC source devices attempt to query whether the sink device
supports CEC, they query the target devices power status.

As this query might happen when the sink device is just waking up, as
part of a One Touch Play sequence, the sink device might be too slow to
respond to the query in time (2s).

Add a single retry to ensure the sink device has another chance to
respond to the query. If the target device doesn't ACK the query
message, assume no CEC support. The retry should increase stability of
CEC volume control mode detection.

Bug: 172539380
Test: atest DevicePowerStatusActionTest
Change-Id: Ic6cb5da968da5e12fbaea6b3ad2fa5cff82728e8
parent c25364b5
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