--- a/phoneapp/phoneuistates/src/cphonetwosingles.cpp Tue May 25 12:41:50 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonetwosingles.cpp Wed Jun 09 09:41:11 2010 +0300
@@ -17,6 +17,7 @@
// INCLUDES
+#include <ScreensaverInternalPSKeys.h>
#include <eikmenub.h>
#include <eikenv.h>
#include <StringLoader.h>
@@ -39,6 +40,7 @@
#include "tphonecmdparamcallstatedata.h"
#include "phonestatedefinitionsgsm.h"
#include "phonelogger.h"
+#include "cphonepubsubproxy.h"
// ================= MEMBER FUNCTIONS =======================
@@ -78,6 +80,11 @@
globalNotifierParam.SetBoolean( EFalse );
iViewCommandHandle->ExecuteCommandL( EPhoneViewSetGlobalNotifiersDisabled,
&globalNotifierParam );
+
+ CPhonePubSubProxy::Instance()->ChangePropertyValue(
+ KPSUidScreenSaver,
+ KScreenSaverAllowScreenSaver,
+ EPhoneScreensaverAllowed );
}
// -----------------------------------------------------------
@@ -389,6 +396,11 @@
__LOGMETHODSTARTEND( EPhoneUIStates,
"CPhoneTwoSingles::HandleIncomingL()");
+ CPhonePubSubProxy::Instance()->ChangePropertyValue(
+ KPSUidScreenSaver,
+ KScreenSaverAllowScreenSaver,
+ EPhoneScreensaverNotAllowed );
+
BeginUiUpdateLC();
// Hide the number entry if it exists