Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0e775697 authored by Andy McFadden's avatar Andy McFadden
Browse files

Recommend different time source

We were recommending SystemClock#uptimeMillis() from Java code, but
millisecond resolution is a little coarse.  We don't have an
appropriate call in SystemClock, so use System.nanoTime() instead.

Bug 8733179

Change-Id: Ifb85a03eabf7ff168966adcb5ed5914bbf3884b2
parent 5b6ebd71
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -107,8 +107,8 @@ Issues
    presentation time when an absolute time is needed be queried on Android?

    RESOLVED: The current clock value can be queried from the Java
    SystemClock#uptimeMillis() method or from the native clock_gettime
    function by passing CLOCK_MONOTONIC as the clock identifier.
    System.nanoTime() method, or from the native clock_gettime function by
    passing CLOCK_MONOTONIC as the clock identifier.

Revision History