phoneapp/phoneuistates/src/cphonealerting.cpp
branchRCL_3
changeset 81 c26cc2a7c548
parent 69 8baf28733c3d
equal deleted inserted replaced
73:e30d4a1b8bad 81:c26cc2a7c548
   130                 iStateMachine->SendPhoneEngineMessage(
   130                 iStateMachine->SendPhoneEngineMessage(
   131                     MPEPhoneModel::EPEMessageTerminateAllConnections ); 
   131                     MPEPhoneModel::EPEMessageTerminateAllConnections ); 
   132 
   132 
   133                 if ( IsNumberEntryUsedL() )
   133                 if ( IsNumberEntryUsedL() )
   134                     {
   134                     {
   135                     CloseClearNumberEntryAndLoadEffectL( EPhoneTransEffectPhoneUiClose );
   135                     CloseClearNumberEntryAndLoadEffectL( ENumberEntryClose );
   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     TransitionHandlerL().BeginUiUpdateLC();
   244     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     TransitionHandlerL().EndUiUpdate();
   253     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     }