idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp
branchRCL_3
changeset 52 a1e3af341cc7
parent 47 7be2816dbabd
child 65 bffb1247ad6e
--- a/idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp	Tue May 25 12:29:32 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xneffectmanager.cpp	Tue Jun 01 13:56:29 2010 +0100
@@ -73,8 +73,10 @@
     CTimer::ConstructL();
     
     OrientationChanged();
-    
+
+#ifndef NO_ALF_OBSERVER    
     iObserver = CAlfEffectObserver::NewL();
+#endif
     }
 
 // -----------------------------------------------------------------------------
@@ -277,8 +279,13 @@
 //
 TBool CXnEffectManager::WaitActiveEffect( TInt aInterval )     
     {
+    if (iObserver == NULL)
+        {
+        return ETrue;
+        }
+
     TBool retval( EFalse );
-    
+    	
     TInt loop( aInterval / KWaitInterval );
     
     while ( loop >= 0 )