--- a/idlefw/src/framework/aistateprovider.cpp Tue Apr 27 16:57:49 2010 +0300
+++ b/idlefw/src/framework/aistateprovider.cpp Tue May 11 16:30:05 2010 +0300
@@ -251,8 +251,10 @@
void CAiStateProvider::NotifyEcomRegistryChanged()
{
__PRINTS( "CAiStateProvider::NotifyEcomRegistryChanged" );
+
iObserver.NotifyReloadPlugins();
- __PRINTS( "CAiStateProvider::NotifyEcomRegistryChanged - return void" );
+
+ __PRINTS( "CAiStateProvider::NotifyEcomRegistryChanged - done" );
}
// ----------------------------------------------------------------------------
@@ -260,10 +262,9 @@
//
// ----------------------------------------------------------------------------
//
-TInt CAiStateProvider::LoadPlugin( const THsPublisherInfo& aPublisherInfo,
- TAiFwLoadReason aReason )
+void CAiStateProvider::LoadPlugin( const TAiFwPublisherInfo& aInfo )
{
- return iObserver.NotifyLoadPlugin( aPublisherInfo, aReason );
+ iObserver.NotifyLoadPlugin( aInfo );
}
// ----------------------------------------------------------------------------
@@ -271,10 +272,9 @@
//
// ----------------------------------------------------------------------------
//
-void CAiStateProvider::DestroyPlugin( const THsPublisherInfo& aPublisherInfo,
- TAiFwDestroyReason aReason )
+void CAiStateProvider::DestroyPlugin( const TAiFwPublisherInfo& aInfo )
{
- iObserver.NotifyDestroyPlugin( aPublisherInfo, aReason );
+ iObserver.NotifyDestroyPlugin( aInfo );
}
// ----------------------------------------------------------------------------
@@ -328,12 +328,15 @@
{
CAiStateProvider* self = static_cast< CAiStateProvider* >( aAny );
- RArray<TUid> uidList;
- if ( KErrNone == Swi::GetAllUids( uidList ) )
+ RArray< TUid > list;
+
+ if ( Swi::GetAllUids( list ) == KErrNone )
{
- self->iObserver.NotifyReleasePlugins( uidList );
+ self->iObserver.NotifyReleasePlugins( list );
}
+ list.Reset();
+
return KErrNone;
}