satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp
changeset 31 a2467631ae02
parent 0 ff3b6d0fd310
child 45 61f927bc9441
--- a/satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp	Fri Jun 11 14:07:16 2010 +0300
+++ b/satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp	Wed Jun 23 18:49:32 2010 +0300
@@ -18,7 +18,8 @@
 
 #include    <startupdomainpskeys.h>
 #include    <PSVariables.h>
-#include    <activeidle2domainpskeys.h>
+#define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h
+#include    <homescreendomainpskeys.h>
 #include    <CommonEngineDomainCRKeys.h>
 #include    <BTSapDomainPSKeys.h>
 #include    <ProfileEngineSDKCRKeys.h>
@@ -61,10 +62,10 @@
         CreateIdleModeChangeNotifierL calling" )
 
     MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL(
-        KPSUidAiInformation,
-        KActiveIdleState,
+        KHsCategoryUid,
+        KHsCategoryStateKey,
         aObserver,
-        EPSAiForeground );
+        EHomeScreenIdleState );
 
     LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\
         CreateIdleModeChangeNotifierL exiting" )