PBAP: Handle PBAP Disconnection when contacts are not loaded
Usecase: 1) Establish PBAP session. 2) Send Disconnect-Connect before Pbap service message handler processes LOAD_CONTACT completely. Issue: Connect operation after immediate disconnect fails. Root Cause: stopObexServerSession is not processed as service message handler is processing LOAD_CONTACT leading mConAccepted to be true when next connect is recieved. Fix: loadAllContacts() is handled from new thread instead of main thread. Test: Checked if PBAP can be connected as per above usecase. Bug: 66990891 Change-Id: If6fafe166752e5c7c4cded25a112223d4c3d0be9
Loading
Please register or sign in to comment