uifw/AvKon/src/AknViewAppUi.cpp
branchRCL_3
changeset 12 941195f2d488
parent 10 3d340a0166ff
child 13 a8834a2e9a96
--- a/uifw/AvKon/src/AknViewAppUi.cpp	Tue May 11 16:27:42 2010 +0300
+++ b/uifw/AvKon/src/AknViewAppUi.cpp	Tue May 25 12:58:19 2010 +0300
@@ -47,8 +47,6 @@
 // CONSTANTS
 const TInt KAknAppUiViewsGranularity = 1;
 const TInt KAknViewAsyncPriority = EActivePriorityRedrawEvents + 10;
-const TUid KCRUidThemes = { 0x102818E8 }; // defined in pslninternalcrkeys.h
-const TUint32 KThemesTransitionEffects = 0x00000009; //defined in pslninternalcrkeys.h
 
 
 #ifdef RD_SPLIT_VIEW
@@ -236,26 +234,12 @@
 	iExtension->iNavigator = new ( ELeave ) CAknViewNavigator( this );
 	AddToStackL( iExtension->iNavigator, ECoeStackPriorityDefault - 1, ECoeStackFlagRefusesFocus );
 #endif // RD_SPLIT_VIEW
-	
-	
-	// disable CAknLocalScreenClearer when fullscreen effect is on
-	CRepository *uiThemeCenRep =  CRepository::NewL( KCRUidThemes );
-	CleanupStack::PushL( uiThemeCenRep );
-	TInt effectValue = 0;
-	TBool themeEffectDisabled = ETrue;
-	if ( KErrNone == uiThemeCenRep->Get( KThemesTransitionEffects, effectValue ) )
-        {
-        themeEffectDisabled = effectValue & AknTransEffect::EFullScreenTransitionsOff;
-        }
 
 	if ( iEikonEnv->RootWin().OrdinalPosition() == 0 && // only clear the window for foreground apps
-	     iExtension->iUseDefaultScreenClearer && themeEffectDisabled )
+	     iExtension->iUseDefaultScreenClearer )
 		{
 		iClearer = CAknLocalScreenClearer::NewL( ETrue );
 		}
-	
-	CleanupStack::PopAndDestroy( uiThemeCenRep ); // uiThemeCenRep
-	
 	}
 
 // -----------------------------------------------------------------------------