Change-Id: If91bbdae0e777927b2a930d494fcc0126fbffccf
Signed-off-by: Boram Bae <boram21.bae@samsung.com>
if (reply.header()->err < 0)
return reply.header()->err;
- update_attribute(attribute, value);
+ if (attribute != SENSORD_ATTRIBUTE_FLUSH) {
+ update_attribute(attribute, value);
+ }
return OP_SUCCESS;
}
static gboolean publish_batch_event(gpointer gdata)
{
- if (!started) return FALSE;
-
+ if (!started) {
+ _N("[ WAITING ] ...\n");
+ return TRUE;
+ }
sensord_provider_h *provider = reinterpret_cast<sensord_provider_h *>(gdata);
sensor_data_t data[NUMBER_OF_EVENT];