summaryrefslogtreecommitdiff
path: root/utils/loc_cfg.h
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2018-04-05 17:54:50 -0700
committerDante Russo <drusso@codeaurora.org>2018-07-03 18:04:09 -0700
commit395c8110d6b9c4f09b9f537402fc5656c1557c81 (patch)
treed36021af435acf29fa47e0bc543c112fd57bbea3 /utils/loc_cfg.h
parent1e871997d65d6479d0950b52e0c52c795f73cf70 (diff)
downloadgps-395c8110d6b9c4f09b9f537402fc5656c1557c81.tar.gz
Assure event mask is set properly to get positions
The event mask can be retrieved in the context of client thread as zero and then queued up to go to msg task thread. By the time the msg is actually handled in msg task thread, the actual event mask at LOC API layer may have already changed, but this mask would then be overridden by zero. This can cause no modem events to ever come, including position reports. The fix is to not retrieve the event mask in the client thread, but instead wait for msg to be handled in msg task thread before retrieving it. Change-Id: I48562d028bbfa187732686c060b5cdd62c6d5a89 CRs-fixed: 2219519
Diffstat (limited to 'utils/loc_cfg.h')
0 files changed, 0 insertions, 0 deletions