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

Commit e39527ff authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Clarify timestamp definition for SensorEvent" into rvc-dev

parents 25f8496e d2c1159c
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -657,7 +657,9 @@ public class SensorEvent {
    public int accuracy;

    /**
     * The time in nanosecond at which the event happened
     * The time in nanoseconds at which the event happened. For a given sensor,
     * each new sensor event should be monotonically increasing using the same
     * time base as {@link android.os.SystemClock#elapsedRealtimeNanos()}.
     */
    public long timestamp;