vtuis/videotelui/src/commands/cvtuiprimarycmdpolicy.cpp
branchRCL_3
changeset 23 890b5dd735f8
parent 0 ed9695c8bcbe
equal deleted inserted replaced
22:f544d10663bf 23:890b5dd735f8
   437 #ifndef RD_BOOT_CUSTOMIZABLE_AI
   437 #ifndef RD_BOOT_CUSTOMIZABLE_AI
   438         result = !iAIEnabled;
   438         result = !iAIEnabled;
   439 #else
   439 #else
   440         // When RD_BOOT_CUSTOMIZABLE_AI is defined, active idle is always
   440         // When RD_BOOT_CUSTOMIZABLE_AI is defined, active idle is always
   441         // shown in menu
   441         // shown in menu
   442         result = EFalse;
   442         // result = EFalse;
       
   443         // disable the go to idle when autolock is on.
       
   444         result = iUiStates.IsDeviceLockOn();
   443 #endif //RD_BOOT_CUSTOMIZABLE_AI
   445 #endif //RD_BOOT_CUSTOMIZABLE_AI
   444         break;
   446         break;
   445 
   447 
   446     case EAknCmdHelp:
   448     case EAknCmdHelp:
   447     	{
   449     	{