phoneapp/phoneuicontrol/src/cphoneuicontroller.cpp
changeset 45 6b911d05207e
parent 37 ba76fc04e6c2
child 46 bc5a64e5bc3c
equal deleted inserted replaced
37:ba76fc04e6c2 45:6b911d05207e
   336 //
   336 //
   337 EXPORT_C TBool CPhoneUIController::HandleCommandL( TInt aCommand )
   337 EXPORT_C TBool CPhoneUIController::HandleCommandL( TInt aCommand )
   338     {
   338     {
   339     __ASSERT_DEBUG( iStateMachine->State(), Panic( EPhoneCtrlInvariant ) );
   339     __ASSERT_DEBUG( iStateMachine->State(), Panic( EPhoneCtrlInvariant ) );
   340 
   340 
   341     // Send key up message to engine so that we wouldn't accidentally play
       
   342     // any DTMF tone.
       
   343     iStateMachine->SendPhoneEngineMessage( MPEPhoneModel::EPEMessageEndDTMF );
       
   344 
       
   345     return iStateMachine->State()->HandleCommandL( aCommand );
   341     return iStateMachine->State()->HandleCommandL( aCommand );
   346     }
   342     }
   347 
   343 
   348 // ---------------------------------------------------------
   344 // ---------------------------------------------------------
   349 // CPhoneUIController::ProcessCommandL
   345 // CPhoneUIController::ProcessCommandL