diff options
author | Bhavna Sharma <sbhavna@codeaurora.org> | 2017-09-18 16:12:46 -0700 |
---|---|---|
committer | Bhavna Sharma <sbhavna@codeaurora.org> | 2017-09-28 10:11:08 -0700 |
commit | 39526894cfaafab8b9fc6714956c4f6df0bcc329 (patch) | |
tree | bbf679207b9b557995c14cab16e7610fe7200dfe /core/LocApiBase.cpp | |
parent | edbc71f1dd5ab5a9ecf0e785c8c7aea16e44d466 (diff) | |
download | gps-39526894cfaafab8b9fc6714956c4f6df0bcc329.tar.gz |
AGPS Init must complete in one message call
If AGPS initialization is split across multiple
messages on the msgTask, it causes other other
commands to seep in before the initialization can complete.
To avoid this the initialization must be completed in one message.
Also includes some cleanup on AGPS initializations.
CRs-Fixed: 2111399
Change-Id: Id61ceeb12d5781764b42ff9d1868884537ca8d90
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index 070b2ae..4bc38e2 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -208,7 +208,7 @@ void LocApiBase::removeAdapter(LocAdapterBase* adapter) void LocApiBase::updateEvtMask() { - mMsgTask->sendMsg(new LocOpenMsg(this, getEvtMask())); + open(getEvtMask()); } void LocApiBase::handleEngineUpEvent() |