summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorKatz Yamada <kyamada@codeaurora.org>2017-08-04 11:20:16 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2017-09-08 13:52:20 -0700
commit4d8fc57928cf6a5acfdcd666b4ee25a586cb2bc1 (patch)
tree9dcedd2d4a5063dba2cebd1ca62f9b093a497ef1 /core/LocApiBase.cpp
parent099f9405b1e87bc79dd63b276c14b2fd27df3f4e (diff)
downloadgps-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.cpp2
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;
}
}