phoneapp/phoneuistates/src/cphonealerting.cpp
branchRCL_3
changeset 26 8baf28733c3d
parent 25 5266b1f337bd
equal deleted inserted replaced
25:5266b1f337bd 26:8baf28733c3d
   130                 iStateMachine->SendPhoneEngineMessage(
   130                 iStateMachine->SendPhoneEngineMessage(
   131                     MPEPhoneModel::EPEMessageTerminateAllConnections ); 
   131                     MPEPhoneModel::EPEMessageTerminateAllConnections ); 
   132 
   132 
   133                 if ( IsNumberEntryUsedL() )
   133                 if ( IsNumberEntryUsedL() )
   134                     {
   134                     {
   135                     CloseClearNumberEntryAndLoadEffectL( ENumberEntryClose );
   135                     CloseClearNumberEntryAndLoadEffectL( EPhoneTransEffectPhoneUiClose );
   136                     }
   136                     }
   137                 if ( !TopAppIsDisplayedL() )
   137                 if ( !TopAppIsDisplayedL() )
   138                     {
   138                     {
   139                     // Bring app to foreground
   139                     // Bring app to foreground
   140                     TPhoneCmdParamInteger uidParam;
   140                     TPhoneCmdParamInteger uidParam;
   239         "CPhoneAlerting::HandleConnectedL()");
   239         "CPhoneAlerting::HandleConnectedL()");
   240 
   240 
   241     // Close menu bar, if it is displayed
   241     // Close menu bar, if it is displayed
   242     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   242     iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
   243 
   243 
   244     BeginUiUpdateLC();
   244     TransitionHandlerL().BeginUiUpdateLC();
   245 
   245 
   246     // Update the single call
   246     // Update the single call
   247     UpdateSingleActiveCallL( aCallId );
   247     UpdateSingleActiveCallL( aCallId );
   248 
   248 
   249     SetTouchPaneButtons( EPhoneIncallButtons );
   249     SetTouchPaneButtons( EPhoneIncallButtons );
   250 
   250 
   251     SetToolbarDimming( EFalse );
   251     SetToolbarDimming( EFalse );
   252 
   252 
   253     EndUiUpdate();
   253     TransitionHandlerL().EndUiUpdate();
   254     
   254     
   255     // Go to single state
   255     // Go to single state
   256     UpdateCbaL( EPhoneCallHandlingInCallCBA );    
   256     UpdateCbaL( EPhoneCallHandlingInCallCBA );    
   257     iStateMachine->ChangeState( EPhoneStateSingle );
   257     iStateMachine->ChangeState( EPhoneStateSingle );
   258     }
   258     }