diff -r 24062c24fe38 -r 2a26698d78ba phoneapp/phoneuistates/src/cphoneconferenceandsingleandwaiting.cpp --- a/phoneapp/phoneuistates/src/cphoneconferenceandsingleandwaiting.cpp Fri Mar 12 15:42:40 2010 +0200 +++ b/phoneapp/phoneuistates/src/cphoneconferenceandsingleandwaiting.cpp Mon Mar 15 12:40:24 2010 +0200 @@ -32,9 +32,6 @@ #include "phonerssbase.h" #include "tphonecmdparamglobalnote.h" #include "phoneui.hrh" -#include "mphonestorage.h" -#include "cphonecenrepproxy.h" -#include // ================= MEMBER FUNCTIONS ======================= @@ -296,9 +293,6 @@ SetTouchPaneButtons( EPhoneWaitingCallButtons ); SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); - // Check if HW Keys or Call UI should be disabled - CheckDisableHWKeysAndCallUIL(); - // Go to Conference And Waiting state UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); iStateMachine->ChangeState( EPhoneStateConferenceAndWaiting ); @@ -313,15 +307,6 @@ __LOGMETHODSTARTEND( EPhoneUIStates, "CPhoneConferenceAndSingleAndWaiting::MakeStateTransitionToConferenceAndSingleL()"); - if( /*FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) - */ 1 && iStateMachine->PhoneStorage()->IsScreenLocked() ) - { - EnableCallUIL(); - } - - // Reset blocked keys list - iStateMachine->PhoneStorage()->ResetBlockedKeysList(); - if ( !IsNumberEntryUsedL() ) { // Close menu bar, if number entry isnt open. @@ -423,22 +408,6 @@ } // ----------------------------------------------------------- -// CPhoneConferenceAndSingleAndWaiting::HandleKeyEventL -// ----------------------------------------------------------- -// -void CPhoneConferenceAndSingleAndWaiting::HandleKeyEventL( - const TKeyEvent& aKeyEvent, - TEventCode aEventCode ) - { - if( EKeyDeviceF == aKeyEvent.iCode ) - { - __PHONELOG( EBasic, EPhoneUIStates, - "CPhoneConferenceAndSingleAndWaiting::HandleKeyMessageL-deviceF" ); - HandleHoldSwitchL(); - } - } - -// ----------------------------------------------------------- // CPhoneConferenceAndSingleAndWaiting::HandleErrorL // ----------------------------------------------------------- // @@ -509,9 +478,6 @@ // Go to Incoming state iCbaManager->UpdateIncomingCbaL( callStateData.CallId() ); - // Check if HW Keys or Call UI should be disabled - CheckDisableHWKeysAndCallUIL(); - SetTouchPaneButtons( EPhoneIncomingCallButtons ); UpdateSilenceButtonDimming(); SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); @@ -534,9 +500,6 @@ SetTouchPaneButtons( EPhoneWaitingCallButtons ); SetTouchPaneButtonEnabled( EPhoneCallComingCmdAnswer ); - // Check if HW Keys or Call UI should be disabled - CheckDisableHWKeysAndCallUIL(); - iStateMachine->ChangeState( EPhoneStateWaitingInSingle ); } break; @@ -545,9 +508,6 @@ // Go to Two Singles And Waiting state UpdateCbaL( EPhoneCallHandlingCallWaitingCBA ); - // Check if HW Keys or Call UI should be disabled - CheckDisableHWKeysAndCallUIL(); - SetTouchPaneButtons( EPhoneWaitingCallButtons ); iStateMachine->ChangeState( EPhoneStateTwoSinglesAndWaiting ); }