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
This commit is contained in:
Katz Yamada 2017-08-04 11:20:16 -07:00 committed by Gerrit - the friendly Code Review server
parent 099f9405b1
commit 4d8fc57928

View file

@ -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;
}
}