phoneapp/phoneuicontrol/src/cphonenumberentrymanager.cpp
changeset 21 92ab7f8d0eab
parent 0 5f000ab63145
child 22 6bb1b21d2484
--- a/phoneapp/phoneuicontrol/src/cphonenumberentrymanager.cpp	Tue Feb 02 00:10:04 2010 +0200
+++ b/phoneapp/phoneuicontrol/src/cphonenumberentrymanager.cpp	Fri Mar 19 09:28:42 2010 +0200
@@ -17,7 +17,9 @@
 
 
 #include <StringLoader.h>
-#include <activeidle2domainpskeys.h>
+// <-- QT PHONE START --> 
+//#include <activeidle2domainpskeys.h>
+// <-- QT PHONE END --> 
 #include <featmgr.h>
 #include <eikenv.h>
 
@@ -224,15 +226,18 @@
     {
     __LOGMETHODSTARTEND( EPhoneControl, "CPhoneNumberEntryManager::HandleCreateNumberEntryL() ");
     
-    const TBool autoLcokOn = iState->IsAutoLockOn();
-    const TBool idleVal = CPhonePubSubProxy::Instance()->Value( KPSUidAiInformation, KActiveIdleState );
+     const TBool autoLcokOn = iState->IsAutoLockOn();
+// <-- QT PHONE START --> 
+    const TBool idleVal = false;
+    //const TBool idleVal = CPhonePubSubProxy::Instance()->Value( KPSUidAiInformation, KActiveIdleState );
     const TBool queryActive = iState->IsAnyQueryActiveL();
     const TBool menuBarVisible = iState->IsMenuBarVisibleL();
     
     if( autoLcokOn || 
-        ( idleVal == EPSAiForeground ) ||
+        ( idleVal /*== EPSAiForeground*/ ) ||
         ( menuBarVisible || queryActive ) )
         {
+// <-- QT PHONE END -->         
         __PHONELOG( EBasic, EPhoneControl, 
              "CPhoneNumberEntryManager::HandleCreateNumberEntryL() NE NOT CREATED" );
         __PHONELOG2( EBasic, EPhoneControl,