diff -r c84cf270c54f -r 92ab7f8d0eab phoneapp/phoneuicontrol/src/cphonestateincoming.cpp --- a/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Tue Feb 02 00:10:04 2010 +0200 +++ b/phoneapp/phoneuicontrol/src/cphonestateincoming.cpp Fri Mar 19 09:28:42 2010 +0200 @@ -27,7 +27,9 @@ #include #include #include +// <-- QT PHONE START --> #include +// <-- QT PHONE END --> #include "cphonepubsubproxy.h" #include "phoneui.pan" @@ -256,7 +258,7 @@ MPEPhoneModel::EPEMessagePhoneNumberEdited ); if ( phoneNumber->Des().Length() < KPhoneValidPhoneNumberLength - && iStateMachine->PhoneEngineInfo()->PhoneNumberIsServiceCode() ) + && iStateMachine->PhoneEngineInfo()->PhoneNumberIsServiceCode() ) { // Send a manual control sequence by providing number // information with dial command @@ -443,7 +445,7 @@ { resourceId = EPhoneCallHandlingIncomingSoftRejectCBA; } - iCbaManager->SetCbaL( resourceId ); + iCbaManager->SetCbaL( resourceId ); } // ----------------------------------------------------------- @@ -647,15 +649,18 @@ if( IsVideoCall( iRingingCallId ) ) { // Video call can be released only after we get response to VT Shutdown Command - CPhoneMediatorFactory::Instance()->Sender()->IssueCommand( - KMediatorVideoTelephonyDomain, - KCatPhoneToVideotelCommands, - EVtCmdReleaseDataport, - TVersion( KPhoneToVideotelCmdVersionMajor, - KPhoneToVideotelCmdVersionMinor, - KPhoneToVideotelCmdVersionBuild ), - KNullDesC8, - CPhoneReleaseCommand::NewL( *iStateMachine ) ); +// <-- QT PHONE START --> + + CPhoneMediatorFactory::Instance()->Sender()->IssueCommand( KMediatorVideoTelephonyDomain, + KCatPhoneToVideotelCommands, + EVtCmdReleaseDataport, + TVersion( KPhoneToVideotelCmdVersionMajor, + KPhoneToVideotelCmdVersionMinor, + KPhoneToVideotelCmdVersionBuild ), + KNullDesC8, + CPhoneReleaseCommand::NewL( *iStateMachine ) ); + +// <-- QT PHONE END --> } else { @@ -881,25 +886,25 @@ { __LOGMETHODSTARTEND(EPhoneControl, "CPhoneStateIncoming::HandleKeyLockEnabledL( ) "); if( !FeatureManager::FeatureSupported( KFeatureIdFfTouchUnlockStroke ) - && CPhoneCenRepProxy::Instance()-> - IsTelephonyFeatureSupported( KTelephonyLVFlagDisableCallControlHardKeysWhileLocked ) ) - { - if( aKeylockEnabled ) - { - // Keylock enabled + && CPhoneCenRepProxy::Instance()-> + IsTelephonyFeatureSupported( KTelephonyLVFlagDisableCallControlHardKeysWhileLocked ) ) + { + if( aKeylockEnabled ) + { + // Keylock enabled if( iStateMachine->PhoneStorage()->IsBlockedKeysListEmpty() ) { // Disable HW Keys if needed DisableHWKeysL(); } - } - else - { - // Keylock disabled + } + else + { + // Keylock disabled // Reset blocked keys list iStateMachine->PhoneStorage()->ResetBlockedKeysList(); - } - } + } + } } // End of File