- own_name_session_bus is null when registering a system-event.
Do not need to check last event data when registering a system-event.
Change-Id: I1d202c5425ea4d2e6e3f5c881f0f77dab7b39be0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
ret = ES_R_ERROR;
}
- __request_esd_for_last_data(event_name, true);
+ if (*event_type == ES_TYPE_USER)
+ __request_esd_for_last_data(event_name, true);
end:
FREE_AND_NULL(interface_name);
FREE_AND_NULL(object_path);