commit | ce541485e4a78c3a9a3f57e9388ce727d69a21f9 | [log] [tgz] |
---|---|---|
author | Akihiro Morohashi <Akihiro.Morohashi@sony.com> | Fri Dec 04 21:11:40 2020 +0900 |
committer | Akihiro Morohashi <Akihiro.Morohashi@sony.com> | Thu Dec 17 02:54:23 2020 +0000 |
tree | 9861da22f1a8b3faf9d19ec72f996628b1a9e932 | |
parent | 328aa61dd76d3caab4dd54dc83570125d19e9bf6 [diff] |
Fixing crash in case of leaving Type3 Tag soon after activation. This is side effect of below error handling patch. In this case nfc library cannot go out of semaphore(sCheckNdefSem). https://android.googlesource.com/platform/system/nfc/+/45c45b8d7ca281f0f9243d047ab6dfa9f94ed598 To get sem_post, add deactivation when there is an error of RF_T3T_INTF_ERROR_EVT. Bug: 175808133 Test: manual - below sequence 1. close Type3 Tag to phone 2. leave Tag soon after(during CheckNDef) activation 3. check if crash occurs or not Signed-off-by: Akihiro Morohashi <Akihiro.Morohashi@sony.com> Change-Id: I550d26014fe187c367196ccb38097e0408a24304