sensor: change als timestamp to CLOCK_BOOTTIME

CLOCK_BOOTTIME includes suspend time, so it would allow aplications
to get correct time difference between two events even when system
resumes from suspend state.

Change-Id: I6986506105aaa4220ccca49738d089b630648317
Tracked-On: https://jira.ndg.intel.com/browse/MARVIN-893
Signed-off-by: Baixing Tan <[email protected]>
Reviewed-on: https://android.intel.com/422142
Reviewed-by: jenkins_ndg <[email protected]>
Reviewed-by: Yan, Like <[email protected]>
Tested-by: Yan, Like <[email protected]>
Reviewed-by: Akue, LoicX <[email protected]>
Reviewed-by: Tasayco Loarte, VictorX <[email protected]>
1 file changed
tree: b5ea962070446176c9ae67729dfdb4cc502bdb33
  1. als/
  2. libsensors_iio/
  3. tilt/
  4. Android.mk