diff -r 7d48bed6ce0c -r 987c9837762f satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp --- a/satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp Tue Aug 31 15:45:17 2010 +0300 +++ b/satengine/SatServer/SystemState/src/TSatSystemStateFactory.cpp Wed Sep 01 12:15:03 2010 +0100 @@ -15,13 +15,13 @@ * */ + #include #include -#define Q_OS_SYMBIAN // needed to activate homescreendomainpskeys.h -#include +#include #include #include -#include +#include #include "TSatSystemStateFactory.h" #include "CSatSystemState.h" #include "msatmultimodeapi.h" @@ -29,6 +29,7 @@ #include "CSatCenRepChangeNotifier.h" #include "SatLog.h" + // ======== MEMBER FUNCTIONS ======== // ----------------------------------------------------------------------------- @@ -60,10 +61,10 @@ CreateIdleModeChangeNotifierL calling" ) MSatSystemStateChangeNotifier* ret = CSatPSChangeNotifier::NewL( - KHsCategoryUid, - KHsCategoryStateKey, + KPSUidAiInformation, + KActiveIdleState, aObserver, - EHomeScreenIdleState ); + EPSAiForeground ); LOG( SIMPLE, "SATSYSTEMSTATE: TSatSystemStateFactory::\ CreateIdleModeChangeNotifierL exiting" ) @@ -170,8 +171,8 @@ CreateProfileChangeNotifierL calling" ) MSatSystemStateChangeNotifier* ret = CSatCenRepChangeNotifier::NewL( - KCRUidCoreApplicationUIs, - KCoreAppUIsNetworkConnectionAllowed, + KCRUidProfileEngine, + KProEngActiveProfile, aObserver, CSatCenRepChangeNotifier::ECRTypeInteger );