--- a/phonebookui/Phonebook2/GroupExtension/src/CPguSendMessageGroupCmd.cpp Wed Sep 01 12:29:52 2010 +0100
+++ b/phonebookui/Phonebook2/GroupExtension/src/CPguSendMessageGroupCmd.cpp Tue Sep 14 20:54:53 2010 +0300
@@ -25,7 +25,7 @@
#include <MPbk2ContactNameFormatter.h>
#include <MPbk2ContactUiControl.h>
#include <MPbk2CommandObserver.h>
-#include <Pbk2UIControls.rsg>
+#include <pbk2uicontrols.rsg>
#include <TPbk2AddressSelectParams.h>
#include <CPbk2AddressSelect.h>
#include <MPbk2AppUi.h>
@@ -380,9 +380,14 @@
sp->ControlL( TUid::Uid( EEikStatusPaneUidTitle ) ) );
title = titlePane->Text()->AllocLC();
- Phonebook2::Pbk2AppUi()->ApplicationServices().SendUiL()->
- CreateAndSendMessageL( iMtmUid, iMessageData );
+ TRAPD( error, Phonebook2::Pbk2AppUi()->ApplicationServices().SendUiL()->
+ CreateAndSendMessageL( iMtmUid, iMessageData ) );
+ if ( error )
+ {
+ //Show Appropriate Error Note
+
+ }
if( !Layout_Meta_Data::IsLandscapeOrientation() )
{
sp->SwitchLayoutL( R_AVKON_STATUS_PANE_LAYOUT_USUAL );