diff options
author | Wei Chen <weic@codeaurora.org> | 2018-09-19 10:59:28 -0700 |
---|---|---|
committer | Wei Chen <weic@codeaurora.org> | 2018-10-08 12:26:06 -0700 |
commit | 21b9c4e47ed5811f53d764c38943e3b971bde5e8 (patch) | |
tree | 7050d4d2124d0ff0abd72605cd4a58598892d6a6 /core/LocApiBase.cpp | |
parent | 5b53be1d9e037a197cdc56b65c73543c63051df1 (diff) | |
download | gps-21b9c4e47ed5811f53d764c38943e3b971bde5e8.tar.gz |
FR48381: Support leap second change event
Support leap second change event
(1) Info will be available in location api and location
client api
(2) Engine hub aggregator will use the info to calculate
UTC timestamp
Change-Id: Ie79c1a38301fa094134a4a31af424487758343f6
CRs-fixed: 2289457
Diffstat (limited to 'core/LocApiBase.cpp')
-rw-r--r-- | core/LocApiBase.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/core/LocApiBase.cpp b/core/LocApiBase.cpp index b2642ca..c2ee411 100644 --- a/core/LocApiBase.cpp +++ b/core/LocApiBase.cpp @@ -461,6 +461,12 @@ void LocApiBase::reportXtraServer(const char* url1, const char* url2, } +void LocApiBase::reportLocationSystemInfo(const LocationSystemInfo& locationSystemInfo) +{ + // loop through adapters, and deliver to all adapters. + TO_ALL_LOCADAPTERS(mLocAdapters[i]->reportLocationSystemInfoEvent(locationSystemInfo)); +} + void LocApiBase::requestXtraData() { // loop through adapters, and deliver to the first handling adapter. |