Change-Id: Ib5409154010b479f499e4cbfd4a9ff9f86f37976
Signed-off-by: Kamaljeet Chauhan <kamal.jc@samsung.com>
(contact_image_path && image->path && (STRING_EQUAL != strcmp(contact_image_path, image->path)))) {
free(contact->image_thumbnail_path);
contact->image_thumbnail_path = NULL;
- ctsvc_record_set_property_flag((ctsvc_record_s*)contact, _contacts_contact.image_thumbnail_path, CTSVC_PROPERTY_FLAG_DIRTY);
+ if (ctsvc_record_set_property_flag((ctsvc_record_s*)contact, _contacts_contact.image_thumbnail_path, CTSVC_PROPERTY_FLAG_DIRTY) == CONTACTS_ERROR_NONE)
+ DBG("Property Flags are set properly");
if (image->path)
contact->image_thumbnail_path = ctsvc_utils_make_thumbnail(image->path);