Merge "Clarify timestamp definition for SensorEvent" into rvc-dev am: e39527ff51 am: c6817e3d83 am: 17daa587a5

Change-Id: I7290b1c84c9f7eaced12d715b9be2317c7031f49
This commit is contained in:
Automerger Merge Worker
2020-03-17 18:10:00 +00:00

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;