equal
deleted
inserted
replaced
923 // or hit cancel altogether in which case the KErrCancel block above |
923 // or hit cancel altogether in which case the KErrCancel block above |
924 // kicks in and sets a EDeny. |
924 // kicks in and sets a EDeny. |
925 User::Leave( connFailure ); |
925 User::Leave( connFailure ); |
926 } |
926 } |
927 *aNewConn = ETrue; |
927 *aNewConn = ETrue; |
928 |
928 |
|
929 #ifdef BRDO_OCC_ENABLED_FF |
|
930 TRAP_IGNORE(ConnNeededStatusL(KErrNone)); |
|
931 #endif |
929 } |
932 } |
930 } |
933 } |
931 |
934 |
932 // ----------------------------------------------------------------------------- |
935 // ----------------------------------------------------------------------------- |
933 // CWidgetUiWindow::NetworkConnectionNeededL() |
936 // CWidgetUiWindow::NetworkConnectionNeededL() |
1321 iWindowManager.GetConnection()->Disconnect(); |
1324 iWindowManager.GetConnection()->Disconnect(); |
1322 |
1325 |
1323 TRAP_IGNORE( Engine()->HandleCommandL( (TInt)TBrCtlDefs::ECommandSetRetryConnectivityFlag + (TInt)TBrCtlDefs::ECommandIdBase ) ); |
1326 TRAP_IGNORE( Engine()->HandleCommandL( (TInt)TBrCtlDefs::ECommandSetRetryConnectivityFlag + (TInt)TBrCtlDefs::ECommandIdBase ) ); |
1324 SetRetryFlag(ETrue); |
1327 SetRetryFlag(ETrue); |
1325 |
1328 |
|
1329 TRAP_IGNORE( Engine()->HandleCommandL( (TInt)TBrCtlDefs::ECommandCancelQueuedTransactions + (TInt)TBrCtlDefs::ECommandIdBase ) ); |
|
1330 |
1326 if( iRetryConnectivity && iRetryConnectivity->IsActive()) |
1331 if( iRetryConnectivity && iRetryConnectivity->IsActive()) |
1327 { |
1332 { |
1328 iRetryConnectivity->Cancel(); |
1333 iRetryConnectivity->Cancel(); |
1329 } |
1334 } |
1330 iRetryConnectivity->Start(KRetryConnectivityTimeout, 0,TCallBack(RetryConnectivity,this)); |
1335 iRetryConnectivity->Start(KRetryConnectivityTimeout, 0,TCallBack(RetryConnectivity,this)); |
1347 } |
1352 } |
1348 } |
1353 } |
1349 void CWidgetUiWindow::StopConnectionObserving() |
1354 void CWidgetUiWindow::StopConnectionObserving() |
1350 { |
1355 { |
1351 |
1356 |
1352 if ( iConnStageNotifier && iConnStageNotifier->IsActive() ) |
1357 if ( iConnStageNotifier ) |
1353 { |
1358 { |
1354 iConnStageNotifier->Cancel(); |
1359 iConnStageNotifier->Cancel(); |
1355 } |
1360 } |
1356 } |
1361 } |
1357 |
1362 |