equal
deleted
inserted
replaced
264 { |
264 { |
265 genConnSettings.iCellularDataUsageHome = ECmCellularDataUsageAutomatic; |
265 genConnSettings.iCellularDataUsageHome = ECmCellularDataUsageAutomatic; |
266 TRAP_IGNORE(iServer.CommsDatAccess()->WriteGenConnSettingsL( genConnSettings )); |
266 TRAP_IGNORE(iServer.CommsDatAccess()->WriteGenConnSettingsL( genConnSettings )); |
267 } |
267 } |
268 } |
268 } |
269 else |
|
270 { |
|
271 //In foreign country connect automatically is not stored in commsdat |
|
272 //even user selected so. We just do not ask confirmation for the cellular |
|
273 //connection again in this country: |
|
274 iServer.RoamingWatcher()->SetAskCellularDataUsageAbroad( false ); |
|
275 } |
|
276 |
269 |
277 TBool wlanNeeded( EFalse ); |
270 TBool wlanNeeded( EFalse ); |
278 TRAPD( err, wlanNeeded = iIapSelection.StartWlanQueryIfNeededL( iIAP ) ) |
271 TRAPD( err, wlanNeeded = iIapSelection.StartWlanQueryIfNeededL( iIAP ) ) |
279 if( err == KErrNone ) |
272 if( err == KErrNone ) |
280 { |
273 { |