src/screensaverappui.cpp
branchRCL_3
changeset 14 d8eca2b0590d
parent 11 4784a3bc2236
equal deleted inserted replaced
12:0bfd55b8504e 14:d8eca2b0590d
   136 
   136 
   137     if ( !iView )
   137     if ( !iView )
   138         {
   138         {
   139         return EKeyWasConsumed;
   139         return EKeyWasConsumed;
   140         }
   140         }
   141     iModel->NotifyKeyEventReceived();
       
   142 
   141 
   143     if ( aType == EEventKey && aKeyEvent.iCode == EKeyNo )
   142     if ( aType == EEventKey && aKeyEvent.iCode == EKeyNo )
   144         {
   143         {
   145         stop = ETrue;
   144         stop = ETrue;
   146         }
   145         }
   153                 stop = ETrue;
   152                 stop = ETrue;
   154                 }
   153                 }
   155             }
   154             }
   156         else
   155         else
   157             {
   156             {
   158             if ( aType == EEventKeyUp )
   157             if ( aType == EEventKeyUp && 
       
   158                  !iModel->SharedDataInterface()->IsKeyguardOn() )
   159                 {
   159                 {
   160                 //stop = ETrue;
   160                 stop = ETrue;
   161                 }
   161                 }
   162             }
   162             }
   163         }
   163         }
   164 
   164 
   165     if ( stop )
   165     if ( stop )