equal
deleted
inserted
replaced
436 |
436 |
437 //Check if WLAN bearerset is in use |
437 //Check if WLAN bearerset is in use |
438 if ( ( iChooseIapPref.BearerSet() & TExtendedConnPref::EExtendedConnBearerWLAN ) || |
438 if ( ( iChooseIapPref.BearerSet() & TExtendedConnPref::EExtendedConnBearerWLAN ) || |
439 ( iChooseIapPref.BearerSet() == TExtendedConnPref::EExtendedConnBearerUnknown ) ) |
439 ( iChooseIapPref.BearerSet() == TExtendedConnPref::EExtendedConnBearerUnknown ) ) |
440 { |
440 { |
441 if ( iNewWlansAllowed ) |
441 if ( iNewWlansAllowed && |
|
442 ( iChooseIapPref.BearerSet() == |
|
443 TExtendedConnPref::EExtendedConnBearerWLAN ) ) |
442 { |
444 { |
443 // User allows only WLAN connections, check WLAN availability. |
445 // User allows only WLAN connections, check WLAN availability. |
444 // A note will be shown if no WLANs are available. |
446 // A note will be shown if no WLANs are available. |
445 // |
447 // |
446 iSession->MyServer().Events()->CheckWlanAvailabilityL( this ); |
448 iSession->MyServer().Events()->CheckWlanAvailabilityL( this ); |
1345 void CMPMIapSelection::TriggerInformationNoteL() |
1347 void CMPMIapSelection::TriggerInformationNoteL() |
1346 { |
1348 { |
1347 // ConnectioUiUtilities client side has a nonblocking active object |
1349 // ConnectioUiUtilities client side has a nonblocking active object |
1348 // implementation |
1350 // implementation |
1349 // |
1351 // |
1350 CConnectionUiUtilities* connUiUtils = CConnectionUiUtilities::NewL(); |
1352 if ( !( iChooseIapPref.NoteBehaviour() & |
|
1353 TExtendedConnPref::ENoteBehaviourConnDisableNotes ) ) |
|
1354 { |
|
1355 CConnectionUiUtilities* connUiUtils = CConnectionUiUtilities::NewL(); |
1351 |
1356 |
1352 connUiUtils->NoWLANNetworksAvailableNote(); |
1357 connUiUtils->NoWLANNetworksAvailableNote(); |
1353 |
1358 |
1354 delete connUiUtils; |
1359 delete connUiUtils; |
|
1360 } |
1355 } |
1361 } |
1356 |
1362 |
1357 // ----------------------------------------------------------------------------- |
1363 // ----------------------------------------------------------------------------- |
1358 // CMPMIapSelection::WlanAvailabilityResponse |
1364 // CMPMIapSelection::WlanAvailabilityResponse |
1359 // ----------------------------------------------------------------------------- |
1365 // ----------------------------------------------------------------------------- |