diff -r 24062c24fe38 -r 2a26698d78ba phoneapp/phoneuicontrol/src/cphonestateincoming.cpp --- a/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Fri Mar 12 15:42:40 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Mon Mar 15 12:40:24 2010 +0200 @@ -54,7 +54,6 @@ #include "cphonemediatorsender.h" #include "cphonereleasecommand.h" #include "mphonecustomization.h" -#include "mphonestorage.h" // ================= MEMBER FUNCTIONS ======================= @@ -228,14 +227,6 @@ } break; - case EKeyDeviceF: - { - __PHONELOG( EBasic, EPhoneUIStates, - "CPhoneConferenceAndSingleAndWaiting::HandleKeyMessageL-deviceF" ); - HandleHoldSwitchL(); - } - break; - default: break; } @@ -383,15 +374,6 @@ BeginTransEffectLC( ENumberEntryOpen ); - if( FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) - && iStateMachine->PhoneStorage()->IsScreenLocked() ) - { - EnableCallUIL(); - } - - // Reset blocked keys list - iStateMachine->PhoneStorage()->ResetBlockedKeysList(); - BeginUiUpdateLC(); // Update single call @@ -450,16 +432,6 @@ BeginTransEffectLC( ENumberEntryOpen ); BeginUiUpdateLC(); - // Enable call UI - if( FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) - && iStateMachine->PhoneStorage()->IsScreenLocked() ) - { - EnableCallUIL(); - } - - // Reset blocked keys list - iStateMachine->PhoneStorage()->ResetBlockedKeysList(); - // Remove call iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveCallHeader, aCallId ); // Close menu bar, if it is displayed @@ -865,33 +837,4 @@ &callHeaderParam ); } -// --------------------------------------------------------- -// CPhoneStateIncoming::HandleKeyLockEnabledL -// --------------------------------------------------------- -// -EXPORT_C void CPhoneStateIncoming::HandleKeyLockEnabled( TBool aKeylockEnabled ) - { - __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateIncoming::HandleKeyLockEnabledL( ) "); - if( !FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) - && CPhoneCenRepProxy::Instance()-> - IsTelephonyFeatureSupported( KTelephonyLVFlagDisableCallControlHardKeysWhileLocked ) ) - { - if( aKeylockEnabled ) - { - // Keylock enabled - if( iStateMachine->PhoneStorage()->IsBlockedKeysListEmpty() ) - { - // Disable HW Keys if needed - DisableHWKeysL(); - } - } - else - { - // Keylock disabled - // Reset blocked keys list - iStateMachine->PhoneStorage()->ResetBlockedKeysList(); - } - } - } - // End of File