diff options
author | Marvin Ramin <marvinramin@google.com> | 2020-12-16 13:35:13 +0100 |
---|---|---|
committer | Marvin Ramin <marvinramin@google.com> | 2020-12-16 13:45:13 +0100 |
commit | 5aab78043ced4fddf76f45d925b578af4851317a (patch) | |
tree | d04fe9a0cde7d7570693763295aa5163e53648a7 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | c25364b5217643073fa2e84627c0e89620add3ad (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions