uiacceltk/hitchcock/plugins/alftranseffect/alftranseffectplugin/src/wsserverdrawercontroller.cpp
branchRCL_3
changeset 20 31fccae4f8a7
parent 19 e5af45d51884
equal deleted inserted replaced
19:e5af45d51884 20:31fccae4f8a7
   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 /////////////////////
       
   698 	if(aType == AknTransEffect::EParameterAvkonInternal)	
   697 	if(aType == AknTransEffect::EParameterAvkonInternal)	
   699 		{ 
   698 		{ 
   700 		const TUid appuid = aUid1;
   699 		const TUid appuid = aUid1;
   701 		if(appuid != KNullUid)
   700 		if(appuid != KNullUid)
   702 			{
   701 			{
   766 	//flag has to be set twice!	
   765 	//flag has to be set twice!	
   767 	if(flags & AknTransEffect::TParameter::EAvkonCheck)
   766 	if(flags & AknTransEffect::TParameter::EAvkonCheck)
   768 		{
   767 		{
   769 		if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
   768 		if(fstype == CStateHandler::EExit) //application will exit and avkon flags must be reset (otherwise
   770 		    {
   769 		    {
       
   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);
   775 			iAppInfoCache->SetAvkonUid(toUid);
   776 			iAppInfoCache->SetAvkonUid(toUid);
   776 		    }
   777 		    }
   777 		}
   778 		}
   778 		
   779 		
   779 // TODO: All control has been disabled as it seems to block too much,
   780 // TODO: All control has been disabled as it seems to block too much,
   818 	//Special argument calls does not initiate any FS effect and is caught here.
   819 	//Special argument calls does not initiate any FS effect and is caught here.
   819 	if(fstype == CStateHandler::ENone) 
   820 	if(fstype == CStateHandler::ENone) 
   820 		{
   821 		{
   821         __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - Special argument. Abort.");
   822         __ALFFXLOGSTRING("CWsServerDrawerController::BeginFullscreen - Special argument. Abort.");
   822 		return;
   823 		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;
   823 		}
   831 		}
   824 
   832 
   825 
   833 
   826 	//Phone is booting, stop any FS effect.
   834 	//Phone is booting, stop any FS effect.
   827 	if(!StartCheck(flags)) 
   835 	if(!StartCheck(flags))