bearermanagement/mpm/src/mpmconnmonevents.cpp
branchRCL_3
changeset 57 05bc53fe583b
parent 36 04408506c6e0
child 58 83ca720e2b9a
--- a/bearermanagement/mpm/src/mpmconnmonevents.cpp	Thu Aug 19 10:18:49 2010 +0300
+++ b/bearermanagement/mpm/src/mpmconnmonevents.cpp	Tue Aug 31 15:35:44 2010 +0300
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). 
+* Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). 
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of "Eclipse Public License v1.0"
@@ -51,7 +51,8 @@
 // 
 CMPMConnMonEvents::CMPMConnMonEvents( CMPMServer& aServer )
     : iMyServer( aServer ),
-      iDiscardAvailabilityNotification( EFalse )
+      iDiscardAvailabilityNotification( EFalse ),
+      iAvailabilityNotificationDiscarded( EFalse )
     {
     }
 
@@ -466,6 +467,7 @@
     if ( ( iAvailableIAPs.Count() > 0 ) && 
          !DiscardAvailabilityNotification() )
         {
+        iAvailabilityNotificationDiscarded = EFalse;
         // Remove temporary blacklistings as fresh availability 
         // info is available.
         // 
@@ -479,6 +481,7 @@
         }
     else
         {
+        iAvailabilityNotificationDiscarded = ETrue;
         MPMLOGSTRING2( "CMPMConnMonEvents::EventL - IAPs count: %d", 
             iAvailableIAPs.Count() )
         MPMLOGSTRING2( 
@@ -535,13 +538,6 @@
             iAvailableIAPs = eventIap->IapAvailability();
             UpdateIAPRefreshTime();
             IapAvailabilityChange( EConnMonEvent );
-            
-            TRAPD( err, iMyServer.UpdateSessionConnectionDlgL() )
-            if( err != KErrNone )
-                {
-                MPMLOGSTRING2( "CMPMConnMonEvents::EventL UpdateSessionConnectionDlgL \
-error code %d", err )
-                }
             break;
             }
         default: