diff -r 15e4dd19031c -r a0713522ab97 idlefw/src/framework/aifw.cpp --- a/idlefw/src/framework/aifw.cpp Wed Mar 31 22:04:35 2010 +0300 +++ b/idlefw/src/framework/aifw.cpp Wed Apr 14 16:16:44 2010 +0300 @@ -32,7 +32,6 @@ #include #include -#include #include #include @@ -155,9 +154,6 @@ delete iNotifyHandlerESS; iNotifyHandlerESS = NULL; - - Release( iIdleRestartObserver ); - iIdleRestartObserver = NULL; delete iWsPluginManager; iWsPluginManager = NULL; @@ -243,10 +239,6 @@ CCenRepNotifyHandler::EIntKey, KAIExternalStatusScreen ); iNotifyHandlerESS->StartListeningL(); - - iIdleRestartObserver = AiUtility::CreatePSPropertyObserverL( - TCallBack( HandleRestartEvent, this ), - KPSUidAiInformation, KActiveIdleRestartAI2 ); __PRINTS( "*** CAiFw::AppEnvReadyL - done" ); } @@ -342,9 +334,6 @@ delete iWsPluginManager; iWsPluginManager = NULL; - Release( iIdleRestartObserver ); - iIdleRestartObserver = NULL; - iStateProvider->Stop(); } } @@ -498,30 +487,6 @@ } // ---------------------------------------------------------------------------- -// CAiFw::HandleRestartEvent() -// -// ---------------------------------------------------------------------------- -// -TInt CAiFw::HandleRestartEvent( TAny* aSelf ) - { - CAiFw* self = static_cast( aSelf ); - - TInt value( 0 ); - - if ( self->iIdleRestartObserver ) - { - TInt err( self->iIdleRestartObserver->Get( value ) ); - - if ( err == KErrNone && value == KActiveIdleRestartCode ) - { - self->iUiControllerManager->ExitMainController(); - } - } - - return KErrNone; - } - -// ---------------------------------------------------------------------------- // CAiFw::Repository() // // ----------------------------------------------------------------------------