[HFP-PHONEBOOK] Fix duplicate contacts entry in carkit 76/123276/1
authorNagaraj D R <nagaraj.dr@samsung.com>
Wed, 5 Apr 2017 06:17:03 +0000 (11:47 +0530)
committerNagaraj D R <nagaraj.dr@samsung.com>
Wed, 5 Apr 2017 06:17:03 +0000 (11:47 +0530)
commit80bb1d0e2ed5483c34e65c3b5faa5845a16ddb29
tree40b8059dd9756f733fe3cd869b8e94d27b4de959
parent1dfca00606c0086c04cf3030d827d3a63d690267
[HFP-PHONEBOOK] Fix duplicate contacts entry in carkit

[Problem]If carkit uses HFP, for retrieving ME contacts
SIM contacts are also sent wrongly by DUT
[Cause & Measure]For ME case, entire phonebook list
is fetched where only device contact was supposed to be listed.
Now if carkit retrieves SIM contacts then duplicate entries of SIM
contacts will be shown in the carkit

Change-Id: I270f5a28ae62928dff51c426592abc41d28c3a94
pb-agent/bluetooth_pb_agent.c