phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp
changeset 53 22cc52eade9b
parent 50 377c906a8701
child 65 2a5d4ab426d3
--- a/phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp	Fri Jul 23 12:55:58 2010 +0300
+++ b/phoneapp/phoneuistates/src/cphonegeneralgsmmessageshandler.cpp	Fri Aug 06 13:16:44 2010 +0300
@@ -202,12 +202,13 @@
             &globalNotifierParam );
             
         TPhoneCmdParamGlobalNote globalNoteParam;
+        PhoneNotificationType type = aNotificationDialog ? 
+                EPhoneNotificationDialog : EPhoneMessageBoxInformation;
+        globalNoteParam.SetType( type );
       
-        globalNoteParam.SetType( EAknGlobalInformationNote );
         globalNoteParam.SetTextResourceId( 
             CPhoneMainResourceResolver::Instance()->
             ResolveResourceID( aResourceId ) );
-        globalNoteParam.SetTone( EAvkonSIDInformationTone );
         globalNoteParam.SetNotificationDialog( aNotificationDialog );
 
         iViewCommandHandle.ExecuteCommandL( 
@@ -249,11 +250,12 @@
             &globalNotifierParam );
             
         TPhoneCmdParamGlobalNote globalNoteParam;
-        globalNoteParam.SetType( EAknGlobalErrorNote );
+        PhoneNotificationType type = aNotificationDialog ? 
+                EPhoneNotificationDialog : EPhoneMessageBoxInformation;
+        globalNoteParam.SetType( type );
         globalNoteParam.SetTextResourceId( 
             CPhoneMainResourceResolver::Instance()->
             ResolveResourceID( aResourceId ) );
-        globalNoteParam.SetTone( CAknNoteDialog::EErrorTone );
         globalNoteParam.SetNotificationDialog( aNotificationDialog );
         
         iViewCommandHandle.ExecuteCommandL(