diff options
author | Nathalie Le Clair <lcnathalie@google.com> | 2021-02-18 10:44:31 +0100 |
---|---|---|
committer | Nathalie Le Clair <lcnathalie@google.com> | 2021-03-09 10:53:13 +0100 |
commit | 7fdfe23419a31b44b5e537a5ed81570db9df422c (patch) | |
tree | 529970f03d686efe9be345f03dab4edd5a54f546 /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | 462d7a9a6334724c28b7e40f296f4f60c2fbe75c (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions