From 4d8fc57928cf6a5acfdcd666b4ee25a586cb2bc1 Mon Sep 17 00:00:00 2001 From: Katz Yamada Date: Fri, 4 Aug 2017 11:20:16 -0700 Subject: [PATCH] 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 --- core/LocApiBase.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index e0845de2..070b2ae5 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; } }