diff options
author | Kevin Tang <zhikait@codeaurora.org> | 2019-07-08 11:17:06 -0700 |
---|---|---|
committer | Kevin Tang <zhikait@codeaurora.org> | 2019-07-08 11:17:06 -0700 |
commit | 95ee8899c9be89fb3318a2e831b7147d31073a86 (patch) | |
tree | d8d37e363f1511f14b0d3290ed2f658fd98ae201 /gnss/XtraSystemStatusObserver.h | |
parent | 18eb6db4863c47cbde432727f6ee8adb683eaa17 (diff) | |
download | gps-95ee8899c9be89fb3318a2e831b7147d31073a86.tar.gz |
Add XSSO support for multiple network handles
Add support in HAL for multiple network handles
with same type.
Change-Id: Idc9e6fc1c7876dc868264500d60a5d086ab003b0
CRs-Fixed: 2477395
Diffstat (limited to 'gnss/XtraSystemStatusObserver.h')
-rw-r--r-- | gnss/XtraSystemStatusObserver.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnss/XtraSystemStatusObserver.h b/gnss/XtraSystemStatusObserver.h index 14f9393..3a5259d 100644 --- a/gnss/XtraSystemStatusObserver.h +++ b/gnss/XtraSystemStatusObserver.h @@ -55,7 +55,7 @@ public : bool updateLockStatus(GnssConfigGpsLock lock); bool updateConnections(uint64_t allConnections, - uint64_t wifiNetworkHandle, uint64_t mobileNetworkHandle); + loc_core::NetworkInfoType* networkHandleInfo); bool updateTac(const string& tac); bool updateMccMnc(const string& mccmnc); bool updateXtraThrottle(const bool enabled); @@ -69,8 +69,7 @@ private: GnssConfigGpsLock mGpsLock; LocIpc mIpc; uint64_t mConnections; - uint64_t mWifiNetworkHandle; - uint64_t mMobileNetworkHandle; + loc_core::NetworkInfoType mNetworkHandle[MAX_NETWORK_HANDLES]; string mTac; string mMccmnc; bool mXtraThrottle; |