phoneapp/phoneuicontrol/src/cphonestateincall.cpp
branchRCL_3
changeset 34 b68fcd923911
parent 31 ba54057fe027
child 39 b8d67d6176f5
equal deleted inserted replaced
31:ba54057fe027 34:b68fcd923911
   298         "CPhoneStateInCall::HandleIdleL()" );
   298         "CPhoneStateInCall::HandleIdleL()" );
   299     __ASSERT_DEBUG( aCallId >= 0, Panic( EPhoneCtrlParameterNotInitialized ) );
   299     __ASSERT_DEBUG( aCallId >= 0, Panic( EPhoneCtrlParameterNotInitialized ) );
   300     // Remove call 
   300     // Remove call 
   301     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   301     iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId );
   302   
   302   
   303     //Make sure that toolbar is not shown
       
   304     iViewCommandHandle->ExecuteCommandL( EPhoneViewHideToolbar );
       
   305     BeginUiUpdateLC();
   303     BeginUiUpdateLC();
   306     SetDefaultFlagsL();
   304     SetDefaultFlagsL();
   307     if ( IsNumberEntryUsedL() )
   305     if ( IsNumberEntryUsedL() )
   308         {
   306         {
   309         if ( NeedToReturnToForegroundAppL() )
   307         if ( NeedToReturnToForegroundAppL() )
   361     // Display call termination note, if necessary
   359     // Display call termination note, if necessary
   362     DisplayCallTerminationNoteL();
   360     DisplayCallTerminationNoteL();
   363 
   361 
   364     // Go to idle state
   362     // Go to idle state
   365     iStateMachine->ChangeState( EPhoneStateIdle );
   363     iStateMachine->ChangeState( EPhoneStateIdle );
       
   364 
       
   365     //Make sure that toolbar is not shown
       
   366     iViewCommandHandle->ExecuteCommandL( EPhoneViewHideToolbar );
   366     }
   367     }
   367 
   368 
   368 // -----------------------------------------------------------
   369 // -----------------------------------------------------------
   369 // CPhoneStateInCall::UpdateInCallCbaL
   370 // CPhoneStateInCall::UpdateInCallCbaL
   370 // -----------------------------------------------------------
   371 // -----------------------------------------------------------