summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorMike Cailean <mcailean@codeaurora.org>2019-07-03 17:55:17 -0700
committerMike Cailean <mcailean@codeaurora.org>2020-12-11 16:24:48 -0800
commit8c4a0ec3c118b2c9d6670d6b7fa783f0bbc99b69 (patch)
tree98847c27f8a3f634fbfa0561902f93445eeb7629 /core/LocApiBase.cpp
parent5b08f5c588593efa335ebf83a99df3be6c7ffdfd (diff)
SUPL-2.0-con-034-1/2 test case fails
SUPL-2.0-con-034-1/2 Fail because Emergency-NI did not check inprogress session Change-Id: I377955c455830bf3bb7cb7fe05d45c4536dabfbc CRs-fixed: 2483780
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 50d7369..cdbb382 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -521,10 +521,14 @@ void LocApiBase::releaseATL(int connHandle)
TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->releaseATL(connHandle));
}
-void LocApiBase::requestNiNotify(GnssNiNotification &notify, const void* data)
+void LocApiBase::requestNiNotify(GnssNiNotification &notify, const void* data,
+ const LocInEmergency emergencyState)
{
// loop through adapters, and deliver to the first handling adapter.
- TO_1ST_HANDLING_LOCADAPTERS(mLocAdapters[i]->requestNiNotifyEvent(notify, data));
+ TO_1ST_HANDLING_LOCADAPTERS(
+ mLocAdapters[i]->requestNiNotifyEvent(notify,
+ data,
+ emergencyState));
}
void* LocApiBase :: getSibling()