diff -r 41a7f70b3818 -r 5266b1f337bd phoneapp/phoneuicontrol/src/cphonereconnectquery.cpp --- a/phoneapp/phoneuicontrol/src/cphonereconnectquery.cpp Tue Aug 31 15:14:29 2010 +0300 +++ b/phoneapp/phoneuicontrol/src/cphonereconnectquery.cpp Wed Sep 01 12:30:10 2010 +0100 @@ -17,7 +17,9 @@ // INCLUDE FILES +#include #include + #include "cphonereconnectquery.h" #include "phoneconstants.h" #include "phonelogger.h" @@ -26,6 +28,8 @@ #include "cphonestatehandle.h" #include "tphonecmdparamboolean.h" #include "tphonecmdparaminteger.h" +#include "tphonecmdparammessageeditor.h" +#include "tphonecmdparamreconnectquery.h" #include "cphonemainresourceresolver.h" // ================= MEMBER FUNCTIONS ======================= @@ -103,6 +107,17 @@ void CPhoneReconnectQuery::HandleTimeOutL() { __LOGMETHODSTARTEND( EPhoneControl, "CPhoneReconnectQuery::HandleTimeOutL( ) "); + + TPhoneCmdParamReconnectQuery reconQueryParam( *this ); + // Recipient number to CallUIs reconnect query in case message selected + TPtrC phoneNumber( CPhoneStateHandle::Instance()->StateMachine()-> + PhoneEngineInfo()->PhoneNumber() ); + reconQueryParam.SetPhoneNumber( phoneNumber ); + reconQueryParam.SetIncludeVideoOption( iIncludeVideo ); + // Display reconnect query + CPhoneStateHandle::Instance()->ViewCommandHandle()-> + ExecuteCommandL( EPhoneViewShowQuery, &reconQueryParam ); + iDisplayingQuery = ETrue; } // ----------------------------------------------------------- @@ -140,7 +155,7 @@ // CallUi launches message editor break; - default: + default: // Do nothing break; } @@ -157,7 +172,7 @@ TPhoneCmdParamBoolean booleanParam; booleanParam.SetBoolean( ETrue ); CPhoneStateHandle::Instance()->ViewCommandHandle()-> - ExecuteCommandL( EPhoneViewSetNumberEntryVisible, &booleanParam ); + ExecuteCommandL( EPhoneViewSetNumberEntryVisible, &booleanParam ); // Set Number Entry CBA TPhoneCmdParamInteger integerParam;