diff options
author | Riddle Hsu <riddlehsu@google.com> | 2020-06-12 22:41:25 +0800 |
---|---|---|
committer | Riddle Hsu <riddlehsu@google.com> | 2020-06-12 22:42:12 +0800 |
commit | 9b1843eae3f8300e1a4d04934e638d559e688d9c (patch) | |
tree | 05f47d78c79a3567a724366cecd1bf731c148aa2 /tools/hiddenapi/generate_hiddenapi_lists.py | |
parent | 6dca466770a982bcc34df7813a8f86532eeec4d4 (diff) |
Avoid unexpected screen off during perf testing
The plugged-in type may be BATTERY_PLUGGED_AC in test environment.
And the precondition of the device may have set stay-on with any
type, then it is enough to keep device interactive. Previously
the usb type doesn't match the current state that causes device to
sleep if the screen off timeout has occurred.
Bug: 131727899
Test: atest WmPerfTests
Change-Id: Ia76a0f55e967a2d52fc4b1057b19a8af921260f3
Diffstat (limited to 'tools/hiddenapi/generate_hiddenapi_lists.py')
0 files changed, 0 insertions, 0 deletions