diff -r 7d48bed6ce0c -r 987c9837762f phonesrv_plat/call_information_api/tsrc/src/CPhoneEngineCreator.cpp --- a/phonesrv_plat/call_information_api/tsrc/src/CPhoneEngineCreator.cpp Tue Aug 31 15:45:17 2010 +0300 +++ b/phonesrv_plat/call_information_api/tsrc/src/CPhoneEngineCreator.cpp Wed Sep 01 12:15:03 2010 +0100 @@ -17,7 +17,8 @@ #include "CPhoneEngineCreator.h" #include -#include +#include +#include #include "CPEMessageWaiter.h" @@ -58,7 +59,16 @@ MEngineMonitor::EPEMessagePEConstructionReady, 40 ); } - + + // No error checking here because this will succeed only once when this is called. The RProperty::Set will + // fail, if this call is not successfull at all. + RProperty::Define( + KPSUidAiInformation, + KActiveIdleState, + RProperty::EInt ); + + User::LeaveIfError( RProperty::Set( KPSUidAiInformation, KActiveIdleState, EPSAiForeground ) ); + return pEif; }