--- a/connectionutilities/ConnectionDialogs/cconndlg/src/IAPDialog.cpp Thu Dec 17 08:55:21 2009 +0200
+++ b/connectionutilities/ConnectionDialogs/cconndlg/src/IAPDialog.cpp Thu Jan 07 12:56:54 2010 +0200
@@ -256,6 +256,26 @@
CLOG_LEAVEFN( "CIapDialog::RefreshDialogL " );
}
+// ---------------------------------------------------------
+// CIapDialog::OfferKeyEventL
+// ---------------------------------------------------------
+//
+TKeyResponse CIapDialog::OfferKeyEventL( const TKeyEvent& aKeyEvent,
+ TEventCode aType)
+ {
+ if( aType == EEventKey && aKeyEvent.iCode == EKeyPhoneSend )
+ {
+ // Let's not obscure the Dialer in the background
+ if ( iExpiryTimer )
+ {
+ iExpiryTimer->Cancel();
+ iExpiryTimer->StartShort();
+ }
+ }
+
+ return CAknListQueryDialog::OfferKeyEventL( aKeyEvent,aType );
+ }
+
void CIapDialog::HandleTimedOut()
{
TRAP_IGNORE( TryExitL(EAknSoftkeyCancel) );