summaryrefslogtreecommitdiff
path: root/tests/net/java/com/android/server/ConnectivityServiceTest.java
diff options
context:
space:
mode:
authorRiddle Hsu <riddlehsu@google.com>2020-06-12 22:41:25 +0800
committerRiddle Hsu <riddlehsu@google.com>2020-06-12 22:42:12 +0800
commit9b1843eae3f8300e1a4d04934e638d559e688d9c (patch)
tree05f47d78c79a3567a724366cecd1bf731c148aa2 /tests/net/java/com/android/server/ConnectivityServiceTest.java
parent6dca466770a982bcc34df7813a8f86532eeec4d4 (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 'tests/net/java/com/android/server/ConnectivityServiceTest.java')
0 files changed, 0 insertions, 0 deletions