Android R Preview 3 (RPP3.200320.017)
Don't close HAL before last callback has been fully posted.

Since race condition in HalDownloadFirmware has been removed,
we can ensure the callback of HAL_NFC_CLOSE_CPLT_EVT has been fully
posted before returning from StNfc_hal_close, which removes the
occasional HAL crash when the callback did not pass the binder quickly
enough despite the 10ms delay.

Bug: 151064813
Test: Nfc on/off
Change-Id: I47e7a84d4fad1837e93cd2cb470bc2f88aaba519
1 file changed
tree: f128c0785b3e19578d720cafcf687b86b8c0be0a
  1. 1.0/
  2. 1.1/
  3. 1.2/
  4. st21nfc/
  5. LICENSE
  6. OWNERS
  7. README.md
README.md

HAL

st21nfc HAL