gssettingsuis/Gs/GSPDataHSDPAPlugin/src/GSPDataHSDPAPlugin.cpp
branchRCL_3
changeset 20 9941bcf99348
parent 0 8c5d936e5675
child 25 3b47783fdf16
equal deleted inserted replaced
17:f392bfb21e08 20:9941bcf99348
   458 #ifdef RD_STARTUP_CHANGE
   458 #ifdef RD_STARTUP_CHANGE
   459 	RStarterSession rSession;
   459 	RStarterSession rSession;
   460 	
   460 	
   461 	if( iProfileEngine->ActiveProfileId() != EProfileOffLineId )
   461 	if( iProfileEngine->ActiveProfileId() != EProfileOffLineId )
   462 		{	
   462 		{	
   463 		User::LeaveIfError( rSession.Connect() );		
   463 		User::LeaveIfError( rSession.Connect() );	
   464 		rSession.SetState( RStarterSession::EOffline );
   464 		rSession.ResetNetwork();
   465 		rSession.SetState( RStarterSession::ENormal );
       
   466 		rSession.Close();
   465 		rSession.Close();
   467 		}
   466 		}
   468     
   467     
   469 #endif
   468 #endif
   470 }
   469 }