--- a/phoneapp/phoneuistates/src/cphoneincoming.cpp Wed Sep 01 12:30:10 2010 +0100
+++ b/phoneapp/phoneuistates/src/cphoneincoming.cpp Tue Sep 14 21:18:17 2010 +0300
@@ -165,9 +165,9 @@
// Prevent execution of CPhoneStateIncoming::HandleIdleL, only remove
// the call bubble
- BeginUiUpdateLC();
+ TransitionHandlerL().BeginUiUpdateLC();
iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
- EndUiUpdate();
+ TransitionHandlerL().EndUiUpdate();
iWaitingCallId = KErrNotFound;
}
@@ -193,16 +193,12 @@
{
__LOGMETHODSTARTEND( EPhoneUIStates,
"CPhoneIncoming::HandleIncomingL()");
-
TPhoneCmdParamCallStateData callState;
callState.SetCallState( EPEStateConnected );
iViewCommandHandle->ExecuteCommandL( EPhoneViewGetCallIdByState, &callState );
TInt connectedCall = callState.CallId();
- IsNumberEntryUsedL() ?
- BeginTransEffectLC( ECallUiAppear ) :
- BeginTransEffectLC( ENumberEntryOpen );
- BeginUiUpdateLC();
+ TransitionHandlerL().IncomingCallUiUpdateLC();
// Hide the number entry if it exists
if ( IsNumberEntryUsedL() )
@@ -212,7 +208,6 @@
TPhoneCmdParamBoolean dialerParam;
dialerParam.SetBoolean( ETrue );
-
AllowShowingOfWaitingCallHeaderL( dialerParam );
// Close fast swap window if it's displayed
@@ -235,11 +230,8 @@
}
SetToolbarDimming( EFalse );
- // Display incoming call
DisplayIncomingCallL( aCallId, dialerParam );
-
- EndUiUpdate();
- EndTransEffect();
+ TransitionHandlerL().EndUiUpdateAndEffect();
if ( connectedCall > KErrNotFound )
{