idlehomescreen/widgetmanager/src/wmeffectmanager.cpp
branchRCL_3
changeset 17 b8fae6b8a148
parent 1 5315654608de
child 18 d05a55b217df
--- a/idlehomescreen/widgetmanager/src/wmeffectmanager.cpp	Mon Mar 15 12:39:47 2010 +0200
+++ b/idlehomescreen/widgetmanager/src/wmeffectmanager.cpp	Wed Mar 31 21:17:19 2010 +0300
@@ -126,6 +126,12 @@
         RemoveEffect( &aEffect );
         return;
         }
+    
+    // Must give some time before starting effect, because otherwise
+    // fullscreen effect may contain unwanted parts (dialog, note, etc.)
+    // which was shown when fullscreen effect is about to be started
+    iCoeEnv.WsSession().Finish();
+    User::After( 1000 );
 
     const TInt flags( AknTransEffect::TParameter::EActivateExplicitCancel );
     const TUid targetAppUid( iAvkonAppUi->Application()->AppDllUid() );