equal
deleted
inserted
replaced
686 if(aWidgetWindow->CanBeDeleted()) |
686 if(aWidgetWindow->CanBeDeleted()) |
687 { |
687 { |
688 TRAP_IGNORE( aWidgetWindow->Engine()->HandleCommandL( |
688 TRAP_IGNORE( aWidgetWindow->Engine()->HandleCommandL( |
689 (TInt)TBrCtlDefs::ECommandIdBase + |
689 (TInt)TBrCtlDefs::ECommandIdBase + |
690 (TInt)TBrCtlDefs::ECommandDisconnect ) ); |
690 (TInt)TBrCtlDefs::ECommandDisconnect ) ); |
691 iConnection->CancelConnection(); |
691 iConnection->CancelConnection(); |
|
692 #ifdef BRDO_OCC_ENABLED_FF |
|
693 aWidgetWindow->StopConnectionObserving(); |
|
694 #endif |
692 iConnection->StopConnectionL(); |
695 iConnection->StopConnectionL(); |
693 delete aWidgetWindow; |
696 delete aWidgetWindow; |
694 return ETrue; |
697 return ETrue; |
695 } |
698 } |
696 } |
699 } |
709 } |
712 } |
710 if(!count && iNetworkMode == EOfflineMode){ |
713 if(!count && iNetworkMode == EOfflineMode){ |
711 aWidgetWindow->Engine()->HandleCommandL( |
714 aWidgetWindow->Engine()->HandleCommandL( |
712 (TInt)TBrCtlDefs::ECommandIdBase + |
715 (TInt)TBrCtlDefs::ECommandIdBase + |
713 (TInt)TBrCtlDefs::ECommandDisconnect ); |
716 (TInt)TBrCtlDefs::ECommandDisconnect ); |
|
717 #ifdef BRDO_OCC_ENABLED_FF |
|
718 aWidgetWindow->StopConnectionObserving(); |
|
719 #endif |
714 iConnection->StopConnectionL(); |
720 iConnection->StopConnectionL(); |
715 } |
721 } |
716 delete aWidgetWindow; |
722 delete aWidgetWindow; |
717 } |
723 } |
718 return EFalse; |
724 return EFalse; |
1088 wdgt_window->WidgetExtension()->HandleCommandL( |
1094 wdgt_window->WidgetExtension()->HandleCommandL( |
1089 (TInt)TBrCtlDefs::ECommandAppForeground + |
1095 (TInt)TBrCtlDefs::ECommandAppForeground + |
1090 (TInt)TBrCtlDefs::ECommandIdBase); |
1096 (TInt)TBrCtlDefs::ECommandIdBase); |
1091 #ifdef BRDO_WRT_HS_FF |
1097 #ifdef BRDO_WRT_HS_FF |
1092 wdgt_window->Engine()->MakeVisible( EFalse ); |
1098 wdgt_window->Engine()->MakeVisible( EFalse ); |
|
1099 wdgt_window->SetIsCurrentWindow( EFalse ); |
1093 wdgt_window->Engine()->SetRect( iCpsPublisher->BitmapSize()); |
1100 wdgt_window->Engine()->SetRect( iCpsPublisher->BitmapSize()); |
1094 //When HS comes to foreground show the latest updatd content on HS. |
1101 //When HS comes to foreground show the latest updatd content on HS. |
1095 //Relayout can sometimes happen only when widget in FullView. |
1102 //Relayout can sometimes happen only when widget in FullView. |
1096 wdgt_window->PublishSnapShot(); |
1103 wdgt_window->PublishSnapShot(); |
1097 #endif |
1104 #endif |
1403 if(i == 0) |
1410 if(i == 0) |
1404 TRAP_IGNORE( window->Engine()->HandleCommandL( |
1411 TRAP_IGNORE( window->Engine()->HandleCommandL( |
1405 (TInt)TBrCtlDefs::ECommandIdBase + |
1412 (TInt)TBrCtlDefs::ECommandIdBase + |
1406 (TInt)TBrCtlDefs::ECommandDisconnect ) ); |
1413 (TInt)TBrCtlDefs::ECommandDisconnect ) ); |
1407 iConnection->CancelConnection(); |
1414 iConnection->CancelConnection(); |
|
1415 #ifdef BRDO_OCC_ENABLED_FF |
|
1416 window->StopConnectionObserving(); |
|
1417 #endif |
1408 iConnection->StopConnectionL(); |
1418 iConnection->StopConnectionL(); |
1409 delete window; |
1419 delete window; |
1410 } |
1420 } |
1411 iWindowList.Reset(); |
1421 iWindowList.Reset(); |
1412 } |
1422 } |
1557 |
1567 |
1558 window->Engine()->HandleCommandL( |
1568 window->Engine()->HandleCommandL( |
1559 (TInt)TBrCtlDefs::ECommandIdBase + |
1569 (TInt)TBrCtlDefs::ECommandIdBase + |
1560 (TInt)TBrCtlDefs::ECommandDisconnect ); |
1570 (TInt)TBrCtlDefs::ECommandDisconnect ); |
1561 iConnection->CancelConnection(); |
1571 iConnection->CancelConnection(); |
|
1572 #ifdef BRDO_OCC_ENABLED_FF |
|
1573 window->StopConnectionObserving(); |
|
1574 #endif |
1562 iConnection->StopConnectionL(); |
1575 iConnection->StopConnectionL(); |
1563 } |
1576 } |
1564 } |
1577 } |
1565 if(window->IsWidgetLoaded()) |
1578 if(window->IsWidgetLoaded()) |
1566 window->DetermineNetworkState(); |
1579 window->DetermineNetworkState(); |