uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp
branchRCL_3
changeset 19 e5af45d51884
parent 18 1801340c26a2
child 20 31fccae4f8a7
equal deleted inserted replaced
18:1801340c26a2 19:e5af45d51884
   692 		{
   692 		{
   693 		iLogger->Log1(_L("CWsServerDrawerController::BeginFullscreen time %d"), iLogger->TimeMs());
   693 		iLogger->Log1(_L("CWsServerDrawerController::BeginFullscreen time %d"), iLogger->TimeMs());
   694 		}
   694 		}
   695 #endif //WSSERVERDRAWER_TIME_LOG
   695 #endif //WSSERVERDRAWER_TIME_LOG
   696 
   696 
       
   697 /////////////////////
   697 	if(aType == AknTransEffect::EParameterAvkonInternal)	
   698 	if(aType == AknTransEffect::EParameterAvkonInternal)	
   698 		{ 
   699 		{ 
   699 		const TUid appuid = aUid1;
   700 		const TUid appuid = aUid1;
   700 		if(appuid != KNullUid)
   701 		if(appuid != KNullUid)
   701 			{
   702 			{
   765 	//flag has to be set twice!	
   766 	//flag has to be set twice!	
   766 	if(flags & AknTransEffect::TParameter::EAvkonCheck)
   767 	if(flags & AknTransEffect::TParameter::EAvkonCheck)
   767 		{
   768 		{
   768 		if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
   769 		if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
   769 		    {
   770 		    {
   770 		    __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Removing 0x%x Avkon app status", toUid);
       
   771 			iAppInfoCache->RemoveAvkonUid(toUid); //repeating calls may allow check pass
   771 			iAppInfoCache->RemoveAvkonUid(toUid); //repeating calls may allow check pass
   772 		    }
   772 		    }
   773 		else
   773 		else
   774 		    {
   774 		    {
   775 		    __ALFFXLOGSTRING1("CWsServerDrawerController::BeginFullscreen - Inserting 0x%x as app status", toUid);
       
   776 			iAppInfoCache->SetAvkonUid(toUid);
   775 			iAppInfoCache->SetAvkonUid(toUid);
   777 		    }
   776 		    }
   778 		}
   777 		}
   779 		
   778 		
   780 // TODO: All control has been disabled as it seems to block too much,
   779 // TODO: All control has been disabled as it seems to block too much,
   819 	//Special argument calls does not initiate any FS effect and is caught here.
   818 	//Special argument calls does not initiate any FS effect and is caught here.
   820 	if(fstype == CStateHandler::ENone) 
   819 	if(fstype == CStateHandler::ENone) 
   821 		{
   820 		{
   822         __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - Special argument. Abort.");
   821         __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - Special argument. Abort.");
   823 		return;
   822 		return;
   824 		}
       
   825 
       
   826 	if (aType == AknTransEffect::EParameterAvkonInternal && iEngine->Action() == AknTransEffect::EAppStartupBackground)
       
   827 		{
       
   828         // skip the effect, as promised earlier...
       
   829         __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - EAppStartupBackground -> Skip effect. Return");
       
   830         return;
       
   831 		}
   823 		}
   832 
   824 
   833 
   825 
   834 	//Phone is booting, stop any FS effect.
   826 	//Phone is booting, stop any FS effect.
   835 	if(!StartCheck(flags)) 
   827 	if(!StartCheck(flags))