PBAP: Set Pbap connection state to DISCONNECTED on ACL_DISCONNECT.
Usecase:
1) Establish Pbap session with Pbap client.
2) Remote goes out of range or turns off BT so that
Pbap server receives ACL_DISCONNECTED
Issue:
Pbap connection state is not changed to STATE_DISCONNECTED.
Root Cause:
stopObexServerSession() is not invoked from ServerSession
close event to set the state to STATE_DISCONNECTED.
Fix:
Handle the case to set state to STATE_DISCONNECTED on
receiving intent ACL_DISCONNECTED.
Change-Id: I1b832d746e232dae3a8d2f244442818f02a5766e
CRs-Fixed: 2071451
1 file changed