diff -r 77415202bfc8 -r 2e6c4614c58e bearermanagement/mpm/src/mpmserversession.cpp --- a/bearermanagement/mpm/src/mpmserversession.cpp Tue Feb 02 00:24:11 2010 +0200 +++ b/bearermanagement/mpm/src/mpmserversession.cpp Fri Feb 19 23:12:51 2010 +0200 @@ -933,22 +933,13 @@ { if ( MyServer().RoamingWatcher()->RoamingStatus() == EMPMInternationalRoaming ) { - //Check if cellular data usage query has already been presented to the user in this country - if ( MyServer().RoamingWatcher()->AskCellularDataUsageAbroad() == true ) - { - //International roaming - iConfirmDlgRoaming = CMPMConfirmDlgRoaming::NewL( - *this, - snapId, - iMigrateIap, - CMPMConfirmDlg::EConfirmDlgVisitorNetwork, - reconnect ); - } - else - { - //Handle like user would have answered "Connect this time" to dialog - RoamingConfirmationCompletedL( KErrNone, EMsgQueryThisTime, reconnect ); - } + //International roaming + iConfirmDlgRoaming = CMPMConfirmDlgRoaming::NewL( + *this, + snapId, + iMigrateIap, + CMPMConfirmDlg::EConfirmDlgVisitorNetwork, + reconnect ); } else { @@ -1105,13 +1096,6 @@ TRAP_IGNORE(MyServer().CommsDatAccess()->WriteGenConnSettingsL( genConnSettings )); } } - else - { - //In foreign country connect automatically is not stored in commsdat - //even user selected so. We just do not ask confirmation for the cellular - //connection again in this country: - MyServer().RoamingWatcher()->SetAskCellularDataUsageAbroad( false ); - } } //user selected connect this time @@ -2841,15 +2825,17 @@ { TBool connectionAlreadyActive = iMyServer.CheckIfStarted( aIapId ); CConnectionUiUtilities* connUiUtils = NULL; - TRAPD( popupError, - connUiUtils = CConnectionUiUtilities::NewL(); - connUiUtils->ConnectingViaDiscreetPopup( - aIapId, - connectionAlreadyActive ); - delete connUiUtils; ); - if ( popupError && connUiUtils ) + if (!connectionAlreadyActive ) { - delete connUiUtils; + TRAPD( popupError, + connUiUtils = CConnectionUiUtilities::NewL(); + connUiUtils->ConnectingViaDiscreetPopup( + aIapId ); + delete connUiUtils; ); + if ( popupError && connUiUtils ) + { + delete connUiUtils; + } } }