uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp
branchRCL_3
changeset 52 31fccae4f8a7
parent 51 e5af45d51884
--- a/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp	Tue Aug 31 16:07:35 2010 +0300
+++ b/uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp	Wed Sep 01 12:16:53 2010 +0100
@@ -694,7 +694,6 @@
 		}
 #endif //WSSERVERDRAWER_TIME_LOG
 
-/////////////////////
 	if(aType == AknTransEffect::EParameterAvkonInternal)	
 		{ 
 		const TUid appuid = aUid1;
@@ -768,10 +767,12 @@
 		{
 		if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
 		    {
+		    __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Removing 0x%x Avkon app status", toUid);
 			iAppInfoCache->RemoveAvkonUid(toUid); //repeating calls may allow check pass
 		    }
 		else
 		    {
+		    __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Inserting 0x%x as app status", toUid);
 			iAppInfoCache->SetAvkonUid(toUid);
 		    }
 		}
@@ -822,6 +823,13 @@
 		return;
 		}
 
+	if (aType == AknTransEffect::EParameterAvkonInternal && iEngine->Action() == AknTransEffect::EAppStartupBackground)
+		{
+        // skip the effect, as promised earlier...
+        __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - EAppStartupBackground -> Skip effect. Return");
+        return;
+		}
+
 
 	//Phone is booting, stop any FS effect.
 	if(!StartCheck(flags))