diff options
author | Mike Cailean <mcailean@codeaurora.org> | 2018-05-15 10:21:09 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-12 09:46:49 -0700 |
commit | b150a53ee3f02c8441754fcc6834802da7d96f40 (patch) | |
tree | 76aab803f16c7a350f020a3f7422cdd9c1535668 /core/LocAdapterBase.cpp | |
parent | f7981a3c11485795568f0205d0cb4c549f135064 (diff) | |
download | gps-b150a53ee3f02c8441754fcc6834802da7d96f40.tar.gz |
Handle updating the carrier configuration
Set GPS_LOCK for cases where the modem has
two SIMs
Change-Id: I2745b9469b2f755b0a24be2a7f4ae514c35a37cb
CRs-fixed: 2018029
Diffstat (limited to 'core/LocAdapterBase.cpp')
-rw-r--r-- | core/LocAdapterBase.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/LocAdapterBase.cpp b/core/LocAdapterBase.cpp index f7443f8..8301ee8 100644 --- a/core/LocAdapterBase.cpp +++ b/core/LocAdapterBase.cpp @@ -42,8 +42,9 @@ namespace loc_core { // But if getLocApi(targetEnumType target) is overriden, // the right locApi should get created. LocAdapterBase::LocAdapterBase(const LOC_API_ADAPTER_EVENT_MASK_T mask, - ContextBase* context, LocAdapterProxyBase *adapterProxyBase) : - mEvtMask(mask), mContext(context), + ContextBase* context, bool isMaster, + LocAdapterProxyBase *adapterProxyBase) : + mIsMaster(isMaster), mEvtMask(mask), mContext(context), mLocApi(context->getLocApi()), mLocAdapterProxyBase(adapterProxyBase), mMsgTask(context->getMsgTask()) { |