supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasupletelnotifier.cpp
--- a/supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasupletelnotifier.cpp Tue Feb 02 10:12:24 2010 +0200
+++ b/supl/locationomasuplprotocolhandler/protocolhandlerver1/src/epos_comasupletelnotifier.cpp Fri Apr 16 15:23:31 2010 +0300
@@ -115,10 +115,13 @@
//
void COMASuplETelNotifier::CheckForRoaming()
{
- iCellMode = EOMASuplCellIdHome;
- iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__);
- iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg);
- SetActive();
+ iTrace->Trace(_L("COMASuplETelNotifier::CheckForRoaming..."),KTraceFileName, __LINE__);
+ if( !IsActive() )
+ {
+ iCellMode = EOMASuplCellIdHome;
+ iPhone.GetHomeNetwork( iStatus, iHomeNetworkInfoPkg);
+ SetActive();
+ }
}
// -----------------------------------------------------------------------------
@@ -128,10 +131,13 @@
//
void COMASuplETelNotifier::GetCurrentNetwork()
{
- iCellMode = EOMASuplCellIdCurrent;
- iTrace->Trace(_L("COMASuplETelNotifier::GetCurrentNetwork..."),KTraceFileName, __LINE__);
- iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo );
- SetActive();
+ iTrace->Trace(_L("COMASuplETelNotifier::GetCurrentNetwork..."),KTraceFileName, __LINE__);
+ if( !IsActive() )
+ {
+ iCellMode = EOMASuplCellIdCurrent;
+ iPhone.GetCurrentNetwork( iStatus, iNetworkInfoPkg, iLocationInfo );
+ SetActive();
+ }
}
// -----------------------------------------------------------------------------
@@ -141,10 +147,13 @@
//
void COMASuplETelNotifier::NotifyCurrentNetworkChange()
{
- iCellMode = EOMASuplCellIdNotify;
- iTrace->Trace(_L("COMASuplETelNotifier::NotifyCurrentNetworkChange..."),KTraceFileName, __LINE__);
- iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo );
- SetActive();
+ iTrace->Trace(_L("COMASuplETelNotifier::NotifyCurrentNetworkChange..."),KTraceFileName, __LINE__);
+ if( !IsActive() )
+ {
+ iCellMode = EOMASuplCellIdNotify;
+ iPhone.NotifyCurrentNetworkChange( iStatus, iNetworkInfoPkg, iLocationInfo );
+ SetActive();
+ }
}
// -----------------------------------------------------------------------------