--- a/idlefw/plugins/devicestatus/src/aicontentobserveroptimizer.cpp Wed Sep 15 12:32:36 2010 +0300
+++ b/idlefw/plugins/devicestatus/src/aicontentobserveroptimizer.cpp Wed Oct 13 14:53:46 2010 +0300
@@ -194,24 +194,7 @@
TInt aContent,
TInt aIndex )
{
- if ( IsInBlackList( aContent, aIndex ) )
- {
- return KErrNotFound;
- }
- TInt err = iObserver.Clean( aPlugin, aContent, aIndex );
- // Publish went through OK, we need to commit the transaction
- if ( err == KErrNone && iTransactionStarted )
- {
- iCommitNeeded = ETrue;
- }
- // publish failed because the ui declaration doesn't
- // include this content => add to black list and
- // don't try to publish again
- else if ( err == KErrNotFound || err == KErrNotSupported )
- {
- AddToBlackList( aContent, aIndex );
- }
- return err;
+ return iObserver.Clean( aPlugin, aContent, aIndex );
}
MAiContentObserver& CAiContentObserverOptimizer::Observer() const