[PBAP]Fix Duplicate enteries of contact in carkit 57/123257/1
authorNagaraj D R <nagaraj.dr@samsung.com>
Wed, 5 Apr 2017 05:26:43 +0000 (10:56 +0530)
committerNagaraj D R <nagaraj.dr@samsung.com>
Wed, 5 Apr 2017 05:35:07 +0000 (11:05 +0530)
commit1dfca00606c0086c04cf3030d827d3a63d690267
tree542c8a92d46613ddc5a87a18116a0bf18bb45262
parent252fecd4632d509eaf0adf9d6d406ed79cbe68d7
[PBAP]Fix Duplicate enteries of contact in carkit

[Problem] Every contact is duplicating in carkit phonebook
when connected with phone
Virtual path of SIM folder that contact-service uses is different
because of which "_bt_is_sim_addressbook" is failing always
and DUT ends up sending both phonebook entry and SIM entry
even when request was made only for phonebook or SIM

Change-Id: Ica28ec25c77a818d3471dcad9483e7cc845334d6
pb-agent/bluetooth_pb_agent.c
pb-agent/bluetooth_pb_vcard.h