commit | 8fc2ac0fa8eb47ce607f8412e469d4f680b6ef85 | [log] [tgz] |
---|---|---|
author | Neil Fuller <nfuller@google.com> | Wed Sep 23 17:01:32 2015 +0100 |
committer | Neil Fuller <nfuller@google.com> | Thu Sep 24 08:24:57 2015 +0000 |
tree | 7a9b93a4b2082b1a867cf55d068e0221d9b63f37 | |
parent | c71b9f309b7af83735b733b02e36ec6f0e39609c [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 Change-Id: I3b9d573ea822e18f4c1849c8ab66071e66274a50