equal
deleted
inserted
replaced
524 // --------------------------------------------------------------------------- |
524 // --------------------------------------------------------------------------- |
525 // Keyguard UI key events are handled trough here. |
525 // Keyguard UI key events are handled trough here. |
526 // --------------------------------------------------------------------------- |
526 // --------------------------------------------------------------------------- |
527 TKeyResponse CLockAppKeyguardControl::OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType ) |
527 TKeyResponse CLockAppKeyguardControl::OfferKeyEventL(const TKeyEvent& aKeyEvent, TEventCode aType ) |
528 { |
528 { |
529 RDebug::Printf( "%s %s (%u) aKeyEvent.iCode=%x aType=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, aKeyEvent.iCode, aType ); |
529 |
530 RDebug::Printf( "%s %s (%u) iActive=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iActive ); |
530 INFO_4( "%s %s (%u) iActive=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, iActive ); |
|
531 INFO_4( "%s (%u) aKeyEvent.iCode=%x aType=%x", __FILE__, __LINE__, aKeyEvent.iCode, aType ); |
|
532 |
531 if ( iActive ) |
533 if ( iActive ) |
532 { |
534 { |
533 if(AknLayoutUtils::PenEnabled()) |
535 if(AknLayoutUtils::PenEnabled()) |
534 { |
536 { |
535 if(aKeyEvent.iCode == EKeyDeviceF) // any Type |
537 if(aKeyEvent.iCode == EKeyDeviceF) // any Type |
549 break; |
551 break; |
550 case EPatternSecondaryMatch: |
552 case EPatternSecondaryMatch: |
551 iStateControl.DisableKeyguardL( ETrue ); |
553 iStateControl.DisableKeyguardL( ETrue ); |
552 break; |
554 break; |
553 default: |
555 default: |
554 RDebug::Printf( "%s %s (%u) default=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
556 INFO_4( "%s %s (%u) default=%x", __FILE__, __PRETTY_FUNCTION__, __LINE__, 1 ); |
555 break; |
557 break; |
556 } |
558 } |
557 } |
559 } |
558 } |
560 } |
559 return EKeyWasConsumed; |
561 return EKeyWasConsumed; |