SAP: Fix exception at shutdown
Restructures the disconnect/shutdown code, to avoid exception.
Also ensure cleanup of notifications and profile public state.
This also fixes the bug introduced when handling ACL_disconnect
intent, where the rfcomm-listener was not restarted.
Change-Id: I3b4561f610abc77011689b7cfb67a4b54c41500c
Signed-off-by:
Casper Bonde <c.bonde@samsung.com>
Loading
Please register or sign in to comment