OPP: Updated NFC failed status during the turn of BT
Use case:
1) NFC beam transfer files
2) Manually turn off Bluetooth to make transfer fail
Expected result:
BT on should successful after turn on Bluetooth.
Observed Result:
After turn on BT NFC initiated BT off event.
Root cause:
During Bluetooth off Event Handler not getting enough time
or priority to process all messages, with this reason current
batch transfer status not updated from PENDING to
CONNECTION_ERROR. So, in next BT on profile trying to
resend because of status PENDING in DB.
Fix:
Update NFC records status PENDING to CONNECTION_ERROR during BT off.
to avoid resend after next BT on to fix this abnormal behaviour.
CRs-Fixed: 2699183
Change-Id: Ib85d570c22cd97d9324044b20db69e3fd00b7e12
1 file changed