mmsharing/mmshui/src/musuilivesharingview.cpp
branchRCL_3
changeset 24 407431f36921
parent 21 ce86b6d44a6d
child 31 33a5d2bbf6fc
--- a/mmsharing/mmshui/src/musuilivesharingview.cpp	Wed Jun 09 09:37:52 2010 +0300
+++ b/mmsharing/mmshui/src/musuilivesharingview.cpp	Mon Jun 21 15:36:50 2010 +0300
@@ -591,10 +591,9 @@
     {
     MUS_LOG( "mus: [MUSUI ]  -> CMusUiLiveSharingView::DoRefreshView" );
     
-    if ( iBackgroundContainer )
-        {
-        iBackgroundContainer->SetRect(ClientRect());
-        }
+    // Refresh background container before and after as display status
+    // may change due async orientation change handling.
+    RefreshBackgroundContainer();
     
     if ( iContainer )
         {
@@ -620,6 +619,8 @@
             }                        
         iController->SetRect( videoRect );
         }
+    
+    RefreshBackgroundContainer();
             
     MUS_LOG( "mus: [MUSUI ]  <- CMusUiLiveSharingView::DoRefreshView" );
     }