--- a/phoneapp/phoneuistates/src/cphoneemergency.cpp Tue Jun 15 14:14:38 2010 +0100
+++ b/phoneapp/phoneuistates/src/cphoneemergency.cpp Thu Jul 22 16:33:21 2010 +0100
@@ -31,6 +31,7 @@
#include "tphonecmdparamboolean.h"
#include "tphonecmdparamemergencycallheaderdata.h"
#include "tphonecmdparamcallheaderdata.h"
+#include "tphonecmdparamkeycapture.h"
#include "mphonestatemachine.h"
#include "phonestatedefinitionsgsm.h"
#include "phoneviewcommanddefinitions.h"
@@ -182,6 +183,10 @@
}
}
break;
+
+ case MEngineMonitor::EPEMessageColpNumberAvailable:
+ //Don't show COLP note during emergency call.
+ break;
default:
CPhoneGsmInCall::HandlePhoneEngineMessageL(
@@ -217,6 +222,11 @@
iViewCommandHandle->ExecuteCommandL( EPhoneViewRemoveNote );
// Close menu bar, if it is displayed
iViewCommandHandle->ExecuteCommandL( EPhoneViewMenuBarClose );
+
+ TPhoneCmdParamKeyCapture captureParam;
+ captureParam.SetKeyCode( EKeyNo );
+ iViewCommandHandle->ExecuteCommand(
+ EPhoneViewStopCapturingKey, &captureParam );
const TBool isSimStateNotPresentWithSecurityMode = IsSimStateNotPresentWithSecurityModeEnabled();
@@ -345,6 +355,10 @@
EPhoneViewSetGlobalNotifiersDisabled,
&globalNotifierParam );
+ TPhoneCmdParamKeyCapture captureParam;
+ captureParam.SetKeyCode( EKeyNo );
+ iViewCommandHandle->ExecuteCommand( EPhoneViewStartCapturingKey, &captureParam );
+
// Capture keys when the phone is dialling
CaptureKeysDuringCallNotificationL( ETrue );
@@ -581,7 +595,7 @@
if ( neLength )
{
// Show not allowed note
- SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed );
+ SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue );
}
else
{
@@ -592,7 +606,7 @@
else
{
// Show not allowed note
- SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed );
+ SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue );
}
break;
@@ -709,7 +723,7 @@
case ECCPErrorCCNoChannelAvailable:
case ECCPErrorNetworkBusy:
case ECCPEmergencyFailed:
- SendGlobalErrorNoteL( EPhoneNoteNoNetworkCallEmergency );
+ SendGlobalErrorNoteL( EPhoneNoteNoNetworkCallEmergency, ETrue );
break;
default:
@@ -813,7 +827,8 @@
iStateMachine->PhoneEngineInfo()->AudioOutput();
UpdateSetupCbaL();
-
+ SetTouchPaneButtons(0);
+
// view update
outputParam.SetAudioOutput( audioOutput );
iViewCommandHandle->ExecuteCommandL( EPhoneViewActivateAudioPathUIChanges,