diff -r 5cc91383ab1e -r 7333d7932ef7 iaupdate/IAD/backgroundchecker/src/iaupdatebgmain.cpp --- a/iaupdate/IAD/backgroundchecker/src/iaupdatebgmain.cpp Thu Aug 19 10:02:49 2010 +0300 +++ b/iaupdate/IAD/backgroundchecker/src/iaupdatebgmain.cpp Tue Aug 31 15:21:33 2010 +0300 @@ -26,7 +26,6 @@ // LOCAL FUNCTION PROTOTYPES LOCAL_C TInt ThreadStartL(); LOCAL_C TBool IAUpdateEnabledL(); -LOCAL_C void RemoveExistingSoftNotificationL(); //Const _LIT( KBackgroundChecker, "iaupdatebgchecker" ); @@ -70,7 +69,6 @@ if ( !IAUpdateEnabledL() ) { FLOG("[bgchecker] ThreadStartL() IAUpdate not enabled"); - RemoveExistingSoftNotificationL(); return KErrNone; } TFullName name; @@ -110,7 +108,7 @@ } // --------------------------------------------------------------------------- -// IAUpdateEnabledL() +// IAUpdateEnabledL() // --------------------------------------------------------------------------- // LOCAL_C TBool IAUpdateEnabledL() @@ -138,24 +136,5 @@ return enabled; } -// --------------------------------------------------------------------------- -// RemoveExistingSoftNotificationL() -// --------------------------------------------------------------------------- -// -LOCAL_C void RemoveExistingSoftNotificationL() - { - FLOG("[bgchecker] RemoveExistingSoftNotificationL() begin"); - - CIAUpdateBGInternalFileHandler* internalFile = CIAUpdateBGInternalFileHandler::NewLC(); - CIAUpdateBGSoftNotification* softNotification = CIAUpdateBGSoftNotification::NewL( NULL, internalFile ); - CleanupStack::PushL( softNotification ); - softNotification->RemoveSoftNotificationL( softNotification->Id() ); - CleanupStack::PopAndDestroy( softNotification ); - CleanupStack::PopAndDestroy( internalFile ); - - FLOG("[bgchecker] RemoveExistingSoftNotificationL() end"); - return; - } - //EOF