diff -r 5a93021fdf25 -r 40cb640ef159 connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ConfirmationQuery.cpp --- a/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ConfirmationQuery.cpp Thu Dec 17 08:55:21 2009 +0200 +++ b/connectionutilities/ConnectionDialogs/ConnectionUiUtilities/NotifSrc/ConfirmationQuery.cpp Thu Jan 07 12:56:54 2010 +0200 @@ -125,20 +125,24 @@ } // --------------------------------------------------------- -// CConfirmationQuery::NeedToDismissQueryL +// CConfirmationQuery::OfferKeyEventL // --------------------------------------------------------- // -TBool CConfirmationQuery::NeedToDismissQueryL(const TKeyEvent& aKeyEvent) +TKeyResponse CConfirmationQuery::OfferKeyEventL( const TKeyEvent& aKeyEvent, + TEventCode aType) { - if (aKeyEvent.iCode == EKeyPhoneSend) + if( aType == EEventKey && aKeyEvent.iCode == EKeyPhoneSend ) { - TryExitL(EEikBidCancel); - return ETrue; + // Let's not obscure the Dialer in the background + if ( iExpiryTimer ) + { + iExpiryTimer->Cancel(); + iExpiryTimer->StartShort(); + } } - - return EFalse; - } - + + return CAknListQueryDialog::OfferKeyEventL( aKeyEvent,aType ); + } // --------------------------------------------------------- // CConfirmationQuery::SetChoices