From ee0fa20a1d35466b22264116eaeb957495ce6667 Mon Sep 17 00:00:00 2001 From: Harikrishnan Hariharan Date: Fri, 21 Oct 2022 11:41:41 +0530 Subject: Revert "Enable protected dynamic interface control" This reverts commit cf4eac65570a43c797a00abb68779f4757426499. Change-Id: I259635cec8f03c2354d1b1537a1d9cc136b7bcaa CRs-Fixed: 3313257 --- core/LocApiBase.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'core/LocApiBase.cpp') diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index b571e36..860da2e 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -155,7 +155,7 @@ volatile int32_t LocApiBase::mMsgTaskRefCount = 0; LocApiBase::LocApiBase(LOC_API_ADAPTER_EVENT_MASK_T excludedMask, ContextBase* context) : mContext(context), - mMask(0), mExcludedMask(excludedMask), mEngineLockState(ENGINE_LOCK_STATE_ENABLED) + mMask(0), mExcludedMask(excludedMask) { memset(mLocAdapters, 0, sizeof(mLocAdapters)); @@ -615,12 +615,6 @@ void LocApiBase::reportLatencyInfo(GnssLatencyInfo& gnssLatencyInfo) TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportLatencyInfoEvent(gnssLatencyInfo)); } -void LocApiBase::reportEngineLockStatus(EngineLockState engineLockState) -{ - // loop through adapters, and deliver to the All handling adapter. - TO_ALL_LOCADAPTERS(mLocAdapters[i]->handleEngineLockStatusEvent(engineLockState)); -} - enum loc_api_adapter_err LocApiBase:: open(LOC_API_ADAPTER_EVENT_MASK_T /*mask*/) DEFAULT_IMPL(LOC_API_ADAPTER_ERR_SUCCESS) -- cgit v1.2.3