idlehomescreen/xmluirendering/uiengine/src/xnviewmanager.cpp
branchRCL_3
changeset 34 d05a55b217df
parent 30 b8fae6b8a148
child 38 79311d856354
--- a/idlehomescreen/xmluirendering/uiengine/src/xnviewmanager.cpp	Wed Mar 31 21:17:19 2010 +0300
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnviewmanager.cpp	Wed Apr 14 15:47:59 2010 +0300
@@ -277,9 +277,7 @@
 // -----------------------------------------------------------------------------
 //
 CXnViewManager::~CXnViewManager()
-    {
-    delete iUiStartupPhase;
-    
+    {        
     delete iStabilityTimer;
     
     iObservers.Reset();
@@ -304,33 +302,6 @@
     }
 
 // -----------------------------------------------------------------------------
-// CXnViewManager::PropertyChangedL()
-// 
-// -----------------------------------------------------------------------------
-//
-void CXnViewManager::PropertyChangedL( const TUint32 aKey, const TInt aValue )
-    {
-    if ( aKey == KPSStartupUiPhase && aValue == EStartupUiPhaseAllDone )
-        {
-	    iUiStartupPhaseAllDone = ETrue;
-				
-        iAppUiAdapter.ViewAdapter().ActivateContainerL( ActiveViewData() );    
-        }
-    
-    iUiStartupPhaseAllDone = ETrue;
-    }
-
-// -----------------------------------------------------------------------------
-// CXnViewManager::UiStartupPhaseAllDone()
-// 
-// -----------------------------------------------------------------------------
-//
-TBool CXnViewManager::UiStartupPhaseAllDone() const
-    {
-    return iUiStartupPhaseAllDone;        
-    }
-    
-// -----------------------------------------------------------------------------
 // CXnViewManager::ConstructL()
 // 2nd phase constructor
 // -----------------------------------------------------------------------------
@@ -374,14 +345,8 @@
            
     CleanupStack::PopAndDestroy(); // DisableRenderUiLC();
     
-    // Determine UI startup phase
-    delete iUiStartupPhase;
-    iUiStartupPhase = NULL;
-    
-    iUiStartupPhaseAllDone = EFalse;
-                   
-    iUiStartupPhase = CXnPropertySubscriber::NewL( 
-        KPSUidStartup, KPSStartupUiPhase, *this );
+    // Activate initial view already here to get publishers loaded        
+    ActiveViewData().SetActive( ETrue );    
     }
 
 // -----------------------------------------------------------------------------