diff -r 5266b1f337bd -r 8baf28733c3d phoneapp/phoneuistates/src/cphonetwosingles.cpp --- a/phoneapp/phoneuistates/src/cphonetwosingles.cpp Wed Sep 01 12:30:10 2010 +0100 +++ b/phoneapp/phoneuistates/src/cphonetwosingles.cpp Tue Sep 14 21:18:17 2010 +0300 @@ -195,7 +195,7 @@ { __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneTwoSingles::HandleIdleL()"); - BeginUiUpdateLC(); + TransitionHandlerL().BeginUiUpdateLC(); // Remove call iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); @@ -245,7 +245,7 @@ default: break; } - EndUiUpdate(); + TransitionHandlerL().EndUiUpdate(); } // ----------------------------------------------------------- @@ -355,7 +355,7 @@ callLabelId, CCoeEnv::Static() ); callHeaderParam.SetCLIText( conferenceText, CBubbleManager::ERight ); - BeginUiUpdateLC(); + TransitionHandlerL().BeginUiUpdateLC(); callHeaderParam.SetCiphering( iStateMachine->PhoneEngineInfo()->IsSecureCall( aCallId ) ); @@ -378,11 +378,9 @@ SetTouchPaneButtons( EPhoneConferenceButtons ); SetTouchPaneButtonEnabled( EPhoneInCallCmdPrivate ); - EndUiUpdate(); + TransitionHandlerL().EndUiUpdate(); UpdateCbaL( EPhoneCallHandlingInCallCBA ); - - // Go to conference state // No need for CBA update iStateMachine->ChangeState( EPhoneStateConference ); } @@ -394,17 +392,12 @@ void CPhoneTwoSingles::HandleIncomingL( TInt aCallId ) { __LOGMETHODSTARTEND( EPhoneUIStates, - "CPhoneTwoSingles::HandleIncomingL()"); - + "CPhoneTwoSingles::HandleIncomingL()"); CPhonePubSubProxy::Instance()->ChangePropertyValue( KPSUidScreenSaver, KScreenSaverAllowScreenSaver, EPhoneScreensaverNotAllowed ); - - IsNumberEntryUsedL() ? - BeginTransEffectLC( ECallUiAppear ) : - BeginTransEffectLC( ENumberEntryOpen ); - BeginUiUpdateLC(); + TransitionHandlerL().IncomingCallUiUpdateLC(); // Hide the number entry if it exists if ( IsNumberEntryUsedL() ) @@ -412,27 +405,22 @@ SetNumberEntryVisibilityL( EFalse ); } + // Get allow waiting call header param value. TPhoneCmdParamBoolean dialerParam; dialerParam.SetBoolean( ETrue ); - - // Get allow waiting call header param value. AllowShowingOfWaitingCallHeaderL( dialerParam ); // Close fast swap window if it's displayed EikonEnv()->DismissTaskList(); - // Display incoming call DisplayIncomingCallL( aCallId, dialerParam ); // Set touch controls SetTouchPaneButtonDisabled( EPhoneCallComingCmdAnswer ); - SetTouchPaneButtons( EPhoneWaitingCallButtons ); - EndUiUpdate(); - EndTransEffect(); + TransitionHandlerL().EndUiUpdateAndEffect(); - // Go to incoming state UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting ); }