diff -r bab96b7ed1a4 -r f39ed5e045e0 phoneapp/phoneuicontrol/src/cphoneuicontroller.cpp --- a/phoneapp/phoneuicontrol/src/cphoneuicontroller.cpp Tue Jun 15 14:14:38 2010 +0100 +++ b/phoneapp/phoneuicontrol/src/cphoneuicontroller.cpp Thu Jul 22 16:33:21 2010 +0100 @@ -31,7 +31,6 @@ #include "phonelogger.h" #include "phoneconstants.h" #include "phoneui.pan" -#include "cphonekeyeventforwarder.h" #include "cphonecenrepproxy.h" #include "cphonemediatorfactory.h" #include "tphonecmdparamnumberentryobserver.h" @@ -153,7 +152,6 @@ delete iRemoteControlHandler; delete iSystemEventHandler; delete iEngineHandler; - delete iKeyEventForwarder; delete iStateHandle; } @@ -338,10 +336,6 @@ { __ASSERT_DEBUG( iStateMachine->State(), Panic( EPhoneCtrlInvariant ) ); - // Send key up message to engine so that we wouldn't accidentally play - // any DTMF tone. - iStateMachine->SendPhoneEngineMessage( MPEPhoneModel::EPEMessageEndDTMF ); - return iStateMachine->State()->HandleCommandL( aCommand ); }