--- a/phoneapp/phoneuistates/src/cphoneerrormessageshandler.cpp Fri Jul 23 12:55:58 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphoneerrormessageshandler.cpp Fri Aug 06 13:16:44 2010 +0300
@@ -125,10 +125,9 @@
&globalNotifierParam );
TPhoneCmdParamGlobalNote globalNoteParam;
-
- globalNoteParam.SetType( EAknGlobalInformationNote );
-
- globalNoteParam.SetTone( EAvkonSIDInformationTone );
+ PhoneNotificationType type = aNotificationDialog ?
+ EPhoneNotificationDialog : EPhoneMessageBoxInformation;
+ globalNoteParam.SetType( type );
globalNoteParam.SetNotificationDialog( aNotificationDialog );
TInt resourceID( KErrNotFound );
@@ -177,9 +176,9 @@
&globalNotifierParam );
TPhoneCmdParamGlobalNote globalNoteParam;
- globalNoteParam.SetType( EAknGlobalErrorNote );
-
- globalNoteParam.SetTone( CAknNoteDialog::EErrorTone );
+ PhoneNotificationType type = aNotificationDialog ?
+ EPhoneNotificationDialog : EPhoneMessageBoxInformation;
+ globalNoteParam.SetType( type );
globalNoteParam.SetNotificationDialog( aNotificationDialog );
TInt resourceID( KErrNotFound );
@@ -228,9 +227,9 @@
&globalNotifierParam );
TPhoneCmdParamGlobalNote globalNoteParam;
- globalNoteParam.SetType( EAknGlobalWarningNote );
-
- globalNoteParam.SetTone( EAvkonSIDWarningTone );
+ PhoneNotificationType type = aNotificationDialog ?
+ EPhoneNotificationDialog : EPhoneMessageBoxInformation;
+ globalNoteParam.SetType( type );
globalNoteParam.SetNotificationDialog( aNotificationDialog );
TInt resourceID( KErrNotFound );