FTP: Remove pending user timeout intent on ACL disconnected
This patch fixes the following issues in FTP Code:
- MSG_INTERNAL_USER_TIMEOUT intent is removed on reception of
ACL disconnected. Previously this message was not removed and
new intent was sent to stop obex server resulting in rfcomm
socket being listened 2 times from ftp service in case ACL is
disconnected while waiting for authorization.
- Rfcomm accept thread is closed properly and joined instead of
making it null on stopObexServer. this might be leading to some
synchronization issues, as thread variable was made zero before
it was closed.
- VERBOSE logging was not shown, so removed all the logs from the
flag for BluetoothFtpService.java.
Change-Id: Ie5c3ea45bd0a616f3513d63e8de9c332d768e3b2
CRs-Fixed: 761687
1 file changed