emailuis/emailui/src/FreestyleEmailUiViewBase.cpp
branchRCL_3
changeset 8 e1b6206813b4
parent 3 a4d6f1ea0416
child 10 f5907b1a1053
equal deleted inserted replaced
4:e7aa27f58ae1 8:e1b6206813b4
   108 
   108 
   109     // Finally call child classes activation method
   109     // Finally call child classes activation method
   110     TRAPD( error, ChildDoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage) );
   110     TRAPD( error, ChildDoActivateL(aPrevViewId, aCustomMessageId, aCustomMessage) );
   111     if ( !error )
   111     if ( !error )
   112         {
   112         {
       
   113         //view history have to be updated once again when email is sent to background when in plugin settings and composer is activated externaly
       
   114         //when composer view will be deactivated it wiil call NavigateBack;
       
   115         if (pluginSettingsActive && iAppUi.CurrentActiveView()->Id() == MailEditorId)
       
   116         	{
       
   117         	iAppUi.ReturnFromPluginSettingsView();
       
   118         	}
   113         // View activated succesfully. Change visible control group, but not
   119         // View activated succesfully. Change visible control group, but not
   114         // when application is being sent to background.
   120         // when application is being sent to background.
   115         if ( !iAppUi.SwitchingToBackground() )
   121         if ( !iAppUi.SwitchingToBackground() )
   116             {
   122             {
   117             DoTransition( EFalse );
   123             DoTransition( EFalse );
   435 // ---------------------------------------------------------------------------
   441 // ---------------------------------------------------------------------------
   436 //
   442 //
   437 void CFsEmailUiViewBase::HandleAppForegroundEventL( TBool aForeground )
   443 void CFsEmailUiViewBase::HandleAppForegroundEventL( TBool aForeground )
   438     {
   444     {
   439     FUNC_LOG;
   445     FUNC_LOG;
       
   446     HandleForegroundEventL(aForeground);    
   440     if ( aForeground )
   447     if ( aForeground )
   441         {
   448         {
   442         HandleForegroundEventL();
       
   443 
       
   444         // Activate control group in case the view was activated when
   449         // Activate control group in case the view was activated when
   445         // application was being sent to background, and the control group
   450         // application was being sent to background, and the control group
   446         // was left inactive.
   451         // was left inactive.
   447         if( iWasActiveControlGroup )
   452         if( iWasActiveControlGroup )
   448             {
   453             {
   554 	iKeyboardFlipOpen = aKeyboardFlipOpen;
   559 	iKeyboardFlipOpen = aKeyboardFlipOpen;
   555 	}
   560 	}
   556 
   561 
   557 // ---------------------------------------------------------------------------
   562 // ---------------------------------------------------------------------------
   558 //
   563 //
   559 void CFsEmailUiViewBase::HandleForegroundEventL()
   564 void CFsEmailUiViewBase::HandleForegroundEventL( TBool /*aForeground*/ )
   560     {
   565     {
   561     FUNC_LOG;
   566     FUNC_LOG;
   562     }
   567     }
   563 
   568 
   564 // ---------------------------------------------------------------------------
   569 // ---------------------------------------------------------------------------