diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-06-26 10:20:00 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-07-04 16:23:06 +0900 |
commit | 8afb9cfd000dadc730e52ebdeb4ad031b84b8e03 (patch) | |
tree | 545dce0a9e5da6ccb2a839d1ee81ca44b8fd73c1 /rs/java/android/renderscript/ProgramStore.java | |
parent | a6981669c4e2707bcfb3db001e262b2da4bb9c17 (diff) |
ConnectivityServiceTest: eliminate remaining sleep()
ConnectivityServiceTest was still using sleep() in a few places although
these were unnecessary:
- in testSatisfiedThenLostNetworkRequestDoesNotTriggerOnAvailable(),
expectNoCallback() and expectAvailableCallback() already include
waitForIdleHandler calls that drain the message queues and make
sleep no-ops.
- in testTimedoutAfterUnregisterdNetworkRequest, the sleeps were
introduced before unregisterNetworkCallback was changed to have a
synchronous effect for callback unregistration, therefore the sleep
becomes simply non-sensical. To reflect this the name of the method
is also changed.
Bug: 62918393
Test: runtest frameworks-net
Change-Id: I78426665670f702304212753f417b3d5a8a2c107
Diffstat (limited to 'rs/java/android/renderscript/ProgramStore.java')
0 files changed, 0 insertions, 0 deletions