--- a/phoneapp/phoneuistates/src/cphoneemergency.cpp Wed Jun 23 18:12:20 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphoneemergency.cpp Tue Jul 06 14:15:47 2010 +0300
@@ -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"
@@ -221,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();
@@ -349,6 +355,10 @@
EPhoneViewSetGlobalNotifiersDisabled,
&globalNotifierParam );
+ TPhoneCmdParamKeyCapture captureParam;
+ captureParam.SetKeyCode( EKeyNo );
+ iViewCommandHandle->ExecuteCommand( EPhoneViewStartCapturingKey, &captureParam );
+
// Capture keys when the phone is dialling
CaptureKeysDuringCallNotificationL( ETrue );
@@ -585,7 +595,7 @@
if ( neLength )
{
// Show not allowed note
- SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed );
+ SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue );
}
else
{
@@ -596,7 +606,7 @@
else
{
// Show not allowed note
- SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed );
+ SendGlobalErrorNoteL( EPhoneNoteTextNotAllowed, ETrue );
}
break;
@@ -817,7 +827,8 @@
iStateMachine->PhoneEngineInfo()->AudioOutput();
UpdateSetupCbaL();
-
+ SetTouchPaneButtons(0);
+
// view update
outputParam.SetAudioOutput( audioOutput );
iViewCommandHandle->ExecuteCommandL( EPhoneViewActivateAudioPathUIChanges,