summaryrefslogtreecommitdiff
path: root/core/LocApiBase.cpp
diff options
context:
space:
mode:
authorDante Russo <drusso@codeaurora.org>2020-05-27 16:35:22 -0700
committerDante Russo <drusso@codeaurora.org>2020-05-27 16:35:32 -0700
commit6a6ad43850a278d34bc28390861c2bc05b0f43b6 (patch)
tree164b82108d4adb126c9f65e0ff368ab0c5e62590 /core/LocApiBase.cpp
parentfc9bb378ec9d3d638de8b7e7376ba1e6e58ad8e6 (diff)
Set onDemandCpi flag for all odcpi injections
Network positions that are injected during an ODCPI session were not setting the onDemandCpi flag This is fixed by always setting onDemandCpi flag while in an ODCPI session Change-Id: Ife046f83bca6e5b22e53c11d652d67470a86607f CRs-fixed: 2679505
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r--core/LocApiBase.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp
index 4664c40..410cc0d 100644
--- a/core/LocApiBase.cpp
+++ b/core/LocApiBase.cpp
@@ -619,7 +619,8 @@ void LocApiBase::
DEFAULT_IMPL()
void LocApiBase::
- injectPosition(double /*latitude*/, double /*longitude*/, float /*accuracy*/)
+ injectPosition(double /*latitude*/, double /*longitude*/, float /*accuracy*/,
+ bool /*onDemandCpi*/)
DEFAULT_IMPL()
void LocApiBase::