diff -r ac77f89b1d9e -r 4917f9bf7995 widgets/widgetapp/src/WidgetUiWindowManager.cpp --- a/widgets/widgetapp/src/WidgetUiWindowManager.cpp Wed Apr 14 17:06:56 2010 +0300 +++ b/widgets/widgetapp/src/WidgetUiWindowManager.cpp Tue Apr 27 17:46:17 2010 +0300 @@ -46,6 +46,11 @@ #include #include +#ifdef BRDO_MULTITOUCH_ENABLED_FF +#include +#include +#endif + #ifdef BRDO_OCC_ENABLED_FF #include #endif @@ -346,6 +351,9 @@ { // If we don't have window we know that WidgetUI has died // We must enable miniview state +#ifdef BRDO_MULTITOUCH_ENABLED_FF + GfxTransEffect::BeginFullScreen(AknTransEffect::EApplicationStart,TRect(0,0,0,0),AknTransEffect::EParameterType,AknTransEffect::GfxTransParam(TUid::Uid(KWidgetAppUid))); +#endif if( !GetWindow(aUid)) { needToNotify = EFalse; @@ -355,6 +363,9 @@ //WidgetLauncher modified to bring app to foreground GetWindow( aUid)->IncrementClickCount(); OpenOrCreateWindowL( aUid, LaunchFullscreen ); +#ifdef BRDO_MULTITOUCH_ENABLED_FF + GfxTransEffect::EndFullScreen(); +#endif } break; case WidgetOnline: @@ -801,7 +812,9 @@ #ifdef BRDO_WRT_HS_FF iCpsPublisher->ClearScreenshotL(*(GetWindow(aUid )->WidgetBundleId()), aUid.iUid); #endif - +#ifdef BRDO_MULTITOUCH_ENABLED_FF + GfxTransEffect::BeginFullScreen(AknTransEffect::EApplicationExit,TRect(0,0,0,0),AknTransEffect::EParameterType,AknTransEffect::GfxTransParam(TUid::Uid(KWidgetAppUid))); +#endif // make widgets act like separate applications by pushing to background // this way user is sent back to app shell or idle to run another widget iAppUi.SendAppToBackground();