diff options
author | Kweku Adams <kwekua@google.com> | 2018-12-20 06:34:39 -0800 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2018-12-20 06:42:57 -0800 |
commit | 9da2bb93c89e0f26a437abc42d2e01e115d6b3af (patch) | |
tree | 6172a174b3031654313f4dfebc5fcd048639ae13 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp | |
parent | 9507158846fae4be1a7f90adf5b8dad0475d482a (diff) |
Fix flaking DeviceIdleController tests.
The mock DeviceIdleController.Constants object had all of its values set
to 0, so setAlarmSoon wasn't working properly because it would set the
alarm to now + 0, which would have passed by the time the next line in
the test came around.
Bug: 118639768
Test: atest com.android.server.DeviceIdleControllerTest
Change-Id: Ie485e9319d478e4887dc49e4715ddd6ccce9e768
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions