diff options
author | Katz Yamada <kyamada@codeaurora.org> | 2017-08-04 11:20:16 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-09-08 13:52:20 -0700 |
commit | 4d8fc57928cf6a5acfdcd666b4ee25a586cb2bc1 (patch) | |
tree | 9dcedd2d4a5063dba2cebd1ca62f9b093a497ef1 /core/LocApiBase.cpp | |
parent | 099f9405b1e87bc79dd63b276c14b2fd27df3f4e (diff) | |
download | gps-4d8fc57928cf6a5acfdcd666b4ee25a586cb2bc1.tar.gz |
Fix unable to clear existing event bitmasks
Fix for an issue updateEvtMask call chain is
unable to clear existing event bitmasks stored
in LocApiV02.
Change-Id: Id34e2d92a506e7300f3d9b3ec74a80a1f6822787
CRs-Fixed: 2085379
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 e0845de..070b2ae 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -164,7 +164,7 @@ void LocApiBase::addAdapter(LocAdapterBase* adapter) if (mLocAdapters[i] == NULL) { mLocAdapters[i] = adapter; mMsgTask->sendMsg(new LocOpenMsg(this, - (adapter->getEvtMask()))); + mMask | adapter->getEvtMask())); break; } } |