summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/log/ph-log-check-view.c3
-rw-r--r--packaging/phone.changes3
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/log/ph-log-check-view.c b/lib/log/ph-log-check-view.c
index bc151bd..3360b09 100755
--- a/lib/log/ph-log-check-view.c
+++ b/lib/log/ph-log-check-view.c
@@ -202,7 +202,8 @@ static PTHREAD_FN log_check_del(void *data)
if (!l_info) continue;
if (TRUE == l_info->checked) {
- if (CONTACTS_ERROR_NONE != ph_log_util_del_log_by_id(log_d->log_list, l_info)) {
+ if (CONTACTS_ERROR_NONE != contacts_db_delete_record( _contacts_phone_log._uri, l_info->id)) {
+ ERR("contacts_db_delete_record() failed (id=%d)" ,l_info->id);
p_info->completed = true;
break;
}
diff --git a/packaging/phone.changes b/packaging/phone.changes
new file mode 100644
index 0000000..1021fa3
--- /dev/null
+++ b/packaging/phone.changes
@@ -0,0 +1,3 @@
+* Tue Apr 23 2013 Ilkka Aulomaa <ilkkax.aulomaa@intel.com> submit/tizen_2.1/20130423.053952@ccb290b
+- Fix for TDIS-5481. This fixes bug that grouped log items are attempted to be deleted two times, which causes failure of the delete procedure.
+