Closed PhilArmstrong closed 1 year ago
System.nanoTime() does not measure time correctly across device sleep periods.
Use SystemClock.elapsedRealtime() & SystemClock.elapsedRealtimeNanos() instead.
Sorry about the stray comment edit there.
Included with the proposed changes in #1141 Thanks!
System.nanoTime() does not measure time correctly across device sleep periods.
Use SystemClock.elapsedRealtime() & SystemClock.elapsedRealtimeNanos() instead.