--- a/phoneapp/phoneuistates/src/cphonesinglecall.cpp Tue May 25 12:41:50 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonesinglecall.cpp Wed Jun 09 09:41:11 2010 +0300
@@ -27,6 +27,7 @@
#include <connect/sbdefs.h>
#include <videotelcontrolmediatorapi.h>
#include <MediatorDomainUIDs.h>
+#include <ScreensaverInternalPSKeys.h>
#include "cphonesinglecall.h"
#include "tphonecmdparamstring.h"
@@ -114,6 +115,10 @@
iCallId = callStateData.CallId();
iViewCommandHandle->ExecuteCommandL( EPhoneViewSetHoldFlag, &holdFlag );
+ CPhonePubSubProxy::Instance()->ChangePropertyValue(
+ KPSUidScreenSaver,
+ KScreenSaverAllowScreenSaver,
+ EPhoneScreensaverAllowed );
// Update phone number availability for menu use
PhoneNumberAvailableInPhoneEngineL( callStateData.CallId() );
@@ -494,6 +499,11 @@
__LOGMETHODSTARTEND( EPhoneUIStates,
"CPhoneSingleCall::HandleIncomingL()");
+ CPhonePubSubProxy::Instance()->ChangePropertyValue(
+ KPSUidScreenSaver,
+ KScreenSaverAllowScreenSaver,
+ EPhoneScreensaverNotAllowed );
+
BeginUiUpdateLC();
// Hide the number entry if it exists
@@ -608,6 +618,11 @@
__LOGMETHODSTARTEND( EPhoneUIStates,
"CPhoneSingleCall::HandleDiallingL()");
+ CPhonePubSubProxy::Instance()->ChangePropertyValue(
+ KPSUidScreenSaver,
+ KScreenSaverAllowScreenSaver,
+ EPhoneScreensaverNotAllowed );
+
BeginUiUpdateLC();
SetNumberEntryVisibilityL(EFalse);