emailuis/emailui/src/FreestyleEmailDownloadInformationMediator.cpp
branchRCL_3
changeset 17 67369d1b217f
parent 16 b5fbb9b25d57
child 18 6b8f3b30d0ec
--- a/emailuis/emailui/src/FreestyleEmailDownloadInformationMediator.cpp	Tue May 11 15:57:15 2010 +0300
+++ b/emailuis/emailui/src/FreestyleEmailDownloadInformationMediator.cpp	Tue May 25 12:23:16 2010 +0300
@@ -829,21 +829,8 @@
     // no close button pressed
     if (iStatus.Int() != EAknSoftkeyClose )
         {
-        // open attachment list
-        if ( iPopupLaunchData.iMessagePartId.IsNullId() )
-            {
-            TAttachmentListActivationData params;
-            params.iMailBoxId = iPopupLaunchData.iMailBoxId;
-            params.iFolderId = iPopupLaunchData.iFolderId;
-            params.iMessageId = iPopupLaunchData.iMessageId;
-            // use package buffer to pass the params
-            TPckgBuf<TAttachmentListActivationData> buf( params );
-            TUid emptyCustomMessageId = { 0 };
-            CFreestyleEmailUiAppUi* appUi = (CFreestyleEmailUiAppUi*)CCoeEnv::Static()->AppUi();
-            appUi->EnterFsEmailViewL( AttachmentMngrViewId, emptyCustomMessageId, buf );
-            }
         // open attachment
-        else
+        if ( !iPopupLaunchData.iMessagePartId.IsNullId() )
             {
             // Force FsEmailUI to foreground because global completion note may appear
             // while some other application is active and our local error notes are not shown