securitydialogs/Autolock/src/AutoKeyguardObserver.cpp
changeset 19 098e361762d2
parent 15 318c4eab2439
--- a/securitydialogs/Autolock/src/AutoKeyguardObserver.cpp	Mon May 03 13:20:16 2010 +0300
+++ b/securitydialogs/Autolock/src/AutoKeyguardObserver.cpp	Fri May 14 16:43:26 2010 +0300
@@ -27,7 +27,7 @@
 #include <PSVariables.h>
 #include <startupdomainpskeys.h>
 #include <ctsydomainpskeys.h>
-#include <activeidle2domainpskeys.h>
+// #include <activeidle2domainpskeys.h>
 #include <coreapplicationuisdomainpskeys.h>
 // #include <ScreensaverInternalPSKeys.h>
 #include <hwrmdomainpskeys.h>
@@ -349,8 +349,8 @@
     
     //See whether we are in idle
  		value = 0;   
-    RProperty::Get(KPSUidAiInformation, KActiveIdleState, value);
-    idle = (value == EPSAiForeground);
+    // RProperty::Get(KPSUidAiInformation, KActiveIdleState, value);
+    // idle = (value == EPSAiForeground);
     idle = ETrue; // don't care about idle state. Phone should autolock on any UI, not only HomeSreeen.
     
     value = 0;