commit | 6de5831683acc64e2ca5efa61fae6834314d0eb2 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Wed Sep 23 17:01:32 2015 +0100 |
committer | Neil Fuller <nfuller@google.com> | Fri Oct 09 09:20:08 2015 +0000 |
tree | bdd1e13bb374da50909aa9cc4bf1a2ad073ba2db | |
parent | 23dedc042c3a6e57a1bc36a83f75e9098c399d2e [diff] |
Patch for awaitNanos() for coarse-grained clocks If System.nanoTime() returns the same value twice in awaitNanos() then (remaining == initialNanos) will be true but the code will conclude that a (less likely) overflow occurred. Bug: 24284239 (cherry-picked from commit 8fc2ac0fa8eb47ce607f8412e469d4f680b6ef85) Change-Id: I3b9d573ea822e18f4c1849c8ab66071e66274a50