diff -r 8957df7b0072 -r 098e361762d2 securitydialogs/Autolock/src/AutoKeyguardObserver.cpp --- 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 #include #include -#include +// #include #include // #include #include @@ -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;