tag | 2f81c896dda0445f16ee4cf8bc004c0ab0e2124d | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Apr 23 11:14:39 2020 -0700 |
object | e66bed746f3d685cb3df9cfc61beec5ed9b35080 |
Android R Preview 3 (RPP3.200320.017)
commit | e66bed746f3d685cb3df9cfc61beec5ed9b35080 | [log] [tgz] |
---|---|---|
author | Arach MOHAMMED BRAHIM <arach.mohammed.brahim@st.com> | Mon Mar 09 18:12:44 2020 +0100 |
committer | Jack Yu <jackcwyu@google.com> | Mon Mar 16 06:39:59 2020 +0000 |
tree | f128c0785b3e19578d720cafcf687b86b8c0be0a | |
parent | 90d1cead8b2cd4d829117d6fb7f1cbf027bb9417 [diff] |
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