Parent: 6e7ac360a1faf344e50c34852a3f36e953b089b2
Author: Slawomir Bochenski <lkslawek@gmail.com>
Committer: Marcel Holtmann <marcel@holtmann.org>
Date: 2012-12-04 23:48:36
Tree: acbb2f8df24bd652e5caa7d252a20f06218c191e
obexd: Rewrite of PBAP call history queries Graph patterns used in queries for PullPhonebook and PullvCardListing in case of call history are now rewritten to share the same code and be simpler - previously they were doing almost the same, but exact code differed. So in this patch repeating parts of queries were reduced to one place for easy management. Also new queries fix the behaviour in situation when there is more than one contact matching a phone number from call history entry - in this case no contact data is returned instead of returning random contact as it was the case before.
Diffstat
| M | obexd/plugins/phonebook-tracker.c | | | 604 | ++++++++++++++++++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
1 files changed, 60 insertions(+), 544 deletions(-)