diff options
author | Dante Russo <drusso@codeaurora.org> | 2020-05-27 16:35:22 -0700 |
---|---|---|
committer | Dante Russo <drusso@codeaurora.org> | 2020-05-27 16:35:32 -0700 |
commit | 6a6ad43850a278d34bc28390861c2bc05b0f43b6 (patch) | |
tree | 164b82108d4adb126c9f65e0ff368ab0c5e62590 /core/LocApiBase.cpp | |
parent | fc9bb378ec9d3d638de8b7e7376ba1e6e58ad8e6 (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.cpp | 3 |
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:: |