diff options
Diffstat (limited to 'core/SystemStatus.cpp')
-rw-r--r-- | core/SystemStatus.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/SystemStatus.cpp b/core/SystemStatus.cpp index 891a8e6..d792577 100644 --- a/core/SystemStatus.cpp +++ b/core/SystemStatus.cpp @@ -1291,7 +1291,7 @@ void SystemStatus::resetNetworkInfo() { for (int i=0; i<mCache.mNetworkInfo.size(); ++i) { // Reset all the cached NetworkInfo Items as disconnected eventConnectionStatus(false, mCache.mNetworkInfo[i].mType, mCache.mNetworkInfo[i].mRoaming, - mCache.mNetworkInfo[i].mNetworkHandle); + mCache.mNetworkInfo[i].mNetworkHandle, mCache.mNetworkInfo[i].mApn); } } @@ -1732,11 +1732,12 @@ bool SystemStatus::setDefaultGnssEngineStates(void) @return true when successfully done ******************************************************************************/ bool SystemStatus::eventConnectionStatus(bool connected, int8_t type, - bool roaming, NetworkHandle networkHandle) + bool roaming, NetworkHandle networkHandle, + string& apn) { // send networkinof dataitem to systemstatus observer clients SystemStatusNetworkInfo s(type, "", "", connected, roaming, - (uint64_t) networkHandle); + (uint64_t) networkHandle, apn); mSysStatusObsvr.notify({&s}); return true; |