diff options
author | Brad T Peters <brad.t.peters@intel.com> | 2013-06-13 23:02:49 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@gerrit.vlan144.tizendev.org> | 2013-06-13 23:02:49 +0000 |
commit | 78c5b06ac21dda8c0fce0fff06b66dff3ca435bc (patch) | |
tree | 1aed5ef844ac3877e911aadaa175df3d2df57d01 | |
parent | 58c16db3e887362eca251a1f99d9db7afdb21e66 (diff) | |
parent | 4945da580b5f755c2ea295447b850224213e92d6 (diff) | |
download | phone-contacts-submit/tizen_2.2/20130714.153349.tar.gz phone-contacts-submit/tizen_2.2/20130714.153349.tar.bz2 phone-contacts-submit/tizen_2.2/20130714.153349.zip |
Merge "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." into tizen_2.2submit/tizen_2.2/20130714.1533492.2_release
-rwxr-xr-x | lib/log/ph-log-check-view.c | 3 | ||||
-rw-r--r-- | packaging/phone.changes | 3 |
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. + |