capi-sensor: store batch_latency in listener 79/65279/1
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 5 Apr 2016 10:16:11 +0000 (19:16 +0900)
committerkibak.yoon <kibak.yoon@samsung.com>
Fri, 8 Apr 2016 07:35:12 +0000 (16:35 +0900)
commit802dc26f1cb470a99c8650c22ebe15ec34d0860d
treed94fdc49f0156b3b97f9ec81335084c1c4302f5a
parent662844b1de16b9945307abbbe9d7ba22c6b39907
capi-sensor: store batch_latency in listener

- when sensor_register_event_cb() is called after calling set_max_batch_latency(),
  batch_latency is reset to 0.
- so it has to be modified to store the value of batch_latency in
  listener.

Change-Id: I424a4b94df423a75ff18ee9459fa2a846039ce13
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
include/sensor_private.h
src/sensor.cpp