Skip to content
Commit 7fdfe234 authored by Nathalie Le Clair's avatar Nathalie Le Clair
Browse files

Limit power status queries for 2.0 devices on OTP

For 2.0 devices suppress the 1st queryDevicePowerStatus() and give the TV the time to report the power status at its own initiative. Keep consecutive calls of queryDevicePowerStatus() in case the TV failed to report its power status within the first 2 seconds.

Tests consist of existing tests ported from vendor/google_experimental and new tests.

Test: atest OneTouchPlayActionTest and atest HdmiCecLocalDevicePlaybackTest
Bug: 179463842
Bug: 176920796
Change-Id: Ide13dd247a904aa9c89baabb4752ceb3d183d9e7
parent 462d7a9a
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