PBAPC: Fix following issues in PBAP Client Code
- Do not disconnect Pbap client session in specific error cases
For a dut initiated get vcard request, if the server is responding
with 'Not Acceptable' response code, do not disconnect the pbap
client session. It allows the user to do other pbap operations
without initiating pbap connection request once again.
- Run the abort and disconnect operation in a seperate thread
This change has been done to start the abort and disconnect
in a seperate thread so that it doesn't block the main thread.
The new thread was not spawned properly with the old implementation
resulting in ANR in the test application.
Change-Id: I0676e11e1ccdbbd9f9c7d1378293e12a3059bd04
CRs-Fixed: 720092, 645818, 799409, 668890
3 files changed