phoneapp/phoneuistates/src/cphonesingleandalerting.cpp
branchRCL_3
changeset 26 8baf28733c3d
parent 25 5266b1f337bd
--- a/phoneapp/phoneuistates/src/cphonesingleandalerting.cpp	Wed Sep 01 12:30:10 2010 +0100
+++ b/phoneapp/phoneuistates/src/cphonesingleandalerting.cpp	Tue Sep 14 21:18:17 2010 +0300
@@ -196,7 +196,7 @@
         // Close menu bar, if it is displayed
         iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
 
-        CPhoneState::BeginUiUpdateLC();
+        TransitionHandlerL().BeginUiUpdateLC();
             
         // Show bubble
         TPhoneCmdParamCallHeaderData callHeaderParam;
@@ -205,7 +205,7 @@
             &callHeaderParam );
 
         SetTouchPaneButtons( EPhoneTwoSinglesButtons );
-        EndUiUpdate();
+        TransitionHandlerL().EndUiUpdate();
               
         // Set Hold flag to view
         TPhoneCmdParamBoolean holdFlag;
@@ -240,8 +240,7 @@
     {
     __LOGMETHODSTARTEND( EPhoneUIStates, 
         "CPhoneSingleAndAlerting::HandleIdleL()");
-    
-    BeginUiUpdateLC();
+    TransitionHandlerL().BeginUiUpdateLC();
     
     // Remove call 
     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
@@ -277,8 +276,7 @@
         UpdateCbaL( EPhoneCallHandlingInCallCBA );
         iStateMachine->ChangeState( EPhoneStateAlerting );
         }
-
-    EndUiUpdate();
+    TransitionHandlerL().EndUiUpdate();
     }
 
 // -----------------------------------------------------------