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 <baixingx.tan@intel.com>
Reviewed-on: https://android.intel.com/422142
Reviewed-by: jenkins_ndg <jenkins_ndg@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Tested-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Akue, LoicX <loicx.akue@intel.com>
Reviewed-by: Tasayco Loarte, VictorX <victorx.tasayco.loarte@intel.com>
1 file changed
tree: b5ea962070446176c9ae67729dfdb4cc502bdb33
  1. als/
  2. libsensors_iio/
  3. tilt/
  4. Android.mk