commit | 52cde3b8f704f7184a09f681ac588f3cbbc6c111 | [log] [tgz] |
---|---|---|
author | Dante Russo <drusso@codeaurora.org> | Fri Jul 24 15:46:44 2020 +0530 |
committer | Lakshmi Prasanna <tlakshmi@codeaurora.org> | Fri Jul 24 15:52:05 2020 +0530 |
tree | a20f61e93de6032715a40ea62699f0f3eb15ecd7 | |
parent | 5fb7f69f477236db58d35b747aa5ccfd0245cc8a [diff] |
Fix potential deadlock in measurements report If Gnss Measurements callback is called at the same time as Gnss Measurements close is called, this will cause dead lock. Remove using mutex in this case and instead use a simple bool to know whether or not to call into a the callback. Bug: 63909793 Change-Id: I98d2be5ebd2ee0f36e4d2e31d20a74585089fe31 CRs-fixed: 2089716