diff -r 5a93021fdf25 -r 40cb640ef159 connectionutilities/ConnectionDialogs/cconndlg/src/SelectExplicitDialog.cpp --- a/connectionutilities/ConnectionDialogs/cconndlg/src/SelectExplicitDialog.cpp Thu Dec 17 08:55:21 2009 +0200 +++ b/connectionutilities/ConnectionDialogs/cconndlg/src/SelectExplicitDialog.cpp Thu Jan 07 12:56:54 2010 +0200 @@ -206,28 +206,18 @@ TKeyResponse CSelectExplicitDialog::OfferKeyEventL( const TKeyEvent& aKeyEvent, TEventCode aType) { - if( NeedToDismissQueryL(aKeyEvent) ) + if( aType == EEventKey && aKeyEvent.iCode == EKeyPhoneSend ) { - return EKeyWasConsumed; - } - - return CAknListQueryDialog::OfferKeyEventL(aKeyEvent,aType); - } - -// --------------------------------------------------------- -// CSelectExplicitDialog::NeedToDismissQueryL -// --------------------------------------------------------- -// -TBool CSelectExplicitDialog::NeedToDismissQueryL(const TKeyEvent& aKeyEvent) - { - if (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 ); + } void CSelectExplicitDialog::HandleTimedOut() {