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

This commit is contained in:
TreeHugger Robot
2020-03-17 17:29:38 +00:00
committed by Android (Google) Code Review

View File

@@ -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;