--- a/wlanutilities/wlansniffer/mainapplication/src/wsfappui.cpp Tue May 11 17:14:21 2010 +0300
+++ b/wlanutilities/wlansniffer/mainapplication/src/wsfappui.cpp Tue May 25 13:53:32 2010 +0300
@@ -247,7 +247,7 @@
// ---------------------------------------------------------------------------
-// CWsfAppUi::HandleCommandL
+// CWsfAppUi::HandleForegroundEventL
// ---------------------------------------------------------------------------
//
void CWsfAppUi::HandleForegroundEventL( TBool aForeground )
@@ -256,6 +256,17 @@
//Application switched to foreground.
if ( aForeground )
{
+ CWsfMainView* mainView = static_cast<CWsfMainView*>(
+ View( TUid::Uid( EMainViewId ) ) );
+ if ( mainView )
+ {
+ TRAPD( err, mainView->UpdateBrowserUsageInfoL() );
+ if ( err )
+ {
+ LOG_WRITEF( "Browser iap usage update failed - err=%d", err );
+ }
+ }
+
if ( iObserver )
{
iObserver->AppSwitchedForegroundL();